website refactor

This commit is contained in:
2026-01-15 19:55:46 +01:00
parent 5ef149b782
commit ce7be39155
154 changed files with 436 additions and 356 deletions

View File

@@ -2,11 +2,12 @@ import React from 'react';
import { Box } from './Box';
import { Text } from './Text';
import { Icon } from './Icon';
import { LucideIcon } from 'lucide-react';
interface SponsorMetricCardProps {
label: string;
value: string | number;
icon: React.ComponentType<{ className?: string }>;
icon: LucideIcon;
color?: string;
trend?: {
value: number;
@@ -30,7 +31,7 @@ export function SponsorMetricCard({
borderColor="border-charcoal-outline"
>
<Box display="flex" alignItems="center" gap={1.5} className={color} mb={1}>
<Icon icon={icon as any} size={4} />
<Icon icon={icon} size={4} />
<Text size="xs" weight="medium">{label}</Text>
</Box>
<Box display="flex" alignItems="baseline" gap={2}>