feat: add header menu and search components with menu data for news page

This commit is contained in:
Ardeman
2025-02-01 01:19:01 +08:00
parent d2534bd94e
commit 89da497cc9
4 changed files with 66 additions and 0 deletions
+2
View File
@@ -1,5 +1,6 @@
import React, { type FC, type PropsWithChildren } from 'react'
import { HeaderMenu } from './header-menu'
import { HeaderTop } from './header-top'
export const NewsPage: FC<PropsWithChildren> = ({ children }) => {
@@ -7,6 +8,7 @@ export const NewsPage: FC<PropsWithChildren> = ({ children }) => {
<main className="min-h-dvh bg-[#ECECEC]">
<header>
<HeaderTop />
<HeaderMenu />
</header>
{children}
</main>