feat: about page
This commit is contained in:
parent
0e61ab1903
commit
de3f8a4929
3 changed files with 181 additions and 3 deletions
|
|
@ -29,7 +29,8 @@
|
||||||
Scale,
|
Scale,
|
||||||
ShieldCheck,
|
ShieldCheck,
|
||||||
Hammer,
|
Hammer,
|
||||||
BookOpen
|
BookOpen,
|
||||||
|
Info
|
||||||
} from 'lucide-svelte';
|
} from 'lucide-svelte';
|
||||||
import { mode, setMode } from 'mode-watcher';
|
import { mode, setMode } from 'mode-watcher';
|
||||||
import type { HTMLAttributes } from 'svelte/elements';
|
import type { HTMLAttributes } from 'svelte/elements';
|
||||||
|
|
@ -55,7 +56,8 @@
|
||||||
{ title: 'Leaderboard', url: '/leaderboard', icon: Trophy },
|
{ title: 'Leaderboard', url: '/leaderboard', icon: Trophy },
|
||||||
{ title: 'Portfolio', url: '/portfolio', icon: BriefcaseBusiness },
|
{ title: 'Portfolio', url: '/portfolio', icon: BriefcaseBusiness },
|
||||||
{ title: 'Treemap', url: '/treemap', icon: ChartColumn },
|
{ title: 'Treemap', url: '/treemap', icon: ChartColumn },
|
||||||
{ title: 'Create coin', url: '/coin/create', icon: Coins }
|
{ title: 'Create coin', url: '/coin/create', icon: Coins },
|
||||||
|
{ title: 'About', url: '/about', icon: Info }
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
type MenuButtonProps = HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>;
|
type MenuButtonProps = HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>;
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,10 @@
|
||||||
'/hopium': 'Hopium',
|
'/hopium': 'Hopium',
|
||||||
'/gambling': 'Gambling',
|
'/gambling': 'Gambling',
|
||||||
'/live': 'Live Trades',
|
'/live': 'Live Trades',
|
||||||
'/treemap': 'Treemap'
|
'/treemap': 'Treemap',
|
||||||
|
'/about': 'About',
|
||||||
|
'/legal/privacy': 'Privacy Policy',
|
||||||
|
'/legal/terms': 'Terms of Service',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handle dynamic routes
|
// Handle dynamic routes
|
||||||
|
|
|
||||||
173
website/src/routes/about/+page.svelte
Normal file
173
website/src/routes/about/+page.svelte
Normal file
|
|
@ -0,0 +1,173 @@
|
||||||
|
<script lang="ts">
|
||||||
|
import { Card, CardContent, CardHeader, CardTitle } from '$lib/components/ui/card';
|
||||||
|
import { Button } from '$lib/components/ui/button';
|
||||||
|
import {
|
||||||
|
BookOpen,
|
||||||
|
Github,
|
||||||
|
Youtube,
|
||||||
|
Twitter,
|
||||||
|
User,
|
||||||
|
Coins,
|
||||||
|
TrendingUp,
|
||||||
|
Shield
|
||||||
|
} from 'lucide-svelte';
|
||||||
|
import UserManualModal from '$lib/components/self/UserManualModal.svelte';
|
||||||
|
|
||||||
|
let showUserManual = $state(false);
|
||||||
|
function handleManual() {
|
||||||
|
showUserManual = !showUserManual;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<UserManualModal bind:open={showUserManual} />
|
||||||
|
|
||||||
|
<svelte:head>
|
||||||
|
<title>About - Rugplay</title>
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="Learn about Rugplay - a realistic cryptocurrency trading simulation focusing on DeFi risks and mechanics."
|
||||||
|
/>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
|
<div class="container mx-auto space-y-8 px-4 py-8">
|
||||||
|
<div class="space-y-4 text-center">
|
||||||
|
<div class="mb-4 flex items-center justify-center gap-2">
|
||||||
|
<img src="/rugplay.svg" class="h-12 w-12" alt="Rugplay" />
|
||||||
|
<h1 class="text-4xl font-bold">Rugplay</h1>
|
||||||
|
</div>
|
||||||
|
<p class="text-muted-foreground mx-auto max-w-2xl text-lg">
|
||||||
|
A crypto trading simulator where you can practice trading without losing real money. Create
|
||||||
|
coins, trade them, and rug pull!
|
||||||
|
</p>
|
||||||
|
<div class="flex flex-wrap justify-center gap-4">
|
||||||
|
<Button onclick={handleManual} size="lg">
|
||||||
|
<BookOpen class="h-4 w-4" />
|
||||||
|
User Manual
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
|
||||||
|
<Card>
|
||||||
|
<CardHeader>
|
||||||
|
<CardTitle class="flex items-center gap-2">
|
||||||
|
<Coins class="text-primary h-5 w-5" />
|
||||||
|
About Rugplay
|
||||||
|
</CardTitle>
|
||||||
|
</CardHeader>
|
||||||
|
<CardContent>
|
||||||
|
<div class="space-y-3">
|
||||||
|
<p class="text-muted-foreground text-sm">
|
||||||
|
Rugplay is a realistic cryptocurrency trading simulation that focuses on DeFi
|
||||||
|
(Decentralized Finance) mechanics and the inherent risks of decentralized trading.
|
||||||
|
</p>
|
||||||
|
<p class="text-muted-foreground text-sm">
|
||||||
|
Practice trading strategies, create your own coins, and learn about market dynamics
|
||||||
|
without any real financial risk. Experience AMM trading, liquidity pools, and even rug
|
||||||
|
pulls. (duh)
|
||||||
|
</p>
|
||||||
|
<p class="text-muted-foreground text-sm">
|
||||||
|
Join the community of degenerates where paranoia is profitable!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
|
||||||
|
<Card>
|
||||||
|
<CardHeader>
|
||||||
|
<CardTitle class="flex items-center gap-2">
|
||||||
|
<TrendingUp class="text-primary h-5 w-5" />
|
||||||
|
Features
|
||||||
|
</CardTitle>
|
||||||
|
</CardHeader>
|
||||||
|
<CardContent>
|
||||||
|
<div class="space-y-2">
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>🪙</span>
|
||||||
|
<span>Create coins</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>🟢</span>
|
||||||
|
<span>Buy coins</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>🔴</span>
|
||||||
|
<span>Sell coins</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>⚖️</span>
|
||||||
|
<span>Bet on questions (similar to Polymarket)</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>🎲</span>
|
||||||
|
<span>Gamble it all</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>📊</span>
|
||||||
|
<span>View a Treemap graph of the entire market</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2 text-sm">
|
||||||
|
<span>🏆</span>
|
||||||
|
<span>Compete on leaderboards</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
|
||||||
|
<Card>
|
||||||
|
<CardHeader>
|
||||||
|
<CardTitle class="flex items-center gap-2">
|
||||||
|
<User class="text-primary h-5 w-5" />
|
||||||
|
Credits
|
||||||
|
</CardTitle>
|
||||||
|
</CardHeader>
|
||||||
|
<CardContent>
|
||||||
|
<div class="space-y-4">
|
||||||
|
<p class="text-muted-foreground text-sm">Created by <strong>FaceDev</strong></p>
|
||||||
|
<div class="flex flex-wrap gap-2">
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
href="https://youtube.com/@FaceDevStuff"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
<Youtube class="h-4 w-4" />
|
||||||
|
YouTube
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
href="https://x.com/facedevstuff"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
<Twitter class="h-4 w-4" />
|
||||||
|
Twitter
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
href="https://github.com/outpoot/rugplay"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
<Github class="h-4 w-4" />
|
||||||
|
GitHub
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
href="https://discord.gg/facedev"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
<Shield class="h-4 w-4" />
|
||||||
|
Discord
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Reference in a new issue