harden media

This commit is contained in:
2025-12-31 15:39:28 +01:00
parent 92226800df
commit 8260bf7baf
413 changed files with 8361 additions and 1544 deletions

View File

@@ -1,7 +1,7 @@
'use client';
import MembershipStatus from '@/components/leagues/MembershipStatus';
import { useServices } from '@/lib/services/ServiceProvider';
import { getMediaUrl } from '@/lib/utilities/media';
import Image from 'next/image';
@@ -28,8 +28,7 @@ export default function LeagueHeader({
ownerId,
mainSponsor,
}: LeagueHeaderProps) {
const { mediaService } = useServices();
const logoUrl = mediaService.getLeagueLogo(leagueId);
const logoUrl = getMediaUrl('league-logo', leagueId);
return (
<div className="mb-8">