feat: add SiteFooter component and integrate it into RootLayout
Some checks failed
Push to github container register / push-docker (push) Has been cancelled

This commit is contained in:
2026-04-06 03:41:17 +00:00
parent fe02b86b1b
commit 8624d2c805
3 changed files with 19 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ import { Geist, Geist_Mono, Inter } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import { SiteHeader } from "@/components/site-header";
import { SiteFooter } from "@/components/site-footer";
const inter = Inter({subsets:['latin'],variable:'--font-sans'});
@@ -34,6 +35,7 @@ export default function RootLayout({
<body className="min-h-full flex flex-col">
<SiteHeader />
{children}
<SiteFooter />
</body>
</html>
);

View File

@@ -107,19 +107,6 @@ export default function Home() {
</ol>
</section>
</main>
<footer className="border-t bg-card/60">
<div className="mx-auto flex w-full max-w-6xl items-center justify-center px-4 py-4 text-center text-xs text-muted-foreground sm:px-8 sm:text-sm">
:
<a
href="https://neody.land/ja"
target="_blank"
rel="noopener noreferrer"
className="ml-1 font-medium text-foreground underline underline-offset-4 hover:text-primary"
>
Neodyland
</a>
</div>
</footer>
</div>
);
}

View File

@@ -0,0 +1,17 @@
export function SiteFooter() {
return (
<footer className="border-t bg-card/60">
<div className="mx-auto flex w-full max-w-6xl items-center justify-center px-4 py-4 text-center text-xs text-muted-foreground sm:px-8 sm:text-sm">
:
<a
href="https://neody.land/ja"
target="_blank"
rel="noopener noreferrer"
className="ml-1 font-medium text-foreground underline underline-offset-4 hover:text-primary"
>
Neodyland
</a>
</div>
</footer>
);
}