website refactor
This commit is contained in:
@@ -1,18 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
import { SponsorMetricCard } from '@/components/sponsors/SponsorMetricCard';
|
||||
import { SponsorshipTierBadge } from '@/components/sponsors/SponsorshipTierBadge';
|
||||
import { SponsorSlotCard } from '@/components/sponsors/SponsorSlotCard';
|
||||
import { Button } from '@/ui/Button';
|
||||
import { Card } from '@/ui/Card';
|
||||
import { Heading } from '@/ui/Heading';
|
||||
import { Icon } from '@/ui/Icon';
|
||||
import { InfoBox } from '@/ui/InfoBox';
|
||||
import { Stack } from '@/ui/primitives/Stack';
|
||||
import { Text } from '@/ui/Text';
|
||||
import {
|
||||
Activity,
|
||||
Check,
|
||||
Loader2,
|
||||
MessageCircle,
|
||||
Shield,
|
||||
Target,
|
||||
Users,
|
||||
Zap,
|
||||
Calendar,
|
||||
LucideIcon
|
||||
Activity,
|
||||
Calendar,
|
||||
Check,
|
||||
Loader2,
|
||||
LucideIcon,
|
||||
MessageCircle,
|
||||
Shield,
|
||||
Target,
|
||||
Users,
|
||||
Zap
|
||||
} from 'lucide-react';
|
||||
import { useCallback, useState } from 'react';
|
||||
import { getEntityLabel, getSponsorshipTagline, getTierStyles } from './SponsorInsightsCardHelpers';
|
||||
import { SponsorMetric, SponsorshipSlot } from './SponsorInsightsCardTypes';
|
||||
|
||||
const ICON_MAP: Record<string, LucideIcon> = {
|
||||
users: Users,
|
||||
@@ -23,18 +35,6 @@ const ICON_MAP: Record<string, LucideIcon> = {
|
||||
target: Target,
|
||||
message: MessageCircle,
|
||||
};
|
||||
import { Button } from '@/ui/Button';
|
||||
import { Card } from '@/ui/Card';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Text } from '@/ui/Text';
|
||||
import { Heading } from '@/ui/Heading';
|
||||
import { Icon } from '@/ui/Icon';
|
||||
import { SponsorMetricCard } from '@/components/sponsors/SponsorMetricCard';
|
||||
import { SponsorSlotCard } from '@/components/sponsors/SponsorSlotCard';
|
||||
import { SponsorshipTierBadge } from '@/components/sponsors/SponsorshipTierBadge';
|
||||
import { InfoBox } from '@/ui/InfoBox';
|
||||
import { SponsorMetric, SponsorshipSlot } from './SponsorInsightsCardTypes';
|
||||
import { getTierStyles, getEntityLabel, getSponsorshipTagline } from './SponsorInsightsCardHelpers';
|
||||
|
||||
export type EntityType = 'league' | 'race' | 'driver' | 'team';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user