File size: 1,499 Bytes
7e5cb25
 
 
97826e4
7e5cb25
 
 
 
 
 
 
 
 
97826e4
 
 
 
 
 
 
 
 
 
7e5cb25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a95484e
7e5cb25
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import Link from "next/link"
import "@/styles/globals.css"
import { Suspense } from "react"
import PlausibleProvider from "next-plausible"

export const metadata = {
  title: "LLMonitor Benchmarks",
  description: "Benchmarks and scoring of LLMs",
}

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <head>
        <PlausibleProvider
          domain="benchmarks.llmonitor.com"
          scriptProps={{
            src: "https://llmonitor.com/p/js/script.js",
            "data-api": "https://llmonitor.com/p/event",
          }}
          customDomain="benchmarks.llmonitor.com"
        />
      </head>
      <body>
        <main>
          <h1>LLMonitor Benchmarks</h1>

          <p style={{ margin: "16px 0" }}>
            <Link href="/">leaderboard</Link>
            {" | "}
            <Link href="/prompts">dataset</Link>
            {" | "}
            <Link href="/compare">compare</Link>
            {" | "}
            <Link href="/about">about</Link>
          </p>
          <br />

          <Suspense fallback={<p>Loading...</p>}>{children}</Suspense>
        </main>
        <footer>
          <br />
          <p>
            Credit:{" "}
            <a href="https://twitter.com/vincelwt" target="_blank">
              @vincelwt
            </a>{" "}
            /{" "}
            <a href="https://llmonitor.com" target="_blank">
              llmonitor
            </a>
          </p>
        </footer>
      </body>
    </html>
  )
}