Skip to content

Commit 7b44b64

Browse files
Fix: Improve visual appearance
- Correct font loading for titles. - Adjust hero background transparency. - Address potential issues with Star Wars text effect. - Refine background transitions between sections.
1 parent d3c8928 commit 7b44b64

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<!-- Preload Fonts for Better Performance -->
1212
<link rel="preload" href="https://fonts.gstatic.com/s/exo/v20/4UaZrEtFpBI4f1ZSIK9d4LjJ4lM2CwNsOl4p5Is.woff2" as="font" type="font/woff2" crossorigin />
13+
<link rel="preload" href="https://fonts.cdnfonts.com/css/nasalization" as="style" />
1314

1415
<!-- Font Stylesheets -->
1516
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Exo:wght@300;400;500;600;700&display=swap" />

src/components/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Header = () => {
2222
return (
2323
<header
2424
className={`fixed top-0 left-0 w-full z-50 transition-all duration-300 ${
25-
isScrolled ? "py-1 bg-alien-space-dark bg-opacity-80 shadow-md backdrop-blur-md" : "py-2 bg-alien-space-dark bg-opacity-50 backdrop-blur-sm"
25+
isScrolled ? "py-1 bg-black bg-opacity-90 shadow-md" : "py-2 bg-black bg-opacity-80"
2626
}`}
2727
>
2828
<div className="container mx-auto px-4 flex justify-between items-center relative">

src/components/Hero.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import { Link } from 'react-router-dom';
88
const Hero = () => {
99
return (
1010
<div className="relative min-h-[calc(100vh-4rem)] flex flex-col items-center justify-center py-16 overflow-hidden">
11-
{/* Fondo con efecto parallax */}
12-
<div className="absolute inset-0 bg-glow-radial opacity-70 z-0 parallax"></div>
11+
{/* Background image is handled in pages/Index.tsx */}
1312

1413
<div className="container relative z-10 px-4 mx-auto text-center">
1514
<motion.div

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 bg-alien-space">
9+
<div className="flex flex-col min-h-screen bg-black">
1010
<Header />
1111
<main className="flex-1 relative z-10 pt-24 sm:pt-28 md:pt-32">
1212
<div className="container mx-auto px-4">

src/global.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ main {
5656
border: 1px solid rgba(255, 215, 0, 0.2);
5757
border-radius: 10px;
5858
background-color: rgba(17, 17, 25, 0.6);
59-
backdrop-filter: blur(5px);
6059
transition: all 0.3s ease;
6160
position: relative;
6261
z-index: 1;

src/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
font-family: 'Exo', system-ui, sans-serif;
5757
}
5858

59-
/* Force font loading */
59+
/* Ensure Nasalization font is loaded */
6060
@font-face {
6161
font-family: 'Nasalization';
6262
font-style: normal;
@@ -177,12 +177,12 @@
177177
background-size: cover;
178178
}
179179

180-
/* Background gradient */
180+
/* Background gradient - REMOVED the yellow tint */
181181
.bg-glow-radial {
182-
background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, rgba(240, 216, 130, 0.05) 50%, transparent 70%);
182+
background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
183183
}
184184

185-
/* Cosmic grid for backgrounds */
185+
/* Cosmic grid for backgrounds - UPDATED to be more subtle */
186186
.cosmic-grid {
187187
position: relative;
188188
}
@@ -195,8 +195,8 @@
195195
right: 0;
196196
bottom: 0;
197197
background-image:
198-
linear-gradient(rgba(240, 216, 130, 0.05) 1px, transparent 1px),
199-
linear-gradient(90deg, rgba(240, 216, 130, 0.05) 1px, transparent 1px);
198+
linear-gradient(rgba(240, 216, 130, 0.03) 1px, transparent 1px),
199+
linear-gradient(90deg, rgba(240, 216, 130, 0.03) 1px, transparent 1px);
200200
background-size: 40px 40px;
201201
background-position: center center;
202202
pointer-events: none;

src/pages/Index.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,24 @@ import ParticipationSection from '@/components/ParticipationSection';
1010

1111
const Index: React.FC = () => {
1212
return (
13-
<div className="min-h-screen bg-alien-space relative">
13+
<div className="min-h-screen relative">
14+
{/* Fixed background image with proper opacity */}
1415
<div className="fixed inset-0 z-0" style={{
1516
backgroundImage: `url('/lovable-uploads/EMWBack.png')`,
1617
backgroundSize: 'cover',
1718
backgroundPosition: 'center',
1819
backgroundRepeat: 'no-repeat',
1920
opacity: 0.3
2021
}}></div>
22+
23+
{/* Star background effect */}
2124
<StarBackground />
25+
26+
{/* Content sections */}
2227
<div className="relative z-10">
2328
<Hero />
2429
<div className="container mx-auto text-center px-4 py-8 section-center">
25-
<h2 className="text-4xl md:text-5xl mb-4 text-alien-gold alien-logo-text">₿£€$$</h2>
30+
<h2 className="text-4xl md:text-5xl mb-4 text-alien-gold font-atomic-force">₿£€$$</h2>
2631
</div>
2732
<FinancialFreedomSection />
2833
<ExploreSpacesSection />

0 commit comments

Comments
 (0)