Skip to content

Commit 6b0e2d0

Browse files
Reverted to commit 905c5e3
1 parent c651f34 commit 6b0e2d0

File tree

9 files changed

+132
-206
lines changed

9 files changed

+132
-206
lines changed

src/components/FinancialFreedomSection.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import { Bitcoin, TrendingUp, Shield, Coins, Zap, Lock, ShoppingCart, Wand2, Spa
44
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
55
const FinancialFreedomSection = () => {
66
return (
7-
<section className="py-24 relative overflow-hidden bg-glow-radial">
8-
{/* Background layers matching hero */}
9-
<div className="absolute inset-0 bg-stars bg-cover bg-center opacity-30"></div>
7+
<section className="py-24 relative overflow-hidden">
8+
{/* Enhanced background decorative elements */}
109
<div className="absolute inset-0">
1110
<div className="absolute top-20 left-20 w-32 h-32 bg-alien-gold/10 rounded-full blur-3xl animate-pulse"></div>
1211
<div className="absolute bottom-20 right-20 w-40 h-40 bg-alien-green/10 rounded-full blur-3xl animate-pulse delay-1000"></div>

src/components/Header/DesktopNav.tsx

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,18 @@ const DesktopNav = () => {
2828
{ code: 'us', name: 'English', lang: 'en' },
2929
{ code: 'es', name: 'Español', lang: 'es' },
3030
{ code: 'fr', name: 'Français', lang: 'fr' },
31-
{ code: 'de', name: 'Deutsch', lang: 'de' },
3231
{ code: 'cn', name: '汉语 (Hànyǔ)', lang: 'zh' },
3332
{ code: 'in', name: 'हिन्दी (Hindī)', lang: 'hi' },
3433
{ code: 'pt', name: 'Português', lang: 'pt' },
3534
{ code: 'jp', name: '日本語 (Nihongo)', lang: 'ja' }
3635
];
3736

38-
const translatePage = (langCode: string) => {
39-
const currentUrl = window.location.href;
40-
// Try Google Translate first, fallback to DeepL
41-
const googleUrl = `https://translate.google.com/translate?sl=auto&tl=${langCode}&u=${encodeURIComponent(currentUrl)}`;
42-
43-
// Open Google Translate
44-
const googleWindow = window.open(googleUrl, '_blank', 'noopener,noreferrer');
45-
46-
// If Google fails or user prefers DeepL, they can manually use DeepL
47-
if (!googleWindow) {
48-
const deeplUrl = `https://www.deepl.com/translator?utm_source=alienflowspace#auto/${langCode}/${encodeURIComponent(currentUrl)}`;
49-
window.open(deeplUrl, '_blank', 'noopener,noreferrer');
37+
const openTranslate = (provider: 'google' | 'deepl') => {
38+
const url = window.location.href;
39+
if (provider === 'google') {
40+
window.open(`https://translate.google.com/translate?sl=auto&tl=es&u=${encodeURIComponent(url)}`, '_blank');
41+
} else {
42+
window.open(`https://www.deepl.com/translator#auto/es/${encodeURIComponent(url)}`, '_blank');
5043
}
5144
};
5245

@@ -121,7 +114,6 @@ const DesktopNav = () => {
121114
<DropdownMenuItem
122115
key={lang.code}
123116
className="flex items-center gap-3 text-alien-gold hover:text-alien-green hover:bg-alien-space-light/30 cursor-pointer p-3 rounded-lg transition-all duration-300"
124-
onSelect={(e) => { e.preventDefault(); translatePage(lang.lang); }}
125117
>
126118
<img
127119
src={`https://flagcdn.com/w20/${lang.code}.png`}
@@ -131,6 +123,18 @@ const DesktopNav = () => {
131123
<span className="font-medium">{lang.name}</span>
132124
</DropdownMenuItem>
133125
))}
126+
<DropdownMenuItem
127+
className="flex items-center gap-3 text-alien-gold hover:text-alien-green hover:bg-alien-space-light/30 cursor-pointer p-3 rounded-lg transition-all duration-300"
128+
onSelect={(e) => { e.preventDefault(); openTranslate('google'); }}
129+
>
130+
<span className="font-medium">Traducir con Google</span>
131+
</DropdownMenuItem>
132+
<DropdownMenuItem
133+
className="flex items-center gap-3 text-alien-gold hover:text-alien-green hover:bg-alien-space-light/30 cursor-pointer p-3 rounded-lg transition-all duration-300"
134+
onSelect={(e) => { e.preventDefault(); openTranslate('deepl'); }}
135+
>
136+
<span className="font-medium">Traducir con DeepL</span>
137+
</DropdownMenuItem>
134138
</div>
135139
</DropdownMenuContent>
136140
</DropdownMenu>

src/components/Hero.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,22 @@ const Hero: React.FC = () => {
5858
<span className="text-alien-gold"> DAO</span>
5959
</motion.h1>
6060

61-
{/* Star Wars inspired description - Static and optimized */}
62-
<div className="max-w-4xl mx-auto text-center">
63-
<div className="starwars-text space-y-4 opacity-100">
64-
<p className="text-base sm:text-lg lg:text-xl font-medium leading-relaxed text-yellow-300">
61+
{/* Star Wars inspired description */}
62+
<motion.div
63+
className="star-wars-crawl"
64+
initial={{ opacity: 0 }}
65+
animate={{ opacity: 1 }}
66+
transition={{ delay: 0.5, duration: 1 }}
67+
>
68+
<div className="star-wars-content">
69+
<p className="mb-4 text-sm sm:text-base lg:text-lg">
6570
Access the DAO with Innovative Solutions, Unlocks Energy Efficiency & Environmental Sustainability.
6671
</p>
67-
<p className="text-sm sm:text-base lg:text-lg text-yellow-200/90 leading-relaxed">
72+
<p className="text-sm sm:text-base lg:text-lg opacity-90">
6873
Advantages Boosting the BENEFITS, for Connecting you and Raise your QUALITY of LIFE, with Mutual PROFITS…
6974
</p>
7075
</div>
71-
</div>
76+
</motion.div>
7277

7378
{/* Action buttons */}
7479
<motion.div

src/components/LoadingScreen.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/index.css

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

169-
/* Star Wars text styling - Classic yellow crawl */
169+
/* Professional Star Wars text styling - Subtle and harmonious */
170170
.starwars-text {
171-
background: rgba(0, 0, 0, 0.5);
172-
padding: 2rem;
173-
border-radius: 1rem;
174-
backdrop-filter: blur(8px);
175-
border: 1px solid rgba(255, 215, 0, 0.3);
171+
color: hsl(var(--primary));
172+
text-shadow:
173+
0 1px 3px rgba(0, 0, 0, 0.3),
174+
0 0 8px hsl(var(--primary) / 0.2);
176175
font-family: 'Nasalization', sans-serif;
177-
font-weight: 400;
176+
font-weight: bold;
178177
letter-spacing: 1px;
179-
line-height: 1.6;
180-
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
181178
}
182179

183180
/* Clean Star Wars crawl - No background box, subtle animation */

src/pages/AlienTrip.tsx

Lines changed: 33 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -93,60 +93,31 @@ const AlienTrip: React.FC = () => {
9393
</Card>
9494

9595
<div className="flex flex-wrap gap-4 mb-8">
96-
<Button
97-
className="bg-alien-gold hover:bg-alien-gold-light text-alien-space-dark font-nasalization hover:shadow-lg hover:scale-105 transition-all duration-300"
98-
onClick={() => window.location.href = '/contact'}
99-
>
96+
<Button className="bg-alien-gold hover:bg-alien-gold-light text-alien-space-dark font-nasalization">
10097
<Rocket className="mr-2 h-5 w-5" /> Join the Journey
10198
</Button>
99+
<Button variant="outline" className="border-alien-green text-alien-green hover:bg-alien-green/20 font-nasalization" onClick={() => window.open("https://alienflowspace.gitbook.io/DAO", "_blank")}>
100+
<ScrollText className="mr-2 h-5 w-5" /> Look Greenpapers
101+
</Button>
102102
</div>
103-
104-
{/* Documentation Cards */}
105-
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
106-
{/* GitBook Documentation */}
107-
<Card className="bg-alien-space-dark/50 backdrop-blur-md border-alien-gold/20 hover:border-alien-gold/40 transition-all duration-300">
108-
<CardContent className="p-6">
109-
<div className="flex items-center mb-4">
110-
<BookOpen className="h-6 w-6 text-alien-gold mr-3" />
111-
<h3 className="text-xl font-semibold text-alien-gold font-nasalization">Documentation & Greenpapers</h3>
112-
</div>
113-
<p className="text-gray-300 mb-4 font-[Exo]">
114-
Access our complete whitepaper, technical documentation, and all greenpapers in our GitBook hub.
115-
</p>
116-
<a
117-
href="https://alienflowspace.gitbook.io/DAO"
118-
target="_blank"
119-
rel="noopener noreferrer"
120-
className="inline-flex items-center text-alien-green hover:text-alien-green-light font-[Exo] hover:scale-105 transition-all duration-300 bg-alien-green/10 px-4 py-2 rounded-lg border border-alien-green/30 hover:bg-alien-green/20"
121-
>
122-
<span>Read GitBook Documentation</span>
123-
<Rocket className="ml-2 h-4 w-4" />
124-
</a>
125-
</CardContent>
126-
</Card>
127-
128-
{/* Tokenomics Card */}
129-
<Card className="bg-alien-space-dark/50 backdrop-blur-md border-alien-green/20 hover:border-alien-green/40 transition-all duration-300">
130-
<CardContent className="p-6">
131-
<div className="flex items-center mb-4">
132-
<PieChart className="h-6 w-6 text-alien-green mr-3" />
133-
<h3 className="text-xl font-semibold text-alien-green font-nasalization">Tokenomics Details</h3>
134-
</div>
135-
<p className="text-gray-300 mb-4 font-[Exo]">
136-
Explore the complete A₿TC token distribution, utility mechanisms, and economic model.
137-
</p>
138-
<a
139-
href="https://alienflowspace.gitbook.io/DAO"
140-
target="_blank"
141-
rel="noopener noreferrer"
142-
className="inline-flex items-center text-alien-gold hover:text-alien-gold-light font-[Exo] hover:scale-105 transition-all duration-300 bg-alien-gold/10 px-4 py-2 rounded-lg border border-alien-gold/30 hover:bg-alien-gold/20"
143-
>
144-
<span>View Tokenomics</span>
145-
<Rocket className="ml-2 h-4 w-4" />
146-
</a>
147-
</CardContent>
148-
</Card>
149-
</div>
103+
104+
{/* GitBook Card */}
105+
<Card className="bg-alien-space-dark/50 backdrop-blur-md border-alien-gold/20">
106+
<CardContent className="p-6">
107+
<div className="flex items-center mb-4">
108+
<BookOpen className="h-6 w-6 text-alien-gold mr-3" />
109+
<h3 className="text-xl font-semibold text-alien-gold font-nasalization">Official Documentation</h3>
110+
</div>
111+
<p className="text-gray-300 mb-4 font-[Exo]">
112+
Access our comprehensive documentation to learn about tokenomics, roadmap, and
113+
technical specifications of the ΔlieπFlΦw $pac€ DAO ecosystem.
114+
</p>
115+
<a href="https://alienflowspace.gitbook.io/DAO" target="_blank" rel="noopener noreferrer" className="flex items-center text-alien-green hover:text-alien-green-light font-[Exo]">
116+
<span>Visit GitBook</span>
117+
<Rocket className="ml-2 h-4 w-4" />
118+
</a>
119+
</CardContent>
120+
</Card>
150121
</div>
151122

152123
{/* Crypto Mint NFT - Compact design */}
@@ -242,6 +213,11 @@ const AlienTrip: React.FC = () => {
242213
</div>
243214
</div>
244215

216+
<div className="text-center mt-8">
217+
<a href="https://alienflowspace.gitbook.io/DAO" target="_blank" rel="noopener noreferrer" className="text-alien-green hover:text-alien-green-light inline-flex items-center font-[Exo]">
218+
View detailed tokenomics <Rocket className="ml-2 h-4 w-4" />
219+
</a>
220+
</div>
245221
</CardContent>
246222
</Card>
247223
</div>
@@ -312,6 +288,11 @@ const AlienTrip: React.FC = () => {
312288
</div>)}
313289
</div>
314290

291+
<div className="text-center mt-8">
292+
<a href="https://alienflowspace.gitbook.io/DAO" target="_blank" rel="noopener noreferrer" className="text-alien-green hover:text-alien-green-light inline-flex items-center font-[Exo]">
293+
View complete roadmap <Rocket className="ml-2 h-4 w-4" />
294+
</a>
295+
</div>
315296
</div>
316297

317298
<Card className="bg-alien-space-dark/70 backdrop-blur-md border-alien-gold/20">
@@ -321,18 +302,9 @@ const AlienTrip: React.FC = () => {
321302
The AlienFlowSpace DAO is more than a project—it's a movement to transform blockchain collaboration across the multiverse. Be part of this revolutionary journey.
322303
</p>
323304
<div className="flex flex-wrap justify-center gap-4">
324-
<Button
325-
className="bg-alien-gold hover:bg-alien-gold-light text-alien-space-dark px-8 py-6 font-nasalization hover:shadow-lg hover:scale-105 transition-all duration-300"
326-
onClick={() => window.location.href = '/contact'}
327-
>
305+
<Button className="bg-alien-gold hover:bg-alien-gold-light text-alien-space-dark px-8 py-6 font-nasalization">
328306
<Rocket className="mr-2 h-5 w-5" /> Join AlienFlowSpace
329307
</Button>
330-
<Button
331-
className="bg-alien-green/20 border-alien-green text-alien-green hover:bg-alien-green hover:text-alien-space-dark font-nasalization border-2 px-8 py-6 hover:shadow-lg hover:scale-105 transition-all duration-300"
332-
onClick={() => window.open("https://alienflowspace.gitbook.io/DAO", "_blank")}
333-
>
334-
<BookOpen className="mr-2 h-5 w-5" /> Complete Documentation
335-
</Button>
336308
</div>
337309
</CardContent>
338310
</Card>

src/pages/CoNetWorKing.tsx

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -253,27 +253,22 @@ const CoNetWorKing: React.FC = () => {
253253
{/* Background Network Image */}
254254

255255
<main className="container mx-auto px-4 pt-32 pb-16 relative z-20">
256-
{/* Semi-transparent overlay for better text readability */}
257-
<div className="absolute inset-0 bg-black/40 backdrop-blur-sm rounded-3xl"></div>
258-
259-
<div className="max-w-7xl mx-auto relative z-30">
260-
{/* Hero Section with better readability */}
261-
<div className="text-center mb-20 bg-black/30 backdrop-blur-md p-8 rounded-2xl border border-alien-gold/20">
256+
<div className="max-w-7xl mx-auto">
257+
{/* Hero Section */}
258+
<div className="text-center mb-20">
262259
<div className="inline-flex items-center justify-center w-24 h-24 bg-alien-gold/20 rounded-full mb-6 border-2 border-alien-gold/40 backdrop-blur-md">
263260
<img
264261
src="/lovable-uploads/CoNetWorKingLogo.png"
265262
alt="CoNetWorKing Official Logo"
266263
className="h-16 w-16 object-contain"
267264
/>
268265
</div>
269-
<div className="readable-panel max-w-4xl mx-auto">
270-
<h1 className="text-5xl md:text-7xl font-bold text-alien-gold mb-6 font-nasalization">
271-
CoNetWorKing
272-
</h1>
273-
<p className="text-xl md:text-2xl text-gray-100 font-[Exo] leading-relaxed">
274-
Connect with the future of decentralized finance through our comprehensive suite of blockchain services
275-
</p>
276-
</div>
266+
<h1 className="text-5xl md:text-7xl font-bold text-alien-gold mb-8 font-[Atomic Age, Star Wars] text-glow">
267+
CoNetWorKing
268+
</h1>
269+
<p className="text-2xl text-gray-200 max-w-4xl mx-auto font-[Exo] leading-relaxed">
270+
Connect with the future of decentralized finance through our comprehensive suite of blockchain services
271+
</p>
277272
</div>
278273

279274
{/* Services Grid */}

0 commit comments

Comments
 (0)