Skip to content

Commit ca037ea

Browse files
Fix: Menu and layout styling issues
Correct menu and layout styling issues, including font, alignment, and color problems.
1 parent b5de28b commit ca037ea

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed

src/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Footer from './Footer';
66

77
const Layout: React.FC = () => {
88
return (
9-
<div className="flex flex-col min-h-screen">
9+
<div className="flex flex-col min-h-screen bg-black">
1010
<Header />
1111
<main className="flex-1 relative z-10">
1212
<div className="container mx-auto px-4 pt-20">

src/global.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,18 @@ main {
6464
border-color: rgba(255, 215, 0, 0.4);
6565
box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
6666
}
67+
68+
/* Aseguramos que las fuentes se apliquen correctamente */
69+
h1, h2, h3, h4, h5, h6, .font-atomic {
70+
font-family: 'Atomic Age', system-ui, sans-serif !important;
71+
}
72+
73+
/* Corrección de alineación para secciones */
74+
.section-center {
75+
display: flex;
76+
flex-direction: column;
77+
align-items: center;
78+
justify-content: center;
79+
width: 100%;
80+
text-align: center;
81+
}

src/index.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
@import url('https://fonts.googleapis.com/css2?family=Atomic+Age&family=Exo:wght@300;400;500;600;700&display=swap');
23

34
@tailwind base;
@@ -47,7 +48,7 @@
4748
}
4849

4950
h1, h2, h3, h4, h5, h6 {
50-
font-family: 'Atomic Age', system-ui, sans-serif;
51+
font-family: 'Atomic Age', system-ui, sans-serif !important;
5152
}
5253

5354
body, p, span, div, a, button {
@@ -195,3 +196,17 @@
195196
transform: translateX(-100%);
196197
}
197198
}
199+
200+
/* Correcciones adicionales */
201+
.font-atomic {
202+
font-family: 'Atomic Age', system-ui, sans-serif !important;
203+
}
204+
205+
.section-center {
206+
display: flex;
207+
flex-direction: column;
208+
align-items: center;
209+
justify-content: center;
210+
width: 100%;
211+
text-align: center;
212+
}

src/pages/Index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ const Index: React.FC = () => {
2222
<StarBackground />
2323
<div className="relative z-10">
2424
<Hero />
25-
<div className="container mx-auto text-center px-4 py-8">
26-
<h2 className="text-4xl md:text-5xl font-bold mb-4 text-alien-gold font-[Atomic Age]">₿£€$$</h2>
25+
<div className="container mx-auto text-center px-4 py-8 section-center">
26+
<h2 className="text-4xl md:text-5xl font-bold mb-4 text-alien-gold font-atomic">₿£€$$</h2>
2727
</div>
2828
<FinancialFreedomSection />
2929
<StatsSection />
3030
<ExploreSpacesSection />
3131
<EcosystemSection />
3232
<FeaturesSection />
33-
<ParticipationSection />
33+
<div className="section-center">
34+
<ParticipationSection />
35+
</div>
3436
</div>
3537
</div>
3638
);

0 commit comments

Comments
 (0)