init
This commit is contained in:
31
cansat/layouts/default.tsx
Normal file
31
cansat/layouts/default.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
import { Link } from "@heroui/link";
|
||||
|
||||
import { Head } from "./head";
|
||||
|
||||
import { Navbar } from "@/components/navbar";
|
||||
|
||||
export default function DefaultLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<div className="relative flex flex-col h-screen">
|
||||
<Head />
|
||||
<Navbar />
|
||||
<main className="container mx-auto max-w-7xl px-6 flex-grow pt-16">
|
||||
{children}
|
||||
</main>
|
||||
<footer className="w-full flex items-center justify-center py-3">
|
||||
<Link
|
||||
isExternal
|
||||
className="flex items-center gap-1 text-current"
|
||||
href="https://www.heroui.com"
|
||||
title="heroui.com homepage"
|
||||
>
|
||||
<span className="text-default-600">© 2024 Adlerka Space Program</span>
|
||||
</Link>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user