feat: add footer with attribution and source link
- Create Footer component with author info and repo link - Add footer to root layout (appears on all pages) - Include dedication to Lilly & Diego 🐈 🐈⬛
This commit is contained in:
@@ -14,6 +14,7 @@ const geistMono = Geist_Mono({
|
||||
});
|
||||
|
||||
import { getDictionary } from "@/get-dictionary";
|
||||
import { Footer } from "@/components/footer";
|
||||
|
||||
export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }): Promise<Metadata> {
|
||||
const { lang } = await params;
|
||||
@@ -41,9 +42,10 @@ export default async function RootLayout({
|
||||
return (
|
||||
<html lang={lang}>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased flex flex-col min-h-screen`}
|
||||
>
|
||||
{children}
|
||||
<Footer />
|
||||
<Toaster />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user