layout.tsx (1176B)
1 import type { Metadata } from "next"; 2 import { Geist, Geist_Mono } from "next/font/google"; 3 import "./globals.css"; 4 5 const geistSans = Geist({ 6 variable: "--font-geist-sans", 7 subsets: ["latin"], 8 }); 9 10 const geistMono = Geist_Mono({ 11 variable: "--font-geist-mono", 12 subsets: ["latin"], 13 }); 14 15 export const metadata: Metadata = { 16 title: "Tasks - massi world", 17 description: "a list of tasks to do", 18 }; 19 20 export default function RootLayout({ 21 children, 22 }: Readonly<{ 23 children: React.ReactNode; 24 }>) { 25 return ( 26 <html lang="en"> 27 <body 28 className={`${geistSans.variable} ${geistMono.variable} antialiased`} 29 > 30 {children} 31 <footer className=" p-3 center text-sm font-mono text-center"> 32 <span className="opacity-60">made by</span> 33 <a 34 className="text-blue-400 hover:underline" 35 href="https://massi.world" 36 target="_blank" 37 referrerPolicy="no-referrer" 38 > 39 <img 40 className="inline-block w-[16px] h-[16px] mx-1" 41 src="/favicon.ico" 42 /> 43 massi 44 </a> 45 </footer> 46 </body> 47 </html> 48 ); 49 }