feat: refactor news components and add news detail layout

This commit is contained in:
Ardeman
2025-02-20 07:01:36 +08:00
parent f17627bdf2
commit e73949295d
12 changed files with 179 additions and 209 deletions
+17
View File
@@ -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>
)
}