code quality

This commit is contained in:
2026-01-26 17:56:11 +01:00
parent 3a4f460a7d
commit f2bd80ccd3
81 changed files with 301 additions and 311 deletions

View File

@@ -1,35 +1,33 @@
'use client';
import { LeagueCard } from '@/components/leagues/LeagueCardWrapper';
import type { LeaguesViewData } from '@/lib/view-data/LeaguesViewData';
import { CategoryId, LeagueCategory } from '@/lib/config/leagueCategories';
import { TemplateProps } from '@/lib/contracts/components/ComponentContracts';
import { LeaguesViewData } from '@/lib/view-data/LeaguesViewData';
import { LeagueSummaryViewModel } from '@/lib/view-models/LeagueSummaryViewModel';
import { LEAGUE_CATEGORIES, CategoryId, LeagueCategory } from '@/lib/config/leagueCategories';
import { PageHeader } from '@/ui/PageHeader';
import { Heading } from '@/ui/Heading';
import { Input } from '@/ui/Input';
import { Button } from '@/ui/Button';
import { Group } from '@/ui/Group';
import { Box } from '@/ui/Box';
import { Container } from '@/ui/Container';
import { Button } from '@/ui/Button';
import { ControlBar } from '@/ui/ControlBar';
import { FeatureGrid } from '@/ui/FeatureGrid';
import { Group } from '@/ui/Group';
import { Heading } from '@/ui/Heading';
import { Icon } from '@/ui/Icon';
import { Input } from '@/ui/Input';
import { MetricCard } from '@/ui/MetricCard';
import { PageHeader } from '@/ui/PageHeader';
import { Section } from '@/ui/Section';
import { SegmentedControl } from '@/ui/SegmentedControl';
import { Stack } from '@/ui/Stack';
import { Surface } from '@/ui/Surface';
import { Text } from '@/ui/Text';
import { Icon } from '@/ui/Icon';
import { Section } from '@/ui/Section';
import { ControlBar } from '@/ui/ControlBar';
import { SegmentedControl } from '@/ui/SegmentedControl';
import { MetricCard } from '@/ui/MetricCard';
import { FeatureGrid } from '@/ui/FeatureGrid';
import {
Plus,
Search,
Trophy,
Filter,
Sparkles,
type LucideIcon,
Filter,
Plus,
Search,
Sparkles,
Trophy
} from 'lucide-react';
import React from 'react';
import { TemplateProps } from '@/lib/contracts/components/ComponentContracts';
interface LeaguesTemplateProps extends TemplateProps<LeaguesViewData> {
searchQuery: string;