fix: remove white spaces and gaps on homepage
- Removed white space between header and hero section (-mt-[4.5rem]) - Removed side margins on hero section (w-full px-0) - Removed side margins on stats section (w-full px-0) - Removed bottom padding on stats section (pb-0) - Hero and stats sections now extend to full screen width - No gap between stats section and footer 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0ebcf80155
commit
f822077f51
16
app/page.tsx
16
app/page.tsx
|
|
@ -10,17 +10,17 @@ export const metadata: Metadata = {
|
|||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<div className="min-h-screen -mt-[4.5rem]">
|
||||
{/* Hero Section - Bannière principale */}
|
||||
<section className="relative bg-gradient-to-br from-[#1a4d2e] via-[#2d5a3d] to-[#1a4d2e] py-24 overflow-hidden">
|
||||
<section className="relative bg-gradient-to-br from-[#1a4d2e] via-[#2d5a3d] to-[#1a4d2e] pt-32 pb-24 overflow-hidden">
|
||||
<div className="absolute inset-0 opacity-10">
|
||||
<div className="absolute inset-0" style={{
|
||||
backgroundImage: 'url("data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.4\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")',
|
||||
}}></div>
|
||||
</div>
|
||||
|
||||
<div className="container mx-auto px-4 relative z-10">
|
||||
<div className="max-w-4xl mx-auto text-center">
|
||||
<div className="w-full px-0 relative z-10">
|
||||
<div className="max-w-4xl mx-auto px-4 text-center">
|
||||
<h1 className="text-5xl md:text-6xl font-bold text-white mb-6 leading-tight">
|
||||
Un code, <span className="text-[#f59e0b]">un gain garanti !</span>
|
||||
</h1>
|
||||
|
|
@ -252,9 +252,9 @@ export default function HomePage() {
|
|||
</section>
|
||||
|
||||
{/* Stats Section */}
|
||||
<section className="py-20 bg-gradient-to-br from-[#1a4d2e] via-[#2d5a3d] to-[#1a4d2e] text-white">
|
||||
<div className="container mx-auto px-4">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<section className="py-20 pb-0 bg-gradient-to-br from-[#1a4d2e] via-[#2d5a3d] to-[#1a4d2e] text-white">
|
||||
<div className="w-full px-0">
|
||||
<div className="max-w-6xl mx-auto px-4">
|
||||
<div className="grid md:grid-cols-4 gap-8 text-center">
|
||||
<div>
|
||||
<div className="text-5xl font-bold text-[#f59e0b] mb-2">100%</div>
|
||||
|
|
@ -274,7 +274,7 @@ export default function HomePage() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-12 text-center">
|
||||
<div className="mt-12 pb-20 text-center">
|
||||
<div className="inline-flex items-center gap-2 text-white/80 text-sm bg-white/10 px-6 py-3 rounded-full">
|
||||
<svg className="w-5 h-5 text-[#f59e0b]" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fillRule="evenodd" d="M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clipRule="evenodd" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user