fix homepage image?

This commit is contained in:
2025-05-23 10:21:19 +02:00
parent b51811af8f
commit dcdae5cdcc

View File

@@ -1,4 +1,5 @@
import { GithubLinks } from '@/app/_components/github-links' import { GithubLinks } from '@/app/_components/github-links'
import { OptimizedImage } from '@/components/optimized-image'
import { Button } from '@/components/ui/button' import { Button } from '@/components/ui/button'
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
import { DropdownMenuTrigger } from '@/components/ui/dropdown-menu' import { DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
@@ -44,13 +45,12 @@ export default function Home() {
</Button> </Button>
</div> </div>
<div className='mt-8 w-full max-w-5xl rounded-lg border bg-card p-4 shadow-xl'> <div className='mt-8 w-full max-w-5xl rounded-lg border bg-card p-4 shadow-xl'>
<Image <OptimizedImage
src='/multiplayer-screenshot.jpeg' src='/multiplayer-screenshot.jpeg'
width={1200} width={1200}
height={600} height={600}
alt='Balatro Multiplayer Screenshot' alt='Balatro Multiplayer Screenshot'
className='rounded-md' className='rounded-md'
priority
/> />
</div> </div>
</div> </div>
@@ -339,7 +339,7 @@ export default function Home() {
</div> </div>
</div> </div>
<div className='flex items-center justify-center'> <div className='flex items-center justify-center'>
<Image <OptimizedImage
src='/multiplayer-screenshot.jpeg' src='/multiplayer-screenshot.jpeg'
width={500} width={500}
height={500} height={500}