feat: add Navbar, Footer, and LanguageSwitcher layout components

Install framer-motion and create shared layout components with i18n
support. Update locale layout to include fixed navbar, flex-col body,
and footer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
consultoria-as
2026-02-22 03:58:03 +00:00
parent bd222376bd
commit dfda08085b
6 changed files with 96 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ import { NextIntlClientProvider } from "next-intl";
import { getMessages } from "next-intl/server";
import { notFound } from "next/navigation";
import { routing } from "@/i18n/routing";
import { Navbar } from "@/components/layout/Navbar";
import { Footer } from "@/components/layout/Footer";
import "./globals.css";
export const metadata: Metadata = {
@@ -25,9 +27,11 @@ export default async function LocaleLayout({
return (
<html lang={locale}>
<body>
<body className="bg-gray-950 text-white min-h-screen flex flex-col">
<NextIntlClientProvider messages={messages}>
{children}
<Navbar />
<main className="flex-1 pt-16">{children}</main>
<Footer />
</NextIntlClientProvider>
</body>
</html>