Privacy.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div class="min-h-screen bg-background text-foreground pt-32 pb-24">
  3. <div class="container mx-auto px-4 max-w-3xl">
  4. <h1 class="font-display text-4xl md:text-5xl font-extrabold tracking-tight mb-6">
  5. {{ t("privacy.title") }}
  6. </h1>
  7. <p class="text-xl text-foreground/60 font-medium mb-16">
  8. {{ t("privacy.subtitle") }}
  9. </p>
  10. <div class="space-y-12">
  11. <section v-for="section in sections" :key="section" class="space-y-4">
  12. <h2 class="font-display text-2xl font-bold tracking-tight text-foreground">
  13. {{ t(`privacy.sections.${section}.title`) }}
  14. </h2>
  15. <p class="text-foreground/70 leading-relaxed font-medium">
  16. {{ t(`privacy.sections.${section}.content`) }}
  17. </p>
  18. </section>
  19. </div>
  20. <!-- Back to Home -->
  21. <div class="mt-16 pt-8 border-t border-black/[0.1]">
  22. <router-link to="/" class="inline-flex items-center gap-2 text-sm font-bold text-foreground hover:text-primary transition-colors">
  23. &larr; {{ t("auth.back") }}
  24. </router-link>
  25. </div>
  26. </div>
  27. </div>
  28. </template>
  29. <script setup lang="ts">
  30. import { useI18n } from "vue-i18n";
  31. const { t } = useI18n();
  32. const sections = ["collection", "sharing", "retention", "rights"];
  33. </script>