Skip to content

Commit e808e09

Browse files
authored
Update Academy.tsx
Signed-off-by: Aitor Alien <111972684+Alien69Flow@users.noreply.github.com>
1 parent 37a2d55 commit e808e09

1 file changed

Lines changed: 194 additions & 102 deletions

File tree

src/pages/Academy.tsx

Lines changed: 194 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { useState } from 'react';
22
import {
33
GraduationCap, BookOpen, Sparkles, Leaf, Brain, Coins,
4-
Activity, Apple, Zap, Search, ChevronRight, Lock,
5-
Dna, Fingerprint, Database, Globe
4+
Activity, Zap, ChevronRight, Fingerprint, Database,
5+
Globe, Microscope, Star, Atom, ShieldCheck, ZapOff
66
} from 'lucide-react';
77
import { Button } from '@/components/ui/button';
88
import { motion, AnimatePresence } from 'framer-motion';
@@ -12,67 +12,155 @@ const Academy = () => {
1212
const [selectedFile, setSelectedFile] = useState<null | number>(null);
1313

1414
const categories = [
15-
{ id: 'all', label: 'TODO EL ARCHIVO' },
16-
{ id: 'abundance', label: 'DATA_FLOW (ECONOMÍA)' },
17-
{ id: 'health', label: 'HEALTH_FLOW (BIENESTAR)' },
18-
{ id: 'harmony', label: 'SPACE_FLOW (CONCIENCIA)' }
15+
{ id: 'all', label: 'ALL_ARCHIVES' },
16+
{ id: 'abundance', label: 'DATA_FLOW' },
17+
{ id: 'health', label: 'HEALTH_FLOW' },
18+
{ id: 'harmony', label: 'SPACE_FLOW' }
1919
];
2020

2121
const content = [
2222
{
2323
id: 1,
2424
cat: 'abundance',
2525
title: "Abundance & Freedom",
26-
tag: "FINANCIAL_SYSTEMS",
27-
description: "Masterización de sistemas económicos circulares y blockchain.",
26+
tag: "FINANCIAL_SYSTEMS_DATA_FLOW",
27+
description: "Mastery of digital economics, blockchain ecosystems, and sustainable financial frameworks.",
2828
icon: <Coins className="text-alien-gold" />,
29-
details: ["EcoFinTech & ESG", "Blockchain & Smart Contracts", "DeFi Strategy"],
30-
partners: ["Alchemy", "Bitcoin", "HackerRank"]
29+
modules: [
30+
{
31+
name: "EcoFinTech & System Dynamics",
32+
topics: [
33+
"Circularity + ESG Criteria + Efficiency & Sustainability",
34+
"System Dynamics (Theories & Critical Degrowth)",
35+
"Digitalization + Money & Payment Systems",
36+
"Economy & Finance (Macro & Micro) + Game Theory"
37+
]
38+
},
39+
{
40+
name: "Electronic Commerce",
41+
topics: [
42+
"Fundamental characteristics & Infrastructure",
43+
"Practical advantages and uses",
44+
"Forms and types of implementation"
45+
]
46+
},
47+
{
48+
name: "Advanced Blockchain Ecosystems",
49+
topics: [
50+
"Digital Assets (Crypto, Tokens, BTC, Altcoins, Stablecoins)",
51+
"DeFi (Decentralized Finance) & BioFi (Biological Finance)",
52+
"DePIN (Decentralized Physical Infrastructure Networks)",
53+
"DeSci (Decentralized Science) & IPFS (File Systems)",
54+
"GameFi, SocialFi & ReFi (Regenerative Finance)",
55+
"RWA (Real World Assets) & Smart Contracts"
56+
]
57+
}
58+
]
3159
},
3260
{
3361
id: 2,
3462
cat: 'health',
35-
title: "HealthFlow: Body & Soul",
63+
title: "HealthFlow & Sustainability",
3664
tag: "BIOLOGICAL_OPTIMIZATION",
37-
description: "Sincronización biológica mediante nutrición y movimiento consciente.",
38-
icon: <Activity className="text-alien-green" />,
39-
details: ["Sacred Nutrition (Yazio/Alimentación)", "Daily Mudras & Energy", "Daily Yoga & Prana Breathing"],
40-
partners: ["Daily Mudras", "Prana Breath", "Yazio", "Purely White"]
65+
description: "Biological synchronization and resource management through ecology and sacred nutrition.",
66+
icon: <Leaf className="text-alien-green" />,
67+
modules: [
68+
{
69+
name: "Permaculture & Ecology",
70+
topics: [
71+
"Ecosystem understanding & Biodiversity principles",
72+
"Permaculture ethics & Site analysis design",
73+
"Food forest creation & Soil regeneration",
74+
"Water harvesting & Climate adaptation"
75+
]
76+
},
77+
{
78+
name: "Conscious Living",
79+
topics: [
80+
"Mindful consumption & Zero-waste practices",
81+
"Energy efficiency & Sustainable transportation",
82+
"Daily Mudras & Energy Work (Prana Breathing)",
83+
"Daily Yoga Integration & Physical Harmony"
84+
]
85+
},
86+
{
87+
name: "Self-Management (Time & Space)",
88+
topics: [
89+
"Productivity systems (Natural Rhythms)",
90+
"Yazio: Sacred Nutrition & Mindful Eating systems",
91+
"Digital minimalism & Tech wellness",
92+
"Maintenance & Cleaning of sacred spaces"
93+
]
94+
}
95+
]
4196
},
4297
{
4398
id: 3,
4499
cat: 'harmony',
45100
title: "Harmony & Transcendence",
46-
tag: "CONSCIOUSNESS_ARCHIVE",
47-
description: "Estudio de las ecuaciones de Tesla, campos magnéticos y física unificada.",
101+
tag: "CONSCIOUSNESS_SPACE_FLOW",
102+
description: "Study of Tesla equations, magnetic fields, and unified physics through consciousness.",
48103
icon: <Brain className="text-purple-400" />,
49-
details: ["Tesla Magnetic Fields", "Philosophical Alchemy", "Trivium & Quadrivium"],
50-
partners: ["Academia", "NASA Eyes", "ESA", "Virgo-GW"]
104+
modules: [
105+
{
106+
name: "Consciousness & Energy",
107+
topics: [
108+
"Attention & Concentration (Attitude | Aptitude)",
109+
"Unconscious | Preconscious | Subconscious mapping",
110+
"Equanimity | Fullness - Focus | Perception",
111+
"Determination | Intention | Purpose | Meaning"
112+
]
113+
},
114+
{
115+
name: "Tesla Physics & Unified Science",
116+
topics: [
117+
"Tesla Equations & Magnetic Fields",
118+
"Gravitational Force Unification through Neutrinos",
119+
"Advanced meditation & Bio-energy techniques",
120+
"Integral body-mind-spirit integration"
121+
]
122+
},
123+
{
124+
name: "Alchemy & Liberal Arts",
125+
topics: [
126+
"Alchemy: Self-transcendence | Transcendence",
127+
"Trivium + Quadrivium (Foundations of Liberal Arts)",
128+
"Hermeneutics | Heuristics",
129+
"Spiritual & Intellectual Illumination"
130+
]
131+
}
132+
]
51133
}
52134
];
53135

54-
// Filtro y orden alfabético
55-
const filteredContent = content
56-
.filter(item => activeTab === 'all' || item.cat === activeTab)
57-
.sort((a, b) => a.title.localeCompare(b.title));
136+
const allPartners = [
137+
"Academia", "Alchemy", "AulaFacil", "Bitcoin", "Climate Reanalyzer", "Coursera", "Cursa", "Daily Mudras",
138+
"edX", "ESA", "Explore", "FutureLearn", "Google for Education", "Google Growth", "HackerRank", "HackMD",
139+
"Hotmart", "KAGRA", "Khan Academy", "LIGO", "LSC-Canfranc", "Map of the Universe", "MasterClass", "MOOC",
140+
"NASA Eyes", "OEGlobal", "OpenUpEd", "Prana Breath", "Purely White", "Skillshare", "Udacity", "Udemy",
141+
"UNED", "UNESCO", "Unity Learn", "Unreal Engine", "UNSSC", "Virgo-GW", "Yazio"
142+
].sort();
143+
144+
const filteredContent = content.filter(item => activeTab === 'all' || item.cat === activeTab);
58145

59146
return (
60-
<div className="min-h-screen bg-transparent text-white font-exo pt-24 pb-20 px-6">
61-
{/* HEADER TIPO TERMINAL */}
62-
<header className="max-w-6xl mx-auto mb-16 relative">
63-
<div className="absolute -top-10 left-0 text-[10px] font-mono text-alien-green opacity-50 tracking-[0.5em]">
64-
ACCESSING_DEEP_SPACE_KNOWLEDGE_BASE...
147+
<div className="min-h-screen bg-transparent text-white font-exo pt-24 pb-20 px-6 overflow-hidden">
148+
<header className="max-w-6xl mx-auto mb-16 relative z-10">
149+
<div className="flex items-center gap-3 mb-4 text-alien-green opacity-40">
150+
<ShieldCheck className="w-4 h-4" />
151+
<span className="text-[10px] font-mono tracking-[0.4em]">ACADEMY_CORE_V2.5_STABLE</span>
65152
</div>
66-
<h1 className="text-6xl md:text-8xl font-nasalization bg-gradient-to-b from-white to-white/20 bg-clip-text text-transparent">
153+
<h1 className="text-6xl md:text-9xl font-nasalization mb-8 tracking-tighter opacity-90">
67154
ACADEMY
68155
</h1>
69-
<div className="flex flex-wrap gap-4 mt-8 border-b border-white/10 pb-4">
156+
157+
<div className="flex flex-wrap gap-4 border-b border-white/10 pb-8">
70158
{categories.map(cat => (
71159
<button
72160
key={cat.id}
73-
onClick={() => setActiveTab(cat.id)}
74-
className={`text-[10px] font-nasalization tracking-widest px-4 py-2 transition-all ${
75-
activeTab === cat.id ? 'text-alien-green border-b-2 border-alien-green' : 'text-gray-500 hover:text-white'
161+
onClick={() => { setActiveTab(cat.id); setSelectedFile(null); }}
162+
className={`text-[10px] font-nasalization tracking-[0.3em] px-8 py-3 rounded-xl transition-all border ${
163+
activeTab === cat.id ? 'bg-alien-green text-black border-alien-green shadow-[0_0_20px_rgba(57,255,20,0.3)]' : 'text-gray-500 border-white/5 hover:border-white/20'
76164
}`}
77165
>
78166
{cat.label}
@@ -81,98 +169,102 @@ const Academy = () => {
81169
</div>
82170
</header>
83171

84-
{/* ARCHIVO DESCLASIFICADO (Grid interactivo) */}
85-
<main className="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
172+
<main className="max-w-6xl mx-auto relative z-10 space-y-8">
86173
<AnimatePresence mode='popLayout'>
87-
{filteredContent.map((item, idx) => (
174+
{filteredContent.map((item) => (
88175
<motion.div
89176
layout
90-
initial={{ opacity: 0, scale: 0.9 }}
91-
animate={{ opacity: 1, scale: 1 }}
92-
exit={{ opacity: 0, scale: 0.9 }}
93177
key={item.id}
178+
initial={{ opacity: 0, y: 30 }}
179+
animate={{ opacity: 1, y: 0 }}
180+
exit={{ opacity: 0, scale: 0.98 }}
94181
onClick={() => setSelectedFile(selectedFile === item.id ? null : item.id)}
95-
className={`relative cursor-pointer group p-6 rounded-2xl border transition-all duration-500 ${
182+
className={`relative cursor-pointer p-10 rounded-[3rem] border transition-all duration-700 ${
96183
selectedFile === item.id
97-
? 'bg-alien-green/10 border-alien-green shadow-[0_0_30px_rgba(57,255,20,0.2)] lg:col-span-2'
98-
: 'bg-white/5 border-white/10 hover:border-white/30'
184+
? 'bg-white/[0.07] border-alien-green shadow-[0_0_60px_rgba(57,255,20,0.1)]'
185+
: 'bg-white/[0.02] border-white/5 hover:border-alien-gold/40'
99186
}`}
100187
>
101-
{/* Estética de Expediente */}
102-
<div className="absolute top-0 right-0 p-4 opacity-20 group-hover:opacity-100">
103-
<Fingerprint className="w-8 h-8 text-alien-green" />
104-
</div>
105-
106-
<div className="flex items-center gap-4 mb-6">
107-
<div className="p-3 bg-black/40 rounded-lg border border-white/10">
108-
{item.icon}
109-
</div>
110-
<div>
111-
<div className="text-[8px] font-mono text-alien-gold tracking-widest uppercase mb-1">
112-
{item.tag}
188+
<div className="flex items-center justify-between mb-10">
189+
<div className="flex items-center gap-8">
190+
<div className="p-5 bg-black/40 rounded-[1.5rem] border border-white/10 shadow-inner">
191+
{item.icon}
113192
</div>
114-
<h3 className="text-xl font-nasalization">{item.title}</h3>
193+
<div>
194+
<div className="text-[9px] font-mono text-alien-gold tracking-[0.4em] uppercase mb-2">{item.tag}</div>
195+
<h3 className="text-4xl font-nasalization tracking-tight">{item.title}</h3>
196+
</div>
197+
</div>
198+
<div className="hidden lg:block p-4 border border-white/5 rounded-full">
199+
<Fingerprint className={`w-10 h-10 ${selectedFile === item.id ? 'text-alien-green animate-pulse' : 'text-gray-800'}`} />
115200
</div>
116201
</div>
117202

118-
<p className="text-sm text-gray-400 mb-6 font-exo leading-relaxed">
203+
<p className="text-base text-gray-400 mb-10 font-exo max-w-4xl leading-relaxed italic border-l-2 border-alien-green/20 pl-6">
119204
{item.description}
120205
</p>
121206

122-
{/* Contenido Expandido (Holograma) */}
123-
{selectedFile === item.id && (
124-
<motion.div
125-
initial={{ opacity: 0, y: 20 }}
126-
animate={{ opacity: 1, y: 0 }}
127-
className="grid grid-cols-1 md:grid-cols-2 gap-8 py-6 border-t border-white/10"
128-
>
129-
<div>
130-
<h4 className="text-[10px] font-nasalization text-alien-green mb-4 tracking-widest">MÓDULOS_DETALLADOS</h4>
131-
<ul className="space-y-3">
132-
{item.details.map((detail, i) => (
133-
<li key={i} className="text-xs text-gray-300 flex items-center gap-3">
134-
<Zap className="w-3 h-3 text-alien-gold" /> {detail}
135-
</li>
136-
))}
137-
</ul>
138-
</div>
139-
<div>
140-
<h4 className="text-[10px] font-nasalization text-alien-green mb-4 tracking-widest">PARTNERS_ENLAZADOS</h4>
141-
<div className="flex flex-wrap gap-2">
142-
{item.partners.sort().map((p, i) => (
143-
<span key={i} className="px-3 py-1 bg-black/40 border border-white/10 rounded-full text-[9px] text-alien-gold font-mono">
144-
{p}
145-
</span>
146-
))}
147-
</div>
148-
</div>
149-
</motion.div>
150-
)}
207+
<AnimatePresence>
208+
{selectedFile === item.id && (
209+
<motion.div
210+
initial={{ opacity: 0, height: 0 }}
211+
animate={{ opacity: 1, height: 'auto' }}
212+
className="grid grid-cols-1 md:grid-cols-3 gap-6 py-12 border-t border-white/10 mt-8"
213+
>
214+
{item.modules.map((mod, i) => (
215+
<div key={i} className="space-y-6 bg-white/[0.03] p-8 rounded-[2rem] border border-white/5 hover:border-alien-green/20 transition-colors">
216+
<h4 className="text-[12px] font-nasalization text-alien-green tracking-[0.2em] uppercase flex items-center gap-3">
217+
<Zap className="w-4 h-4 text-alien-gold" /> {mod.name}
218+
</h4>
219+
<ul className="space-y-4">
220+
{mod.topics.map((t, j) => (
221+
<li key={j} className="text-[11px] text-gray-400 flex items-start gap-3 font-mono leading-relaxed">
222+
<span className="text-alien-gold/50 mt-1">>></span> {t}
223+
</li>
224+
))}
225+
</ul>
226+
</div>
227+
))}
228+
</motion.div>
229+
)}
230+
</AnimatePresence>
151231

152-
<div className="flex justify-between items-center mt-4 pt-4 border-t border-white/5">
153-
<span className="text-[9px] font-mono text-gray-600 tracking-tighter">REF_ID: 00{item.id}_AF</span>
154-
<div className="flex items-center gap-2 text-[10px] font-nasalization text-alien-green group-hover:translate-x-2 transition-transform">
155-
ACCEDER AL ARCHIVO <ChevronRight className="w-3 h-3" />
232+
<div className="flex justify-between items-center mt-8 pt-8 border-t border-white/5 text-[10px] font-nasalization">
233+
<div className="flex items-center gap-3 text-gray-600">
234+
<div className={`w-2 h-2 rounded-full ${selectedFile === item.id ? 'bg-alien-green animate-pulse' : 'bg-gray-800'}`} />
235+
<span>DECRYPT_MODE: {selectedFile === item.id ? 'ACTIVE' : 'IDLE'}</span>
236+
</div>
237+
<div className="flex items-center gap-2 text-alien-green group">
238+
{selectedFile === item.id ? 'CLOSE_ARCHIVE' : 'OPEN_ARCHIVE'}
239+
<ChevronRight className={`w-4 h-4 transition-transform ${selectedFile === item.id ? 'rotate-90' : 'group-hover:translate-x-2'}`} />
156240
</div>
157241
</div>
158242
</motion.div>
159243
))}
160244
</AnimatePresence>
161-
</main>
162245

163-
{/* FOOTER ACADEMY TIPO DATAFEED */}
164-
<footer className="max-w-6xl mx-auto mt-20 p-8 rounded-[2.5rem] bg-black/40 border border-white/5 backdrop-blur-xl flex flex-col md:flex-row items-center justify-between gap-8">
165-
<div className="flex items-center gap-6">
166-
<div className="w-16 h-16 bg-alien-green/20 rounded-full flex items-center justify-center border border-alien-green/40">
167-
<Database className="w-8 h-8 text-alien-green animate-pulse" />
168-
</div>
169-
<div>
170-
<h4 className="text-lg font-nasalization">Neural Link Active</h4>
171-
<p className="text-xs text-gray-500 font-mono">Sincronizando HealthFlow & SpaceFlow con la red local GitHub...</p>
246+
<section className="pt-40 pb-20 text-center border-t border-white/5">
247+
<Globe className="w-16 h-16 text-alien-gold mx-auto mb-10 opacity-20" />
248+
<h2 className="text-[11px] font-nasalization text-gray-500 tracking-[0.8em] mb-16 uppercase italic">Scientific & Global Educational Network</h2>
249+
250+
<div className="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4 max-w-6xl mx-auto">
251+
{allPartners.map((partner, i) => (
252+
<div key={i} className="px-6 py-4 bg-white/[0.01] border border-white/5 rounded-2xl text-[10px] font-mono text-gray-500 hover:text-alien-green hover:border-alien-green/40 transition-all cursor-default flex items-center justify-center text-center">
253+
{partner}
254+
</div>
255+
))}
172256
</div>
173-
</div>
174-
<Button className="bg-alien-gold text-black font-black px-10 h-14 rounded-2xl hover:bg-white transition-all">
175-
DESCARGAR CREDENCIAL NFT
257+
</section>
258+
</main>
259+
260+
<footer className="max-w-5xl mx-auto mt-40 p-20 rounded-[5rem] bg-gradient-to-b from-white/[0.05] to-transparent border border-white/10 text-center relative overflow-hidden backdrop-blur-3xl">
261+
<Star className="w-16 h-16 text-alien-gold mx-auto mb-10 animate-pulse" />
262+
<h2 className="text-4xl font-nasalization mb-8 tracking-[0.3em] text-glow">MASTER CERTIFICATION</h2>
263+
<p className="text-base text-gray-500 mb-14 max-w-2xl mx-auto font-exo leading-relaxed">
264+
Complete the integration of the three flows to receive your on-chain NFT holographic credential.
265+
</p>
266+
<Button className="bg-alien-gold hover:bg-white text-black font-black px-20 h-20 rounded-[2rem] transition-all tracking-[0.3em] text-sm shadow-[0_0_30px_rgba(212,175,55,0.2)]">
267+
JOIN WAITLIST
176268
</Button>
177269
</footer>
178270
</div>

0 commit comments

Comments
 (0)