import React from "react"; import { Badge } from "../components/ui/badge"; import { Card, CardHeader, CardTitle, CardContent, CardDescription, CardFooter } from "../components/ui/card"; import { Button } from "../components/ui/button"; import { Switch } from "../components/ui/switch"; import { Input } from "../components/ui/input"; import { Label } from "../components/ui/label"; import { Textarea } from "../components/ui/textarea"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/ui/select"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../components/ui/tooltip"; import { FeatureCard } from "../components/feature-card"; import { InfoCard } from "../components/info-card"; import { SectionHeader } from "../components/section-header"; import { TestimonialCard } from "../components/testimonial-card"; import { StatCard } from "../components/stat-card"; import { LootdropCard } from "../components/lootdrop-card"; import { LeaderboardCard, type LeaderboardData } from "../components/leaderboard-card"; import { ActivityChart } from "../components/activity-chart"; import { RecentActivity } from "../components/recent-activity"; import { QuestForm } from "../components/quest-form"; import { Activity, Coins, Flame, Trophy, Check, User, Mail, Shield, Bell } from "lucide-react"; import { type RecentEvent, type ActivityData } from "@shared/modules/dashboard/dashboard.types"; // Mock Data const mockEvents: RecentEvent[] = [ { type: 'success', message: 'User leveled up to 5', timestamp: new Date(Date.now() - 1000 * 60 * 5), icon: '⬆️' }, { type: 'info', message: 'New user joined', timestamp: new Date(Date.now() - 1000 * 60 * 15), icon: '👋' }, { type: 'warn', message: 'Failed login attempt', timestamp: new Date(Date.now() - 1000 * 60 * 60), icon: '⚠️' } ]; const mockActivityData: ActivityData[] = Array.from({ length: 24 }).map((_, i) => { const d = new Date(); d.setHours(d.getHours() - (23 - i)); d.setMinutes(0, 0, 0); return { hour: d.toISOString(), commands: Math.floor(Math.random() * 100) + 20, transactions: Math.floor(Math.random() * 60) + 10 }; }); const mockLeaderboardData: LeaderboardData = { topLevels: [ { username: "StellarMage", level: 99 }, { username: "MoonWalker", level: 85 }, { username: "SunChaser", level: 72 }, ], topWealth: [ { username: "GoldHoarder", balance: "1000000" }, { username: "MerchantKing", balance: "750000" }, { username: "LuckyLooter", balance: "500000" }, ], topNetWorth: [ { username: "MerchantKing", netWorth: "1500000" }, { username: "GoldHoarder", netWorth: "1250000" }, { username: "LuckyLooter", netWorth: "850000" }, ] }; export function DesignSystem() { return (
The Solaris design language. A cohesive collection of celestial components, glassmorphic surfaces, and radiant interactions.
This is a glowing tooltip!
The default card component comes with built-in separation and padding.
Use this variation to draw attention to specific content blocks.
{label}