Skip to content

Commit 435715c

Browse files
committed
feat(footer): add privacy policy link
1 parent 4664e6f commit 435715c

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

src/components/Footer.tsx

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,44 @@ const Footer = ({ lang, t }: FooterProps) => {
1616
<div className="flex flex-col md:flex-row items-center justify-between gap-6">
1717
{/* Logo */}
1818
<Link to={`/${lang}`} className="flex items-center gap-3">
19-
<img src={logo} alt="WorkoutLogs" className="w-8 h-8" />
19+
<img
20+
src={logo}
21+
alt="WorkoutLogs"
22+
className="aspect-ratio-[2/1] h-5"
23+
/>
2024
<span className="text-lg font-bold text-foreground">
2125
Workout<span className="text-primary">Logs</span>
2226
</span>
2327
</Link>
2428

2529
{/* Links */}
2630
<nav className="flex items-center gap-6 text-sm">
27-
<a
28-
href="#funcionalidades"
31+
<a
32+
href="#funcionalidades"
2933
className="text-muted-foreground hover:text-foreground transition-colors"
3034
>
3135
{t.header.features}
3236
</a>
33-
<a
34-
href="#beneficios"
37+
<a
38+
href="#beneficios"
3539
className="text-muted-foreground hover:text-foreground transition-colors"
3640
>
3741
{t.header.benefits}
3842
</a>
39-
<a
40-
href="https://play.google.com/store/apps/details?id=com.workoutlogs"
41-
target="_blank"
43+
<a
44+
href="https://play.google.com/store/apps/details?id=com.workoutlogs"
45+
target="_blank"
4246
rel="noopener noreferrer"
4347
className="text-muted-foreground hover:text-foreground transition-colors"
4448
>
4549
Google Play
4650
</a>
51+
<a
52+
href="/privacy-policy"
53+
className="text-muted-foreground hover:text-foreground transition-colors"
54+
>
55+
{t.header.privacy}
56+
</a>
4757
</nav>
4858

4959
{/* Copyright */}

src/i18n/translations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export const translations = {
55
features: "Funcionalidades",
66
benefits: "Benefícios",
77
downloadApp: "Baixar App",
8+
privacy: "Política de Privacidade",
89
},
910
// Hero
1011
hero: {
@@ -115,6 +116,7 @@ export const translations = {
115116
features: "Features",
116117
benefits: "Benefits",
117118
downloadApp: "Download App",
119+
privacy: "Privacy Policy",
118120
},
119121
// Hero
120122
hero: {

0 commit comments

Comments
 (0)