Skip to content

Commit dac80ec

Browse files
Fix: Header and CTA on landing page
- Make the header span the full width of the page. - Add a prominent call-to-action (CTA) to encourage users to start.
1 parent dcf712e commit dac80ec

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

src/pages/LandingPage.tsx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const LandingPage = () => {
118118

119119
{/* Header */}
120120
<header className="fixed top-0 w-full border-b border-slate-200/80 bg-white/90 backdrop-blur-xl z-50 transition-all">
121-
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
121+
<div className="w-full px-4 sm:px-6 lg:px-8">
122122
<div className="flex justify-between items-center h-16">
123123
<a href="/" className="flex items-center gap-2 animate-fade-in hover:opacity-80 transition-opacity">
124124
<RefSpringLogo width="32" height="32" />
@@ -138,9 +138,18 @@ const LandingPage = () => {
138138
Témoignages
139139
</a>
140140
</nav>
141-
<Button variant="outline" className="hidden md:flex hover:scale-105 transition-transform" onClick={redirectToDashboard}>
142-
Se connecter
143-
</Button>
141+
<div className="flex items-center gap-3">
142+
<Button variant="outline" className="hidden md:flex hover:scale-105 transition-transform" onClick={redirectToDashboard}>
143+
Se connecter
144+
</Button>
145+
<Button
146+
className="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white font-semibold px-6 py-2 shadow-lg hover:shadow-xl hover:scale-105 transition-all animate-pulse"
147+
onClick={redirectToDashboard}
148+
>
149+
Commencer gratuitement
150+
<ArrowRight className="ml-2 h-4 w-4" />
151+
</Button>
152+
</div>
144153
</div>
145154
</div>
146155
</header>

0 commit comments

Comments
 (0)