website refactor

This commit is contained in:
2026-01-18 23:36:04 +01:00
parent 182056a57b
commit 7c1cf62d4e
16 changed files with 317 additions and 373 deletions

View File

@@ -1,10 +1,9 @@
'use client';
import { Image } from '@/ui/Image';
import { PlaceholderImage } from '@/ui/PlaceholderImage';
import { TeamLogo } from '@/components/teams/TeamLogo';
import { TeamCard as UITeamCard } from '@/ui/TeamCard';
import React, { ReactNode } from 'react';
interface TeamCardProps {
name: string;
description?: string;
@@ -19,7 +18,7 @@ interface TeamCardProps {
statsContent?: ReactNode;
onClick?: () => void;
}
export function TeamCard({
name,
description,
@@ -42,17 +41,7 @@ export function TeamCard({
region={region}
onClick={onClick}
logo={
logo ? (
<Image
src={logo}
alt={name}
fullWidth
fullHeight
objectFit="cover"
/>
) : (
<PlaceholderImage />
)
<TeamLogo src={logo} alt={name} size={64} />
}
badges={
<>