import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import type { Viewport } from 'next' import Link from "next/link"; import Image from "next/image"; export const viewport: Viewport = { width: 'device-width', initialScale: 1.0 } const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { title: "Learn Languages", description: "A Website to Learn Languages", }; function MyLink( { href, label }: { href: string, label: string } ) { return ( {label} ) } function Navbar() { return (
logo 学语言
); } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( {children} ); }