File size: 882 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export const dynamic = 'force-dynamic'

import Link from 'next/link'

export default function Layout({ children }: { children: React.ReactNode }) {
  return (
    <>
      <nav className="bg-gray-800">
        <ul className="flex">
          <li className="mr-6">
            <Link href="/prefetch-auto-route-groups">
              <p className="text-white hover:text-gray-300">Dashboard</p>
            </Link>
          </li>
          <li className="mr-6">
            <Link href="/prefetch-auto-route-groups/sub/foo">
              <p className="text-white hover:text-gray-300">Foo</p>
            </Link>
          </li>
          <li className="mr-6">
            <Link href="/prefetch-auto-route-groups/sub/bar">
              <p className="text-white hover:text-gray-300">Bar</p>
            </Link>
          </li>
        </ul>
      </nav>
      {children}
    </>
  )
}