[dyad] Applying translations to the entire app - wrote 8 file(s)

This commit is contained in:
[dyad]
2026-01-18 15:52:46 +01:00
parent cad0921161
commit 2918d92a95
8 changed files with 358 additions and 100 deletions

View File

@@ -1,46 +1,51 @@
"use client";
import Link from "next/link";
import { Button } from "@/components/ui/button";
import { ArrowLeft } from "lucide-react";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { useTranslation } from "@/context/i18n-context";
export default function PrivacyPage() {
const { t } = useTranslation();
return (
<div className="relative flex flex-col items-center min-h-screen p-4 sm:p-8 bg-gray-50 dark:bg-background">
<div className="w-full max-w-4xl mx-auto">
<Button asChild variant="ghost" className="mb-4 -ml-4">
<Link href="/">
<ArrowLeft className="mr-2 h-4 w-4" />
Back to Converter
{t('privacyPage.back')}
</Link>
</Button>
<main className="w-full">
<Card>
<CardHeader>
<CardTitle className="text-3xl font-bold">Data Privacy Policy</CardTitle>
<CardTitle className="text-3xl font-bold">{t('privacyPage.title')}</CardTitle>
</CardHeader>
<CardContent className="space-y-6 text-muted-foreground">
<div className="space-y-2">
<h3 className="font-semibold text-foreground">1. General Information</h3>
<h3 className="font-semibold text-foreground">{t('privacyPage.general')}</h3>
<p>
This is a placeholder for your data privacy policy. It outlines how personal data is collected, used, and protected when you use this website.
{t('privacyPage.generalText')}
</p>
</div>
<div className="space-y-2">
<h3 className="font-semibold text-foreground">2. Data Collection on This Website</h3>
<h3 className="font-semibold text-foreground">{t('privacyPage.collection')}</h3>
<p>
All image processing happens directly in your browser. The images you upload are not sent to any server and are not stored by us. We do not collect any personal data from the images.
{t('privacyPage.collectionText')}
</p>
</div>
<div className="space-y-2">
<h3 className="font-semibold text-foreground">3. Your Rights</h3>
<h3 className="font-semibold text-foreground">{t('privacyPage.rights')}</h3>
<p>
As no personal data is collected, rights regarding access, rectification, or erasure of personal data are not applicable in this context.
{t('privacyPage.rightsText')}
</p>
</div>
<div className="pt-4 border-t">
<h3 className="font-semibold text-foreground">Disclaimer:</h3>
<h3 className="font-semibold text-foreground">{t('privacyPage.disclaimer')}</h3>
<p className="text-sm">
This is a sample privacy policy and not legally binding. It is crucial to adapt this text to your specific data processing activities and to consult with a legal professional to ensure full GDPR compliance.
{t('privacyPage.disclaimerText')}
</p>
</div>
</CardContent>