@@ -5,10 +5,9 @@ import logo from "@/assets/logo.png";
55interface HeroSectionProps {
66 t : Translations ;
77}
8- const HeroSection = ( {
9- t
10- } : HeroSectionProps ) => {
11- return < section className = "relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-hero pt-16 pb-24" >
8+ const HeroSection = ( { t } : HeroSectionProps ) => {
9+ return (
10+ < section className = "relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-hero pt-16 pb-24" >
1211 { /* Background Effects */ }
1312 < div className = "absolute inset-0 overflow-hidden" >
1413 < div className = "absolute top-1/4 left-1/4 w-96 h-96 bg-primary/10 rounded-full blur-3xl" />
@@ -27,7 +26,11 @@ const HeroSection = ({
2726
2827 { /* Logo Animation */ }
2928 < div className = "mb-8 animate-fade-in-up animation-delay-100" >
30- < img src = { logo } alt = "WorkoutLogs" className = "h-24 mx-auto animate-float aspect-ratio-[2/1]" />
29+ < img
30+ src = { logo }
31+ alt = "WorkoutLogs"
32+ className = "h-24 mx-auto animate-float aspect-ratio-[2/1]"
33+ />
3134 </ div >
3235
3336 { /* Headline */ }
@@ -44,31 +47,46 @@ const HeroSection = ({
4447 { /* CTA Buttons */ }
4548 < div className = "flex flex-col sm:flex-row items-center justify-center gap-4 animate-fade-in-up animation-delay-400" >
4649 < Button variant = "hero" size = "xl" asChild >
47- < a href = "https://play.google.com/store/apps/details?id=com.workoutlogs" target = "_blank" rel = "noopener noreferrer" className = "flex items-center gap-3" >
50+ < a
51+ href = "https://play.google.com/store/apps/details?id=com.reddyyz.WorkoutLogs& referrer = landingpage "
52+ target = "_blank"
53+ rel = "noopener noreferrer"
54+ className = "flex items-center gap-3"
55+ >
4856 < Play className = "w-5 h-5" />
4957 { t . hero . downloadFree }
5058 </ a >
5159 </ Button >
5260 < Button variant = "outline" size = "lg" asChild >
53- < a href = "#funcionalidades" >
54- { t . hero . viewFeatures }
55- </ a >
61+ < a href = "#funcionalidades" > { t . hero . viewFeatures } </ a >
5662 </ Button >
5763 </ div >
5864
5965 { /* Stats */ }
6066 < div className = "grid grid-cols-3 gap-8 mt-16 pt-8 border-t border-border animate-fade-in-up animation-delay-500" >
6167 < div >
62- < div className = "text-3xl md:text-4xl font-bold text-gradient" > 100+</ div >
63- < div className = "text-sm text-muted-foreground mt-1" > { t . hero . exercises } </ div >
68+ < div className = "text-3xl md:text-4xl font-bold text-gradient" >
69+ 100+
70+ </ div >
71+ < div className = "text-sm text-muted-foreground mt-1" >
72+ { t . hero . exercises }
73+ </ div >
6474 </ div >
6575 < div >
66- < div className = "text-3xl md:text-4xl font-bold text-gradient" > 4.8★</ div >
67- < div className = "text-sm text-muted-foreground mt-1" > { t . hero . rating } </ div >
76+ < div className = "text-3xl md:text-4xl font-bold text-gradient" >
77+ 5.0★
78+ </ div >
79+ < div className = "text-sm text-muted-foreground mt-1" >
80+ { t . hero . rating }
81+ </ div >
6882 </ div >
6983 < div >
70- < div className = "text-3xl md:text-4xl font-bold text-gradient" > { t . hero . free } </ div >
71- < div className = "text-sm text-muted-foreground mt-1" > { t . hero . toUse } </ div >
84+ < div className = "text-3xl md:text-4xl font-bold text-gradient" >
85+ { t . hero . free }
86+ </ div >
87+ < div className = "text-sm text-muted-foreground mt-1" >
88+ { t . hero . toUse }
89+ </ div >
7290 </ div >
7391 </ div >
7492 </ div >
@@ -78,6 +96,7 @@ const HeroSection = ({
7896 < ChevronDown className = "w-6 h-6 text-muted-foreground" />
7997 </ div >
8098 </ div >
81- </ section > ;
99+ </ section >
100+ ) ;
82101} ;
83- export default HeroSection ;
102+ export default HeroSection ;
0 commit comments