Skip to content

Commit 049c08a

Browse files
Fix: Slow down the price ticker
The AI will fix the speed of the price ticker. The AI will also improve the UX/UI of the financial freedom section and add missing official logos in academy and conetworking.
1 parent d86611e commit 049c08a

File tree

6 files changed

+212
-248
lines changed

6 files changed

+212
-248
lines changed

src/assets/academy-logo.png

25 KB
Loading

src/assets/conetworking-logo.png

14.2 KB
Loading

src/components/FinancialFreedomSection.tsx

Lines changed: 199 additions & 243 deletions
Large diffs are not rendered by default.

src/components/PriceTicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const PriceTicker = () => {
3939
widgetElement.setAttribute('outlined', 'true');
4040
widgetElement.setAttribute('coin-ids', 'bitcoin,tether-gold,ethereum,binancecoin,bitcoin-cash,bittensor,aave,solana,hyperliquid,avalanche-2,chainlink,injective-protocol,uniswap,internet-computer,aptos,cosmos,bitget-token,polkadot,sui,the-open-network,near,celestia,nexo,pi-network,tron,polygon-ecosystem-token,pancakeswap-token,osmosis,crypto-com-chain');
4141
widgetElement.setAttribute('initial-currency', 'usd');
42-
widgetElement.setAttribute('speed', '50'); // Slower speed for better readability
42+
widgetElement.setAttribute('speed', '30'); // Much slower speed for better readability
4343

4444
containerRef.current.appendChild(widgetElement);
4545

src/pages/Academy.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import StarBackground from '@/components/StarBackground';
44
import { GraduationCap, BookOpen, Video, Users, Award, Sparkles, Leaf, Brain, Coins, ShoppingCart, Heart, Lightbulb, ExternalLink } from 'lucide-react';
55
import { Button } from '@/components/ui/button';
66
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
7+
import academyLogo from '@/assets/academy-logo.png';
78

89
const CourseCard = ({
910
title,
@@ -377,9 +378,9 @@ const Academy: React.FC = () => {
377378
<div className="text-center mb-12">
378379
<div className="inline-flex items-center justify-center w-20 h-20 bg-alien-gold/20 rounded-full mb-6 border-2 border-alien-gold/40 backdrop-blur-md">
379380
<img
380-
src="/lovable-uploads/bdb8277c-dc0f-4a67-8159-804f77ad3567.png"
381-
alt="Academy Logo"
382-
className="h-12 w-12 object-contain"
381+
src={academyLogo}
382+
alt="Academy Official Logo"
383+
className="h-14 w-14 object-contain"
383384
/>
384385
</div>
385386
<h1 className="text-4xl md:text-5xl font-bold text-alien-gold mb-6 font-nasalization text-glow">

src/pages/CoNetWorKing.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Network, TrendingUp, Shield, Coins, Sprout, Pickaxe, Layers, Dna, Flask
44
import { Button } from '@/components/ui/button';
55
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
66
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
7+
import conetworkingLogo from '@/assets/conetworking-logo.png';
78

89
type ServiceProps = {
910
title: string;
@@ -286,7 +287,13 @@ const CoNetWorKing: React.FC = () => {
286287
<div className="max-w-7xl mx-auto">
287288
{/* Hero Section */}
288289
<div className="text-center mb-20">
289-
<Network className="h-20 w-20 text-alien-gold mx-auto mb-6 animate-pulse" />
290+
<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">
291+
<img
292+
src={conetworkingLogo}
293+
alt="CoNetWorKing Official Logo"
294+
className="h-16 w-16 object-contain"
295+
/>
296+
</div>
290297
<h1 className="text-5xl md:text-7xl font-bold text-alien-gold mb-8 font-[Atomic Age, Star Wars] text-glow">
291298
CoNetWorKing
292299
</h1>

0 commit comments

Comments
 (0)