Added Vercel analytics and removed Vercel Speed Insights

This commit is contained in:
2025-11-14 21:13:36 +03:30
parent eb9dff9f15
commit d0598f09ec
5 changed files with 456 additions and 453 deletions

View File

@@ -18,30 +18,30 @@
}, },
"dependencies": { "dependencies": {
"@formkit/auto-animate": "^0.9.0", "@formkit/auto-animate": "^0.9.0",
"@tailwindcss/vite": "^4.1.16", "@tailwindcss/vite": "^4.1.17",
"@vercel/speed-insights": "^1.2.0", "@vercel/analytics": "^1.5.0",
"@vueuse/motion": "^3.0.3", "@vueuse/motion": "^3.0.3",
"axios": "^1.13.2", "axios": "^1.13.2",
"pinia": "^3.0.4", "pinia": "^3.0.4",
"tailwindcss": "^4.1.16", "tailwindcss": "^4.1.17",
"vue": "^3.5.22", "vue": "^3.5.24",
"vue-router": "^4.6.3" "vue-router": "^4.6.3"
}, },
"devDependencies": { "devDependencies": {
"@tsconfig/node22": "^22.0.2", "@tsconfig/node22": "^22.0.3",
"@types/node": "^24.10.0", "@types/node": "^24.10.1",
"@vitejs/plugin-vue": "^6.0.1", "@vitejs/plugin-vue": "^6.0.1",
"@vue/eslint-config-prettier": "^10.2.0", "@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0", "@vue/eslint-config-typescript": "^14.6.0",
"@vue/tsconfig": "^0.8.1", "@vue/tsconfig": "^0.8.1",
"daisyui": "^5.4.5", "daisyui": "^5.5.3",
"eslint": "^9.39.1", "eslint": "^9.39.1",
"eslint-plugin-vue": "~10.5.1", "eslint-plugin-vue": "~10.5.1",
"jiti": "^2.6.1", "jiti": "^2.6.1",
"npm-run-all2": "^8.0.4", "npm-run-all2": "^8.0.4",
"prettier": "3.6.2", "prettier": "3.6.2",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vite": "^7.2.0", "vite": "^7.2.2",
"vite-bundle-analyzer": "^1.2.3", "vite-bundle-analyzer": "^1.2.3",
"vite-plugin-vue-devtools": "^8.0.3", "vite-plugin-vue-devtools": "^8.0.3",
"vue-tsc": "^3.1.3" "vue-tsc": "^3.1.3"

883
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
<script setup lang="ts"> <script setup lang="ts">
import '@/style.css' import '@/style.css'
import NavBar from './components/NavBar.vue' import NavBar from './components/NavBar.vue'
import { SpeedInsights } from '@vercel/speed-insights/vue' import { Analytics } from '@vercel/analytics/vue';
</script> </script>
<template> <template>
<SpeedInsights /> <Analytics />
<NavBar v-if="$route.name !== 'watch'" /> <NavBar v-if="$route.name !== 'watch'" />
<RouterView /> <RouterView />

View File

@@ -35,7 +35,7 @@
<!-- Logo --> <!-- Logo -->
<RouterLink <RouterLink
to="/" to="/"
class="text-2xl font-extrabold tracking-tight bg-gradient-to-r from-base-content/70 via-primary to-base-content/70 bg-clip-text text-transparent" class="text-2xl font-extrabold tracking-tight bg-linear-to-r from-base-content/70 via-primary to-base-content/70 bg-clip-text text-transparent"
> >
TBW TBW
</RouterLink> </RouterLink>
@@ -54,7 +54,7 @@
<div class="navbar-end"> <div class="navbar-end">
<RouterLink <RouterLink
to="/list" to="/list"
class="btn px-5 bg-gradient-to-r from-base-300 to-base-200 border border-base-content/30 text-base-content hover:from-base-200 hover:to-base-100 hover:text-base-content/90 transition" class="btn px-5 bg-linear-to-r from-base-300 to-base-200 border border-base-content/30 text-base-content hover:from-base-200 hover:to-base-100 hover:text-base-content/90 transition"
> >
Go to Library Go to Library
</RouterLink> </RouterLink>

View File

@@ -150,7 +150,7 @@ watch(filters, () => {
<!-- Empty state --> <!-- Empty state -->
<p <p
v-else v-else-if="!seachError"
class="text-center text-base-content/60 mt-16 bg-base-300/60 border border-base-content/20 rounded-lg py-12" class="text-center text-base-content/60 mt-16 bg-base-300/60 border border-base-content/20 rounded-lg py-12"
> >
Search for a movie or TV Serie to add it to your list Search for a movie or TV Serie to add it to your list