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:
13
apps/web/src/components/layout/Footer.tsx
Normal file
13
apps/web/src/components/layout/Footer.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { useTranslations } from "next-intl";
|
||||
|
||||
export function Footer() {
|
||||
const t = useTranslations("footer");
|
||||
|
||||
return (
|
||||
<footer className="bg-black border-t border-white/10 py-8">
|
||||
<div className="max-w-7xl mx-auto px-4 text-center">
|
||||
<p className="text-sm text-gray-500">{t("rights")}</p>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user