Skip to content

Commit cd37730

Browse files
Fix: Footer and Hero component issues
- Fixed the footer not working on the home page. - Fixed the duplicated footer on the CoNetWorKing page. - Applied the Star Wars effect to the Hero's descriptive paragraph, ensuring compatibility with the Nasalization font for titles and Exo for body text.
1 parent 4b12269 commit cd37730

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

src/components/Hero.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,18 @@ const Hero = () => {
4848
</div>
4949
</div>
5050

51-
<motion.p
52-
className="text-lg sm:text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto mb-8 font-[Exo] text-center"
53-
initial={{ opacity: 0 }}
54-
animate={{ opacity: 1 }}
55-
transition={{ delay: 0.3, duration: 0.8 }}
56-
>
57-
Access & Explore the DAO with Innovative Solutions, Unlock Energy Efficiency & Environmental Sustainability, Uniting: BioFi, DeFi, DePin, DeSci, IPFS, QFS, ReFi, RWA, SocialFi, and TradFi under one cosmic ecosystem.
58-
</motion.p>
51+
<div className="star-wars-crawl mb-8">
52+
<div className="star-wars-content">
53+
<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"
55+
initial={{ opacity: 0 }}
56+
animate={{ opacity: 1 }}
57+
transition={{ delay: 0.3, duration: 0.8 }}
58+
>
59+
Access & Explore the DAO with Innovative Solutions, Unlock Energy Efficiency & Environmental Sustainability, Uniting: BioFi, DeFi, DePin, DeSci, IPFS, QFS, ReFi, RWA, SocialFi, and TradFi under one cosmic ecosystem.
60+
</motion.p>
61+
</div>
62+
</div>
5963
</motion.div>
6064

6165
<motion.div

src/pages/CoNetWorKing.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
21
import React from 'react';
32
import StarBackground from '@/components/StarBackground';
4-
import Header from '@/components/Header';
5-
import Footer from '@/components/Footer';
63
import { Network, Globe, Users, Zap, Briefcase, MapPin } from 'lucide-react';
74
import { Button } from '@/components/ui/button';
85

@@ -140,7 +137,6 @@ const CoNetWorKing: React.FC = () => {
140137
return (
141138
<div className="min-h-screen bg-alien-space">
142139
<StarBackground />
143-
<Header />
144140
<main className="container mx-auto px-4 pt-28 pb-16">
145141
<div className="max-w-6xl mx-auto">
146142
<div className="text-center mb-16">
@@ -317,7 +313,6 @@ const CoNetWorKing: React.FC = () => {
317313
</div>
318314
</div>
319315
</main>
320-
<Footer />
321316
</div>
322317
);
323318
};

0 commit comments

Comments
 (0)