wip
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import { Trophy, Medal, Target, Users, LucideIcon } from 'lucide-react';
|
||||
import { Card } from '@/ui/Card';
|
||||
import { LucideIcon } from 'lucide-react';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { Text } from '@/ui/Text';
|
||||
@@ -18,9 +17,9 @@ interface StatBoxProps {
|
||||
|
||||
export function StatBox({ icon, label, value, color }: StatBoxProps) {
|
||||
return (
|
||||
<Surface variant="muted" rounded="xl" border padding={4} style={{ backgroundColor: 'rgba(38, 38, 38, 0.5)', borderColor: '#262626', backdropFilter: 'blur(4px)' }}>
|
||||
<Surface variant="muted" rounded="xl" border padding={4}>
|
||||
<Stack direction="row" align="center" gap={3}>
|
||||
<Surface variant="muted" rounded="lg" padding={2} style={{ backgroundColor: `${color}20`, color }}>
|
||||
<Surface variant="muted" rounded="lg" padding={2}>
|
||||
<Icon icon={icon} size={5} />
|
||||
</Surface>
|
||||
<Box>
|
||||
|
||||
Reference in New Issue
Block a user