import React from 'react'; import { motion } from 'framer-motion'; import { Car, Trophy, Users } from 'lucide-react'; const USER_ROLES = [ { icon: Car, title: 'Driver', description: 'Race, track stats, join teams', color: 'primary-blue', }, { icon: Trophy, title: 'League Admin', description: 'Organize leagues and events', color: 'performance-green', }, { icon: Users, title: 'Team Manager', description: 'Manage team and drivers', color: 'purple-400', }, ]; interface UserRolesPreviewProps { variant?: 'full' | 'compact'; } export default function UserRolesPreview({ variant = 'full' }: UserRolesPreviewProps) { if (variant === 'compact') { return (

One account for all roles

{USER_ROLES.map((role) => (
{role.title}
))}
); } return (
{USER_ROLES.map((role, index) => (

{role.title}

{role.description}

))}
); }