Skip to content

Commit 51cefdd

Browse files
committed
chore: added vercel analytics and simplified navigation style
1 parent 6d8dc28 commit 51cefdd

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

package-lock.json

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@radix-ui/react-slot": "^1.2.3",
1919
"@tailwindcss/postcss": "^4.1.13",
2020
"@uidotdev/usehooks": "^2.4.1",
21+
"@vercel/analytics": "^1.5.0",
2122
"class-variance-authority": "^0.7.1",
2223
"clsx": "^2.1.1",
2324
"german-words": "^5.4.0",

src/app/layout.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { Metadata } from 'next'
22
import './globals.css'
33
import Link from 'next/link'
4+
import { Analytics } from '@vercel/analytics/next'
45

56
export const metadata: Metadata = {
67
title: 'Wörtilizer',
@@ -23,14 +24,14 @@ export default function RootLayout({
2324
<Link href="/">Wörtilizer</Link>
2425
</h1>
2526
<p>Zaps your German vocab into shape ⚡🇩🇪</p>
26-
<nav>
27+
<nav className="flex gap-2">
2728
<Link
2829
href="/"
2930
className="text-blue-600 hover:text-blue-800 underline font-medium transition-colors"
3031
>
3132
Home
32-
</Link>{' '}
33-
|{' '}
33+
</Link>
34+
<span>|</span>
3435
<Link
3536
href="/quiz"
3637
className="text-blue-600 hover:text-blue-800 underline font-medium transition-colors"
@@ -48,6 +49,7 @@ export default function RootLayout({
4849
View on GitHub
4950
</a>
5051
</footer>
52+
<Analytics />
5153
</body>
5254
</html>
5355
)

0 commit comments

Comments
 (0)