website refactor

This commit is contained in:
2026-01-17 15:46:55 +01:00
parent 4d5ce9bfd6
commit 72a626ce71
346 changed files with 19308 additions and 8605 deletions

View File

@@ -0,0 +1,28 @@
'use client';
import React from 'react';
import { Grid } from '@/ui/Grid';
import { LiveryCard } from '@/ui/LiveryCard';
import { ProfileSection } from './ProfileSection';
import { ProfileLiveryViewData } from '@/lib/view-data/ProfileLiveriesViewData';
interface LiveryGalleryProps {
liveries: ProfileLiveryViewData[];
action?: React.ReactNode;
}
export function LiveryGallery({ liveries, action }: LiveryGalleryProps) {
return (
<ProfileSection
title="My Liveries"
description="Manage your custom car liveries and designs."
action={action}
>
<Grid cols={3} gap={6}>
{liveries.map((livery) => (
<LiveryCard key={livery.id} livery={livery} />
))}
</Grid>
</ProfileSection>
);
}