feat(layout): replace Banner component with Header component

This commit is contained in:
cfngc4594 2025-02-26 21:54:54 +08:00
parent 89dfc9a1c8
commit 46da804f14

View File

@ -1,4 +1,4 @@
import { Banner } from "@/components/banner";
import { Header } from "@/components/header";
interface AppLayoutProps {
children: React.ReactNode;
@ -7,7 +7,7 @@ interface AppLayoutProps {
export default function AppLayout({ children }: AppLayoutProps) {
return (
<div className="h-full flex flex-col">
<Banner />
<Header />
<main className="flex-1">
{children}
</main>