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": {
"@formkit/auto-animate": "^0.9.0",
"@tailwindcss/vite": "^4.1.16",
"@vercel/speed-insights": "^1.2.0",
"@tailwindcss/vite": "^4.1.17",
"@vercel/analytics": "^1.5.0",
"@vueuse/motion": "^3.0.3",
"axios": "^1.13.2",
"pinia": "^3.0.4",
"tailwindcss": "^4.1.16",
"vue": "^3.5.22",
"tailwindcss": "^4.1.17",
"vue": "^3.5.24",
"vue-router": "^4.6.3"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.2",
"@types/node": "^24.10.0",
"@tsconfig/node22": "^22.0.3",
"@types/node": "^24.10.1",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/tsconfig": "^0.8.1",
"daisyui": "^5.4.5",
"daisyui": "^5.5.3",
"eslint": "^9.39.1",
"eslint-plugin-vue": "~10.5.1",
"jiti": "^2.6.1",
"npm-run-all2": "^8.0.4",
"prettier": "3.6.2",
"typescript": "~5.9.3",
"vite": "^7.2.0",
"vite": "^7.2.2",
"vite-bundle-analyzer": "^1.2.3",
"vite-plugin-vue-devtools": "^8.0.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">
import '@/style.css'
import NavBar from './components/NavBar.vue'
import { SpeedInsights } from '@vercel/speed-insights/vue'
import { Analytics } from '@vercel/analytics/vue';
</script>
<template>
<SpeedInsights />
<Analytics />
<NavBar v-if="$route.name !== 'watch'" />
<RouterView />

View File

@@ -35,7 +35,7 @@
<!-- Logo -->
<RouterLink
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
</RouterLink>
@@ -54,7 +54,7 @@
<div class="navbar-end">
<RouterLink
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
</RouterLink>

View File

@@ -150,7 +150,7 @@ watch(filters, () => {
<!-- Empty state -->
<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"
>
Search for a movie or TV Serie to add it to your list