cloudflare/vinext
Publicmirrored from https://github.com/cloudflare/vinextAvailable
examples/benchmarks/app/layout.tsx
40lines · modecode
| 1 | import "./styles.css"; |
| 2 | |
| 3 | export default function RootLayout({ children }: { children: React.ReactNode }) { |
| 4 | return ( |
| 5 | <html lang="en"> |
| 6 | <head> |
| 7 | <meta charSet="utf-8" /> |
| 8 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 9 | <title>vinext Benchmarks</title> |
| 10 | <meta |
| 11 | name="description" |
| 12 | content="Performance benchmarks for vinext vs Next.js, tracked over time." |
| 13 | /> |
| 14 | </head> |
| 15 | <body className="min-h-screen bg-gray-50 text-gray-900"> |
| 16 | <header className="border-b border-gray-200 bg-white"> |
| 17 | <div className="mx-auto flex max-w-6xl items-center justify-between px-6 py-4"> |
| 18 | <a href="/" className="text-lg font-semibold tracking-tight"> |
| 19 | vinext benchmarks |
| 20 | </a> |
| 21 | <nav className="flex gap-4 text-sm text-gray-500"> |
| 22 | <a href="/" className="hover:text-gray-900"> |
| 23 | Dashboard |
| 24 | </a> |
| 25 | <a |
| 26 | href="https://github.com/cloudflare/vinext" |
| 27 | className="hover:text-gray-900" |
| 28 | target="_blank" |
| 29 | rel="noopener noreferrer" |
| 30 | > |
| 31 | GitHub |
| 32 | </a> |
| 33 | </nav> |
| 34 | </div> |
| 35 | </header> |
| 36 | <main className="mx-auto max-w-6xl px-6 py-8">{children}</main> |
| 37 | </body> |
| 38 | </html> |
| 39 | ); |
| 40 | } |
| 41 | |