Skip to content

Commit e3d6d1f

Browse files
committedFeb 20, 2025
chore: DIsable image optimisation for all avatars
1 parent da5ee6c commit e3d6d1f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
 

Diff for: ‎packages/docs/src/app/(pages)/_landing/sponsors.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Button } from '@/src/components/ui/button'
22
import { Heart } from 'lucide-react'
3-
import Image from 'next/image'
43
import { ReactNode } from 'react'
54
import { z } from 'zod'
65

@@ -15,7 +14,7 @@ export async function SponsorsSection() {
1514
{sponsors.map(sponsor => (
1615
<li key={sponsor.handle} className="flex flex-col items-center">
1716
<a href={sponsor.url} className="h-32 w-32 rounded-full">
18-
<Image
17+
<img
1918
src={sponsor.img}
2019
alt={sponsor.name ?? sponsor.handle}
2120
className="mx-auto size-28 rounded-full"

Diff for: ‎packages/docs/src/components/quote.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* @see https://v0.dev/t/3bPRztjwG1M
44
*/
55

6-
import Image from 'next/image'
7-
86
type QuoteProps = {
97
author: {
108
name: string
@@ -19,7 +17,7 @@ export function Quote({ text, author, url }: QuoteProps) {
1917
return (
2018
<div className="mx-auto flex w-full max-w-md flex-col gap-4 rounded-lg bg-white p-6 shadow-md dark:bg-zinc-900">
2119
<div className="flex items-center gap-3">
22-
<Image
20+
<img
2321
src={author.avatar}
2422
alt={author.name}
2523
width={36}

0 commit comments

Comments
 (0)