mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(layout): replace Banner component with Header component
This commit is contained in:
parent
89dfc9a1c8
commit
46da804f14
@ -1,4 +1,4 @@
|
|||||||
import { Banner } from "@/components/banner";
|
import { Header } from "@/components/header";
|
||||||
|
|
||||||
interface AppLayoutProps {
|
interface AppLayoutProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
@ -7,7 +7,7 @@ interface AppLayoutProps {
|
|||||||
export default function AppLayout({ children }: AppLayoutProps) {
|
export default function AppLayout({ children }: AppLayoutProps) {
|
||||||
return (
|
return (
|
||||||
<div className="h-full flex flex-col">
|
<div className="h-full flex flex-col">
|
||||||
<Banner />
|
<Header />
|
||||||
<main className="flex-1">
|
<main className="flex-1">
|
||||||
{children}
|
{children}
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user