Skip to content

Commit 0eba4a7

Browse files
authored
Merge pull request #66 from Nagell:dev
Remove robots meta tag and integrate Vercel Speed Insights
2 parents 7a185df + 1f2fa2a commit 0eba4a7

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

layouts/default.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<template>
22
<div class="min-h-screen flex flex-col">
3+
<SpeedInsights />
34
<LayoutAppHeader />
45
<main class="flex-grow">
56
<slot />
67
</main>
78
<LayoutAppFooter />
89
</div>
910
</template>
11+
<script setup lang="ts">
12+
import { SpeedInsights } from '@vercel/speed-insights/nuxt'
13+
</script>

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default defineNuxtConfig({
4242
exclude: [
4343
'/__tests__/**',
4444
'/admin/**',
45+
'/login',
4546
],
4647
},
4748
shadcn: {

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@nuxtjs/supabase": "^1.5.2",
3131
"@tanstack/vue-table": "^8.20.5",
3232
"@vee-validate/zod": "^4.15.1",
33+
"@vercel/speed-insights": "^1.2.0",
3334
"@vueuse/core": "^13.3.0",
3435
"class-variance-authority": "^0.7.0",
3536
"clsx": "^2.1.1",
@@ -73,8 +74,8 @@
7374
"supabase": "^2.24.3",
7475
"supazod": "^2.0.0",
7576
"tailwindcss-animate": "^1.0.7",
76-
"typescript": "~5.8.3",
77+
"typescript": "5.9.2",
7778
"vitest": "3.2.4"
7879
},
7980
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
80-
}
81+
}

pages/legal-notice.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@
3939
useSeoMeta({
4040
title: title,
4141
description: description,
42-
robots: 'noindex, nofollow',
4342
})
4443
</script>

pages/privacy-policy.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@
188188
useSeoMeta({
189189
title: title,
190190
description: description,
191-
robots: 'noindex, nofollow',
192191
})
193192
194193
const { $const } = useNuxtApp()

yarn.lock

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2841,6 +2841,11 @@
28412841
picomatch "^4.0.2"
28422842
resolve-from "^5.0.0"
28432843

2844+
"@vercel/speed-insights@^1.2.0":
2845+
version "1.2.0"
2846+
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.2.0.tgz#1656c3596d4ec02d93d301ca45944c1b9b245186"
2847+
integrity sha512-y9GVzrUJ2xmgtQlzFP2KhVRoCglwfRQgjyfY607aU0hh0Un6d0OUyrJkjuAlsV18qR4zfoFPs/BiIj9YDS6Wzw==
2848+
28442849
"@vitejs/plugin-vue-jsx@^4.2.0":
28452850
version "4.2.0"
28462851
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-4.2.0.tgz#2738ec05d4705ed553a107342017192e37351640"
@@ -10758,7 +10763,12 @@ [email protected]:
1075810763
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
1075910764
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
1076010765

10761-
typescript@^5.2.2, typescript@^5.7.3, typescript@~5.8.3:
10766+
10767+
version "5.9.2"
10768+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.2.tgz#d93450cddec5154a2d5cabe3b8102b83316fb2a6"
10769+
integrity sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==
10770+
10771+
typescript@^5.2.2, typescript@^5.7.3:
1076210772
version "5.8.3"
1076310773
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e"
1076410774
integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==

0 commit comments

Comments
 (0)