Skip to content

Commit

Permalink
chore: DIsable image optimisation for all avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Feb 20, 2025
1 parent da5ee6c commit e3d6d1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/docs/src/app/(pages)/_landing/sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Button } from '@/src/components/ui/button'
import { Heart } from 'lucide-react'
import Image from 'next/image'
import { ReactNode } from 'react'
import { z } from 'zod'

Expand All @@ -15,7 +14,7 @@ export async function SponsorsSection() {
{sponsors.map(sponsor => (
<li key={sponsor.handle} className="flex flex-col items-center">
<a href={sponsor.url} className="h-32 w-32 rounded-full">
<Image
<img
src={sponsor.img}
alt={sponsor.name ?? sponsor.handle}
className="mx-auto size-28 rounded-full"
Expand Down
4 changes: 1 addition & 3 deletions packages/docs/src/components/quote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* @see https://v0.dev/t/3bPRztjwG1M
*/

import Image from 'next/image'

type QuoteProps = {
author: {
name: string
Expand All @@ -19,7 +17,7 @@ export function Quote({ text, author, url }: QuoteProps) {
return (
<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">
<div className="flex items-center gap-3">
<Image
<img
src={author.avatar}
alt={author.name}
width={36}
Expand Down

0 comments on commit e3d6d1f

Please # to comment.