next.js/test/e2e/app-dir/app-inline-css/app/layout.tsx
layout.tsx27 lines574 B
import Link from 'next/link'
import './global.css'
import { font } from './font'

export default function RootLayout({ children }) {
  return (
    <html className={font.variable}>
      <body>
        <nav>
          <Link href="/" prefetch={false}>
            Home
          </Link>
          {' | '}
          <Link href="/a" id="link-a" prefetch={false}>
            Page A
          </Link>
          {' | '}
          <Link href="/b" id="link-b" prefetch={false}>
            Page B
          </Link>
        </nav>
        {children}
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN