Added 'Terms of Service' and 'Privacy policy' pages
All checks were successful
Production Build and Deploy / Build (push) Successful in 1m9s
Production Build and Deploy / Deploy (push) Successful in 28s

This commit is contained in:
Liviu Burcusel 2026-01-15 15:53:35 +01:00
parent 0add58254d
commit 176665d7d4
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
14 changed files with 98 additions and 24 deletions

View file

@ -8,12 +8,8 @@ import { SidebarInset, SidebarProvider, SidebarTrigger } from "~/components/ui/s
import { Separator } from "~/components/ui/separator";
import { useRuntimeConfig } from "#app";
const currentYear = new Date().getFullYear();
const config = useRuntimeConfig();
const authStore = useAuthStore();
await authStore.init();
</script>
@ -31,12 +27,8 @@ await authStore.init();
<slot />
</main>
<footer class="flex h-12 shrink-0 items-center gap-2 border-b px-4" data-testid="footer">
<div v-if="currentYear === 2025" class="bg-muted/50 flex-1 rounded-xl p-2 text-center">
Glowing Fiesta 2025 <span class="text-muted-foreground">({{ config.public.appVersion }})</span>
</div>
<div v-else class="bg-muted/50 flex-1 rounded-xl p-2 text-center">
Glowing Fiesta 2025 - {{ currentYear }} <span class="text-muted-foreground">({{ config.public.appVersion }})</span>
</div>
<div v-if="currentYear === 2025" class="bg-muted/50 flex-1 rounded-xl p-2 text-center">Glowing Fiesta 2025</div>
<div v-else class="bg-muted/50 flex-1 rounded-xl p-2 text-center">Glowing Fiesta 2025 - {{ currentYear }}</div>
</footer>
</SidebarInset>
</SidebarProvider>