Skip to content

Commit 974edfc

Browse files
Refactor: Alphabetize services and restore content
- Alphabetized the service cards in the CoNetWorKing section. - Restored the previous content below the partners section. - Re-added the real-time world network display.
1 parent aeee852 commit 974edfc

File tree

1 file changed

+122
-27
lines changed

1 file changed

+122
-27
lines changed

src/pages/CoNetWorKing.tsx

Lines changed: 122 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
21
import React from 'react';
32
import StarBackground from '@/components/StarBackground';
4-
import { Network, TrendingUp, Shield, Coins, Sprout, Pickaxe, Layers, Dna, FlaskConical, Gamepad2, Database, Zap, Leaf, Building, Users, Landmark } from 'lucide-react';
3+
import { Network, TrendingUp, Shield, Coins, Sprout, Pickaxe, Layers, Dna, FlaskConical, Gamepad2, Database, Zap, Leaf, Building, Users, Landmark, Globe } from 'lucide-react';
54
import { Button } from '@/components/ui/button';
65
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
6+
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
77

88
type ServiceProps = {
99
title: string;
@@ -36,12 +36,24 @@ const CoNetWorKing: React.FC = () => {
3636
icon: <TrendingUp className="h-8 w-8 text-white" />,
3737
color: "bg-gradient-to-br from-blue-500 to-cyan-400"
3838
},
39+
{
40+
title: "BioFi",
41+
description: "Revolutionize biotechnology funding through decentralized finance. Support and invest in groundbreaking biological research and medical innovations.",
42+
icon: <Dna className="h-8 w-8 text-white" />,
43+
color: "bg-gradient-to-br from-teal-500 to-blue-400"
44+
},
3945
{
4046
title: "DeFi (Decentralized Finance)",
4147
description: "Explore a new financial approach. Access financial services without depending on traditional institutions, with your own private keys and without exposing sensitive data.",
4248
icon: <Shield className="h-8 w-8 text-white" />,
4349
color: "bg-gradient-to-br from-purple-500 to-pink-400"
4450
},
51+
{
52+
title: "DeSci (Decentralized Science)",
53+
description: "Transform scientific research through blockchain technology. Enable transparent, collaborative, and incentivized scientific discoveries.",
54+
icon: <FlaskConical className="h-8 w-8 text-white" />,
55+
color: "bg-gradient-to-br from-indigo-500 to-purple-400"
56+
},
4557
{
4658
title: "Dual Investment",
4759
description: "Maximize your profits by participating in different investment opportunities at the same time.",
@@ -54,30 +66,6 @@ const CoNetWorKing: React.FC = () => {
5466
icon: <Sprout className="h-8 w-8 text-white" />,
5567
color: "bg-gradient-to-br from-lime-500 to-green-400"
5668
},
57-
{
58-
title: "Mining",
59-
description: "Mine cryptocurrencies easily. With our Mining system, you can contribute to the network and be rewarded for it.",
60-
icon: <Pickaxe className="h-8 w-8 text-white" />,
61-
color: "bg-gradient-to-br from-orange-500 to-yellow-400"
62-
},
63-
{
64-
title: "Staking",
65-
description: "Earn by staying active! Our Staking system allows you to earn rewards by keeping your cryptocurrencies with our CoNetWorKing.",
66-
icon: <Coins className="h-8 w-8 text-white" />,
67-
color: "bg-gradient-to-br from-red-500 to-pink-400"
68-
},
69-
{
70-
title: "BioFi",
71-
description: "Revolutionize biotechnology funding through decentralized finance. Support and invest in groundbreaking biological research and medical innovations.",
72-
icon: <Dna className="h-8 w-8 text-white" />,
73-
color: "bg-gradient-to-br from-teal-500 to-blue-400"
74-
},
75-
{
76-
title: "DeSci (Decentralized Science)",
77-
description: "Transform scientific research through blockchain technology. Enable transparent, collaborative, and incentivized scientific discoveries.",
78-
icon: <FlaskConical className="h-8 w-8 text-white" />,
79-
color: "bg-gradient-to-br from-indigo-500 to-purple-400"
80-
},
8169
{
8270
title: "GameFi",
8371
description: "Play to earn in the new gaming economy. Combine gaming entertainment with financial rewards through blockchain-based gaming platforms.",
@@ -114,6 +102,12 @@ const CoNetWorKing: React.FC = () => {
114102
icon: <Users className="h-8 w-8 text-white" />,
115103
color: "bg-gradient-to-br from-pink-500 to-rose-400"
116104
},
105+
{
106+
title: "Staking",
107+
description: "Earn by staying active! Our Staking system allows you to earn rewards by keeping your cryptocurrencies with our CoNetWorKing.",
108+
icon: <Coins className="h-8 w-8 text-white" />,
109+
color: "bg-gradient-to-br from-red-500 to-pink-400"
110+
},
117111
{
118112
title: "TradFi",
119113
description: "Bridge traditional finance with decentralized systems. Integrate conventional financial services with blockchain technology for enhanced efficiency.",
@@ -145,6 +139,52 @@ const CoNetWorKing: React.FC = () => {
145139
}
146140
];
147141

142+
const communityMembers = [
143+
{
144+
name: "Sophia Chen",
145+
avatar: "https://images.unsplash.com/photo-1649972904349-6e44c42644a7?q=80&w=150&h=150&auto=format&fit=crop",
146+
role: "DeFi Strategist",
147+
location: "Singapore"
148+
},
149+
{
150+
name: "Aria Nakamura",
151+
avatar: "https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=150&h=150&auto=format&fit=crop",
152+
role: "Blockchain Developer",
153+
location: "Tokyo"
154+
},
155+
{
156+
name: "Luna Rodriguez",
157+
avatar: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?q=80&w=150&h=150&auto=format&fit=crop",
158+
role: "NFT Artist",
159+
location: "Barcelona"
160+
},
161+
{
162+
name: "Zara Al-Rashid",
163+
avatar: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=150&h=150&auto=format&fit=crop",
164+
role: "Crypto Analyst",
165+
location: "Dubai"
166+
},
167+
{
168+
name: "Isabella Kim",
169+
avatar: "https://images.unsplash.com/photo-1607746882042-944635dfe10e?q=80&w=150&h=150&auto=format&fit=crop",
170+
role: "GameFi Designer",
171+
location: "Seoul"
172+
},
173+
{
174+
name: "Amara Okafor",
175+
avatar: "https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?q=80&w=150&h=150&auto=format&fit=crop",
176+
role: "ReFi Advocate",
177+
location: "Lagos"
178+
}
179+
];
180+
181+
const networkStats = [
182+
{ label: "Active Users", value: "2,847,392", change: "+12.5%" },
183+
{ label: "Total Volume", value: "$1.2B", change: "+8.3%" },
184+
{ label: "Countries", value: "127", change: "+3" },
185+
{ label: "Transactions/sec", value: "15,847", change: "+24.7%" }
186+
];
187+
148188
return (
149189
<div className="min-h-screen bg-alien-space relative overflow-hidden">
150190
{/* Background Network Image */}
@@ -190,7 +230,7 @@ const CoNetWorKing: React.FC = () => {
190230
</div>
191231

192232
{/* Partners Section */}
193-
<div className="mb-16">
233+
<div className="mb-20">
194234
<h2 className="text-3xl font-bold text-alien-gold mb-12 text-center font-[Atomic Age]">
195235
Our Partners
196236
</h2>
@@ -218,6 +258,61 @@ const CoNetWorKing: React.FC = () => {
218258
))}
219259
</div>
220260
</div>
261+
262+
{/* Community Members Section */}
263+
<div className="mb-20">
264+
<h2 className="text-3xl font-bold text-alien-gold mb-12 text-center font-[Atomic Age]">
265+
Global Community
266+
</h2>
267+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
268+
{communityMembers.map((member, index) => (
269+
<Card key={index} className="bg-alien-space-dark/70 backdrop-blur-md border border-alien-gold/30 hover:border-alien-gold/60 transition-all duration-300 hover:scale-105">
270+
<CardHeader className="text-center">
271+
<Avatar className="mx-auto mb-4 w-20 h-20 border-2 border-alien-gold">
272+
<AvatarImage src={member.avatar} alt={member.name} />
273+
<AvatarFallback>{member.name.split(' ').map(n => n[0]).join('')}</AvatarFallback>
274+
</Avatar>
275+
<CardTitle className="text-alien-gold font-[Atomic Age] text-lg">
276+
{member.name}
277+
</CardTitle>
278+
<CardDescription className="text-alien-green font-[Exo]">
279+
{member.role}
280+
</CardDescription>
281+
</CardHeader>
282+
<CardContent className="text-center pt-0">
283+
<p className="text-gray-300 font-[Exo] text-sm">
284+
📍 {member.location}
285+
</p>
286+
</CardContent>
287+
</Card>
288+
))}
289+
</div>
290+
</div>
291+
292+
{/* Real-time Network Stats */}
293+
<div className="mb-16">
294+
<h2 className="text-3xl font-bold text-alien-gold mb-12 text-center font-[Atomic Age]">
295+
Live Network Stats
296+
</h2>
297+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
298+
{networkStats.map((stat, index) => (
299+
<Card key={index} className="bg-alien-space-dark/70 backdrop-blur-md border border-alien-gold/30 hover:border-alien-gold/60 transition-all duration-300">
300+
<CardContent className="p-6 text-center">
301+
<Globe className="h-8 w-8 text-alien-green mx-auto mb-4 animate-pulse" />
302+
<div className="text-2xl font-bold text-alien-gold font-[Atomic Age] mb-2">
303+
{stat.value}
304+
</div>
305+
<div className="text-gray-300 font-[Exo] text-sm mb-2">
306+
{stat.label}
307+
</div>
308+
<div className="text-alien-green font-[Exo] text-xs">
309+
{stat.change}
310+
</div>
311+
</CardContent>
312+
</Card>
313+
))}
314+
</div>
315+
</div>
221316

222317
{/* CTA Section */}
223318
<div className="bg-gradient-to-r from-alien-green/20 to-alien-gold/20 rounded-xl p-12 text-center backdrop-blur-md border border-alien-gold/30">

0 commit comments

Comments
 (0)