add mlb page

This commit is contained in:
2025-04-25 16:35:53 +02:00
parent 0abc4d32aa
commit 78dff4ae2f
44 changed files with 2208 additions and 84 deletions

View File

@@ -1,9 +1,9 @@
"use client"
'use client'
import * as React from "react"
import * as AvatarPrimitive from "@radix-ui/react-avatar"
import * as AvatarPrimitive from '@radix-ui/react-avatar'
import type * as React from 'react'
import { cn } from "@/lib/utils"
import { cn } from '@/lib/utils'
function Avatar({
className,
@@ -11,9 +11,9 @@ function Avatar({
}: React.ComponentProps<typeof AvatarPrimitive.Root>) {
return (
<AvatarPrimitive.Root
data-slot="avatar"
data-slot='avatar'
className={cn(
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
'relative flex size-8 shrink-0 overflow-hidden rounded-full',
className
)}
{...props}
@@ -27,8 +27,8 @@ function AvatarImage({
}: React.ComponentProps<typeof AvatarPrimitive.Image>) {
return (
<AvatarPrimitive.Image
data-slot="avatar-image"
className={cn("aspect-square size-full", className)}
data-slot='avatar-image'
className={cn('aspect-square size-full object-cover!', className)}
{...props}
/>
)
@@ -40,9 +40,9 @@ function AvatarFallback({
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
return (
<AvatarPrimitive.Fallback
data-slot="avatar-fallback"
data-slot='avatar-fallback'
className={cn(
"bg-muted flex size-full items-center justify-center rounded-full",
'flex size-full items-center justify-center rounded-full bg-muted',
className
)}
{...props}