website refactor

This commit is contained in:
2026-01-18 16:43:32 +01:00
parent 13567d51af
commit b263de3a35
418 changed files with 1986 additions and 2161 deletions

View File

@@ -1,9 +1,9 @@
import { ReactNode } from 'react';
import { Box } from '@/ui/Box';
import { Surface } from '@/ui/Surface';
import { Box } from '@/ui/primitives/Box';
import { Surface } from '@/ui/primitives/Surface';
import { Text } from '@/ui/Text';
import { ReactNode } from 'react';
interface ActivityFeedItemProps {
icon: ReactNode;

View File

@@ -1,5 +1,5 @@
import React, { ReactNode } from 'react';
import { Stack } from '@/ui/Stack';
import { Stack } from '@/ui/primitives/Stack';
import { ReactNode } from 'react';
interface ActivityFeedListProps {
children: ReactNode;

View File

@@ -1,12 +1,12 @@
import { Card } from '@/ui/Card';
import { FeedList } from '@/components/feed/FeedList';
import { UpcomingRacesSidebar } from '@/components/races/UpcomingRacesSidebar';
import { LatestResultsSidebar } from '@/components/races/LatestResultsSidebar';
import { Section } from '@/ui/Section';
import { UpcomingRacesSidebar } from '@/components/races/UpcomingRacesSidebar';
import { Card } from '@/ui/Card';
import { Container } from '@/ui/Container';
import { Grid } from '@/ui/Grid';
import { Stack } from '@/ui/Stack';
import { Heading } from '@/ui/Heading';
import { Grid } from '@/ui/primitives/Grid';
import { Stack } from '@/ui/primitives/Stack';
import { Section } from '@/ui/Section';
import { Text } from '@/ui/Text';
interface FeedItemData {

View File

@@ -1,7 +1,6 @@
import React from 'react';
import { FeedEmptyState } from '@/ui/FeedEmptyState';
import { FeedItemCard } from '@/components/feed/FeedItemCard';
import { Stack } from '@/ui/Stack';
import { FeedEmptyState } from '@/ui/FeedEmptyState';
import { Stack } from '@/ui/primitives/Stack';
interface FeedItemData {
id: string;

View File

@@ -1,10 +1,10 @@
import { mediaConfig } from '@/lib/config/mediaConfig';
import { ActiveDriverCard } from '@/components/drivers/ActiveDriverCard';
import { Box } from '@/ui/Box';
import { mediaConfig } from '@/lib/config/mediaConfig';
import { Heading } from '@/ui/Heading';
import { Icon } from '@/ui/Icon';
import { Box } from '@/ui/primitives/Box';
import { Text } from '@/ui/Text';
import { Activity } from 'lucide-react';