Skip to content

Commit 714b6f8

Browse files
Fix: Footer on home and Hero design
Fixes the footer on the home page and improves the design of the Hero section, including spacing and text appearance.
1 parent cd37730 commit 714b6f8

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

src/components/Hero.tsx

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ const Hero = () => {
1313
initial={{ opacity: 0, y: 20 }}
1414
animate={{ opacity: 1, y: 0 }}
1515
transition={{ duration: 0.8 }}
16-
className="mb-6"
16+
className="mb-8"
1717
>
18-
<div className="flex flex-col justify-center items-center mb-8 relative">
18+
<div className="flex flex-col justify-center items-center mb-12 relative">
1919
<motion.img
2020
src="/lovable-uploads/ALogo.png"
2121
alt="AlienFlowSpaceDAO Logo"
22-
className="h-28 gold-glow z-20"
22+
className="h-24 md:h-28 gold-glow z-20"
2323
initial={{ scale: 0.8 }}
2424
animate={{
2525
scale: [1, 1.05, 1],
@@ -34,11 +34,14 @@ const Hero = () => {
3434
/>
3535
</div>
3636

37-
<div className="star-wars-crawl mb-8">
37+
<div className="star-wars-crawl mb-10">
3838
<div className="star-wars-content">
3939
<h1
40-
className="text-3xl sm:text-4xl md:text-6xl lg:text-7xl mb-4 tracking-tight text-glow text-center font-nasalization"
41-
style={{ fontFamily: "'Nasalization', sans-serif !important" }}
40+
className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl mb-6 text-glow text-center font-nasalization leading-tight"
41+
style={{
42+
fontFamily: "'Nasalization', sans-serif !important",
43+
letterSpacing: '0.1em'
44+
}}
4245
>
4346
<span className="text-alien-green">Δlieπ</span>
4447
<span className="text-alien-gold">FlΦw</span>
@@ -48,10 +51,11 @@ const Hero = () => {
4851
</div>
4952
</div>
5053

51-
<div className="star-wars-crawl mb-8">
54+
<div className="star-wars-crawl mb-10">
5255
<div className="star-wars-content">
5356
<motion.p
54-
className="text-lg sm:text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto mb-8 font-[Exo] text-center"
57+
className="text-base sm:text-lg md:text-xl text-gray-300 max-w-4xl mx-auto font-[Exo] text-center leading-relaxed"
58+
style={{ letterSpacing: '0.025em' }}
5559
initial={{ opacity: 0 }}
5660
animate={{ opacity: 1 }}
5761
transition={{ delay: 0.3, duration: 0.8 }}
@@ -63,32 +67,32 @@ const Hero = () => {
6367
</motion.div>
6468

6569
<motion.div
66-
className="flex flex-wrap justify-center gap-4 mt-8"
70+
className="flex flex-wrap justify-center gap-4 mt-12"
6771
initial={{ opacity: 0, y: 20 }}
6872
animate={{ opacity: 1, y: 0 }}
6973
transition={{ delay: 0.5, duration: 0.8 }}
7074
>
7175
<Link to="/about">
7276
<Button
73-
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-full transition-colors"
77+
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors"
7478
>
75-
<Orbit className="mr-2 h-5 w-5" /> About Enter Portal
79+
<Orbit className="mr-2 h-4 w-4" /> About Enter Portal
7680
</Button>
7781
</Link>
7882

7983
<Link to="/alien-trip">
8084
<Button
81-
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-full transition-colors"
85+
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors"
8286
>
83-
<ScrollText className="mr-2 h-5 w-5" /> Alientrip Manifesto
87+
<ScrollText className="mr-2 h-4 w-4" /> Alientrip Manifesto
8488
</Button>
8589
</Link>
8690

8791
<Link to="/contact">
8892
<Button
89-
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-full transition-colors"
93+
className="bg-alien-green text-alien-gold hover:bg-alien-gold hover:text-alien-green font-nasalization px-6 sm:px-8 py-4 sm:py-5 text-sm sm:text-base rounded-full transition-colors"
9094
>
91-
<Globe className="mr-2 h-5 w-5" /> Contact & Join
95+
<Globe className="mr-2 h-4 w-4" /> Contact & Join
9296
</Button>
9397
</Link>
9498
</motion.div>

src/pages/Index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ParticipationSection from '@/components/ParticipationSection';
1010

1111
const Index: React.FC = () => {
1212
return (
13-
<div className="min-h-screen relative">
13+
<div className="min-h-screen bg-alien-space">
1414
{/* Fixed background image with proper opacity */}
1515
<div className="fixed inset-0 z-0" style={{
1616
backgroundImage: `url('/lovable-uploads/EMWBack.png')`,

0 commit comments

Comments
 (0)