Added Vercel analytics and removed Vercel Speed Insights

This commit is contained in:
2025-11-14 21:17:45 +03:30
parent eb9dff9f15
commit d0598f09ec
5 changed files with 456 additions and 453 deletions
+2 -2
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 />
+2 -2
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>
+1 -1
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