feat: refactor news components and add news detail layout
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Card } from '~/components/ui/card'
|
||||
|
||||
import { CONTENT } from './data'
|
||||
|
||||
export const NewsDetailPage = () => {
|
||||
const { title } = CONTENT
|
||||
return (
|
||||
<div className="relative">
|
||||
<Card>
|
||||
<h2 className="text-2xl font-extrabold text-[#2E2F7C] sm:text-4xl">
|
||||
{title}
|
||||
</h2>
|
||||
News Detail
|
||||
</Card>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user