fix(blog): revert back to using next image tags in blog (#2458)
@@ -64,7 +64,6 @@ export default async function Page({ params }: { params: Promise<{ slug: string
|
|||||||
sizes='(max-width: 768px) 100vw, 450px'
|
sizes='(max-width: 768px) 100vw, 450px'
|
||||||
priority
|
priority
|
||||||
itemProp='image'
|
itemProp='image'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -145,7 +144,6 @@ export default async function Page({ params }: { params: Promise<{ slug: string
|
|||||||
className='h-[160px] w-full object-cover'
|
className='h-[160px] w-full object-cover'
|
||||||
sizes='(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw'
|
sizes='(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
<div className='p-3'>
|
<div className='p-3'>
|
||||||
<div className='mb-1 text-gray-600 text-xs'>
|
<div className='mb-1 text-gray-600 text-xs'>
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ export default async function AuthorPage({ params }: { params: Promise<{ id: str
|
|||||||
width={40}
|
width={40}
|
||||||
height={40}
|
height={40}
|
||||||
className='rounded-full'
|
className='rounded-full'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
<h1 className='font-medium text-[32px] leading-tight'>{author.name}</h1>
|
<h1 className='font-medium text-[32px] leading-tight'>{author.name}</h1>
|
||||||
@@ -53,7 +52,6 @@ export default async function AuthorPage({ params }: { params: Promise<{ id: str
|
|||||||
width={600}
|
width={600}
|
||||||
height={315}
|
height={315}
|
||||||
className='h-[160px] w-full object-cover transition-transform group-hover:scale-[1.02]'
|
className='h-[160px] w-full object-cover transition-transform group-hover:scale-[1.02]'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
<div className='p-3'>
|
<div className='p-3'>
|
||||||
<div className='mb-1 text-gray-600 text-xs'>
|
<div className='mb-1 text-gray-600 text-xs'>
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ export default async function StudioIndex({
|
|||||||
className='h-48 w-full object-cover'
|
className='h-48 w-full object-cover'
|
||||||
sizes='(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw'
|
sizes='(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
<div className='flex flex-1 flex-col p-4'>
|
<div className='flex flex-1 flex-col p-4'>
|
||||||
<div className='mb-2 text-gray-600 text-xs'>
|
<div className='mb-2 text-gray-600 text-xs'>
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"name": "Emir Karabeg",
|
"name": "Emir Karabeg",
|
||||||
"url": "https://x.com/karabegemir",
|
"url": "https://x.com/karabegemir",
|
||||||
"xHandle": "karabegemir",
|
"xHandle": "karabegemir",
|
||||||
"avatarUrl": "/studio/authors/emir.png"
|
"avatarUrl": "/studio/authors/emir.jpg"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"name": "Siddharth",
|
"name": "Siddharth",
|
||||||
"url": "https://x.com/sidganesan",
|
"url": "https://x.com/sidganesan",
|
||||||
"xHandle": "sidganesan",
|
"xHandle": "sidganesan",
|
||||||
"avatarUrl": "/studio/authors/sid.png"
|
"avatarUrl": "/studio/authors/sid.jpg"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"name": "Waleed Latif",
|
"name": "Waleed Latif",
|
||||||
"url": "https://x.com/typingwala",
|
"url": "https://x.com/typingwala",
|
||||||
"xHandle": "typingwala",
|
"xHandle": "typingwala",
|
||||||
"avatarUrl": "/studio/authors/waleed.png"
|
"avatarUrl": "/studio/authors/waleed.jpg"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ featured: true
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Why we’re excited
|
## Why we’re excited
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ export const mdxComponents: MDXRemoteProps['components'] = {
|
|||||||
className={clsx('h-auto w-full rounded-lg', props.className)}
|
className={clsx('h-auto w-full rounded-lg', props.className)}
|
||||||
sizes='(max-width: 768px) 100vw, 800px'
|
sizes='(max-width: 768px) 100vw, 800px'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
h2: (props: any) => (
|
h2: (props: any) => (
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ const nextConfig: NextConfig = {
|
|||||||
],
|
],
|
||||||
outputFileTracingIncludes: {
|
outputFileTracingIncludes: {
|
||||||
'/api/tools/stagehand/*': ['./node_modules/ws/**/*'],
|
'/api/tools/stagehand/*': ['./node_modules/ws/**/*'],
|
||||||
|
'/*': ['./node_modules/sharp/**/*', './node_modules/@img/**/*'],
|
||||||
},
|
},
|
||||||
experimental: {
|
experimental: {
|
||||||
optimizeCss: true,
|
optimizeCss: true,
|
||||||
|
|||||||
BIN
apps/sim/public/studio/authors/emir.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 2.0 MiB |
BIN
apps/sim/public/studio/authors/sid.jpg
Normal file
|
After Width: | Height: | Size: 349 KiB |
|
Before Width: | Height: | Size: 123 KiB |
BIN
apps/sim/public/studio/authors/waleed.jpg
Normal file
|
After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
BIN
apps/sim/public/studio/series-a/team.jpg
Normal file
|
After Width: | Height: | Size: 515 KiB |
|
Before Width: | Height: | Size: 10 MiB |