Skip to content

Commit 8a9c3b0

Browse files
Refactor Hero and Clubs sections
1 parent 18332ea commit 8a9c3b0

File tree

3 files changed

+65
-28
lines changed

3 files changed

+65
-28
lines changed

src/components/Hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Hero: React.FC = () => {
4545
initial={{ opacity: 0, y: -30 }}
4646
animate={{ opacity: 1, y: 0 }}
4747
transition={{ duration: 1.2, ease: 'easeOut' }}
48-
className="text-3xl sm:text-4xl lg:text-6xl font-nasalization font-extrabold leading-tight text-center sw-title-glow mb-6"
48+
className="text-3xl sm:text-4xl lg:text-6xl font-nasalization font-extrabold leading-tight text-center starwars-text mb-6"
4949
>
5050
<span className="text-alien-green">Δlieπ</span>
5151
<span className="text-alien-gold">FlΦw</span>
@@ -55,7 +55,7 @@ const Hero: React.FC = () => {
5555

5656
{/* Crawl Star Wars */}
5757
<div className="star-wars-crawl">
58-
<div className="star-wars-content">
58+
<div className="star-wars-content starwars-text">
5959
<p>
6060
Access the DAO with Innovative Solutions, Unlocks Energy Efficiency & Environmental Sustainability.
6161
</p>

src/index.css

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -166,32 +166,60 @@
166166
background: linear-gradient(145deg, hsl(var(--sidebar-accent)), hsl(var(--sidebar-primary)));
167167
}
168168

169+
/* Star Wars text styling */
170+
.starwars-text {
171+
color: #FFE81F;
172+
text-shadow:
173+
0 0 5px #FFE81F,
174+
0 0 10px #FFE81F,
175+
0 0 20px #FFE81F,
176+
0 0 40px #FFE81F,
177+
0 0 80px #FFE81F;
178+
font-family: 'Nasalization', sans-serif;
179+
font-weight: bold;
180+
letter-spacing: 2px;
181+
}
182+
169183
/* Star Wars scrolling text effect - COMPACTO Y MEJORADO */
170184
.star-wars-crawl {
171-
perspective: 500px;
185+
perspective: 300px;
186+
height: 200px;
172187
overflow: hidden;
173-
display: flex;
174-
justify-content: center;
175-
align-items: center;
176-
max-width: 100%;
188+
margin: 2rem 0;
177189
}
190+
178191
.star-wars-content {
179-
transform: rotateX(15deg);
180-
transform-origin: center top;
181-
animation: star-wars-float-compact 3s ease-out forwards;
182-
width: 100%;
192+
animation: crawl 15s linear infinite;
193+
transform-origin: 50% 100%;
194+
transform: rotateX(25deg);
195+
color: #FFE81F;
196+
text-align: justify;
197+
max-width: 600px;
198+
margin: 0 auto;
199+
padding: 2rem;
200+
font-size: 1.1rem;
201+
line-height: 1.6;
202+
text-shadow:
203+
0 0 5px #FFE81F,
204+
0 0 10px #FFE81F,
205+
0 0 15px #FFE81F;
206+
background: rgba(0, 0, 0, 0.8);
207+
border-radius: 12px;
208+
backdrop-filter: blur(10px);
209+
border: 1px solid rgba(255, 232, 31, 0.3);
183210
}
184-
@keyframes star-wars-float-compact {
211+
212+
@keyframes crawl {
185213
0% {
186-
transform: rotateX(15deg) translateY(30px);
214+
transform: rotateX(25deg) translateY(50px);
187215
opacity: 0;
188216
}
189217
20% {
190218
opacity: 1;
191219
}
192220
100% {
193-
transform: rotateX(15deg) translateY(0);
194-
opacity: 1;
221+
transform: rotateX(25deg) translateY(-200px);
222+
opacity: 0;
195223
}
196224
}
197225

src/pages/Clubs.tsx

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Clubs: React.FC = () => {
6161
const featuredClubs: ClubProps[] = [
6262
{
6363
name: 'Δ CashFlow',
64-
description: 'Advanced earning strategies and winning analysis for interplanetary assets.',
64+
description: 'Advanced earning strategies and winning analysis for interplanetary assets through DeFi protocols, yield farming, and strategic portfolio management.',
6565
members: 314159,
6666
icon: <Zap className="h-6 w-6 text-alien-gold" />,
6767
category: 'CashFlow',
@@ -70,7 +70,7 @@ const Clubs: React.FC = () => {
7070
},
7171
{
7272
name: 'Δ EcoFlow',
73-
description: "Shaping the planet's present through collaborative decision-making with budgets and proposals.",
73+
description: "Shaping the planet's present through collaborative decision-making with budgets, proposals, and sustainable governance mechanisms for environmental impact.",
7474
members: 161803,
7575
icon: <Shield className="h-6 w-6 text-alien-gold" />,
7676
category: 'DAO',
@@ -79,8 +79,8 @@ const Clubs: React.FC = () => {
7979
},
8080
{
8181
name: 'ΔGameFlow ΔWeedFlow ΔXFlow',
82-
description: 'Discovering and creating digital artifacts across the multiverse with utility in reality.',
83-
members: 3712,
82+
description: 'Discovering and creating digital artifacts across the multiverse with utility in reality through gaming, wellness, and cross-chain experiences.',
83+
members: 37128,
8484
icon: <Rocket className="h-6 w-6 text-alien-gold" />,
8585
category: 'NFTs',
8686
categoryColor: 'bg-pink-500/80 text-white border border-pink-400/50',
@@ -153,12 +153,14 @@ const Clubs: React.FC = () => {
153153
];
154154

155155
const partners = [
156-
{ name: 'Discord', url: 'https://discord.com/' },
157-
{ name: 'Telegram', url: 'https://telegram.org/' },
158-
{ name: 'Twitter', url: 'https://twitter.com/' },
159-
{ name: 'GitHub', url: 'https://github.com/' },
160-
{ name: 'Medium', url: 'https://medium.com/' },
161-
{ name: 'Reddit', url: 'https://reddit.com/' },
156+
{ name: 'CoinGecko', url: 'https://coingecko.com/', logo: '/lovable-uploads/CoinGeckoLogo.svg' },
157+
{ name: 'CoinMarketCap', url: 'https://coinmarketcap.com/', logo: '/lovable-uploads/CoinMarketCapLogo.jpeg' },
158+
{ name: 'DappRadar', url: 'https://dappradar.com/', logo: '/lovable-uploads/DappRadarLogo.jpeg' },
159+
{ name: 'Aragon DAO', url: 'https://aragon.org/', logo: '/lovable-uploads/AragonDAOLogo.svg' },
160+
{ name: 'Unity Learn', url: 'https://learn.unity.com/', logo: '/lovable-uploads/UnityLearnLogo.svg' },
161+
{ name: 'Climate Reanalyzer', url: 'https://climatereanalyzer.org/', logo: '/lovable-uploads/ClimateReanalyzerLogo.svg' },
162+
{ name: 'CoinGlass', url: 'https://coinglass.com/', logo: '/lovable-uploads/CoinGlassLogo.jpeg' },
163+
{ name: 'Behance', url: 'https://behance.net/', logo: '/lovable-uploads/BehanceLogo.jpeg' },
162164
];
163165

164166
return (
@@ -281,17 +283,24 @@ const Clubs: React.FC = () => {
281283
{/* Partners */}
282284
<div className="text-center">
283285
<h2 className="text-3xl font-bold text-alien-gold mb-8 font-nasalization text-glow">Community Partners</h2>
284-
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
286+
<div className="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-8 gap-4">
285287
{partners.map((partner, index) => (
286288
<a
287289
key={index}
288290
href={partner.url}
289291
target="_blank"
290292
rel="noopener noreferrer"
291-
className="bg-alien-space-dark/80 backdrop-blur-md rounded-xl p-6 border border-alien-gold/30 hover:border-alien-gold/60 transition-all duration-300 hover:transform hover:scale-105 group"
293+
className="bg-alien-space-dark/80 backdrop-blur-md rounded-xl p-4 border border-alien-gold/30 hover:border-alien-gold/60 transition-all duration-300 hover:transform hover:scale-105 group"
292294
>
293295
<div className="text-center">
294-
<h3 className="text-alien-gold font-semibold text-sm group-hover:text-alien-gold-light transition-colors font-[Exo]">
296+
{partner.logo && (
297+
<img
298+
src={partner.logo}
299+
alt={`${partner.name} logo`}
300+
className="h-8 w-8 object-contain mx-auto mb-2 group-hover:scale-110 transition-transform"
301+
/>
302+
)}
303+
<h3 className="text-alien-gold font-semibold text-xs group-hover:text-alien-gold-light transition-colors font-[Exo]">
295304
{partner.name}
296305
</h3>
297306
</div>

0 commit comments

Comments
 (0)