import { Analytics } from "@vercel/analytics/react"; import { SpeedInsights } from "@vercel/speed-insights/next"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import Image from "next/image"; import Link from "next/link"; import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "Studying Next.js...", description: "Generated by create next app", }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return (
Home
By{" "} Vercel Logo
{children}
{linkItemProp.map((linkItem, i) => (

{linkItem.title}{" "} ->

{linkItem.sub}

))}
); } const linkItemProp = [ { href: "https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", title: "Docs", sub: "Find in-depth information about Next.js features and API.", }, { href: "https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app", title: "Learn", sub: "Learn about Next.js in an interactive course with quizzes!", }, { href: "https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", title: "Templates", sub: "Explore starter templates for Next.js.", }, { href: "https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", title: "Deploy", sub: "Instantly deploy your Next.js site to a shareable URL with Vercel.", }, ];