website cleanup

This commit is contained in:
2025-12-24 21:44:58 +01:00
parent 9b683a59d3
commit d78854a4c6
277 changed files with 6141 additions and 2693 deletions

View File

@@ -1,15 +1,28 @@
import Card from '@/components/ui/Card';
import type { FeedItemDTO } from '@core/social/application/dto/FeedItemDTO';
import type { Race } from '@core/racing/domain/entities/Race';
import type { RaceWithResultsDTO } from '@core/testing-support';
import type { DashboardFeedItemSummaryViewModel } from '@/lib/view-models/DashboardOverviewViewModel';
import FeedList from '@/components/feed/FeedList';
import UpcomingRacesSidebar from '@/components/races/UpcomingRacesSidebar';
import LatestResultsSidebar from '@/components/races/LatestResultsSidebar';
type FeedUpcomingRace = {
id: string;
track: string;
car: string;
scheduledAt: string | Date;
};
type FeedLatestResult = {
raceId: string;
track: string;
car: string;
winnerName: string;
scheduledAt: string | Date;
};
interface FeedLayoutProps {
feedItems: FeedItemDTO[];
upcomingRaces: Race[];
latestResults: RaceWithResultsDTO[];
feedItems: DashboardFeedItemSummaryViewModel[];
upcomingRaces: FeedUpcomingRace[];
latestResults: FeedLatestResult[];
}
export default function FeedLayout({
@@ -40,4 +53,4 @@ export default function FeedLayout({
</div>
</section>
);
}
}