🖼️ added support for links to blogposts and support image sizing from .md files
Some checks failed
Build and Deploy Next.js Blog to Production / 🔍 Code Quality Checks (push) Failing after 31s
Build and Deploy Next.js Blog to Production / 🏗️ Build and Push Docker Image (push) Has been skipped
Build and Deploy Next.js Blog to Production / 🚀 Deploy to Production (push) Has been skipped
Some checks failed
Build and Deploy Next.js Blog to Production / 🔍 Code Quality Checks (push) Failing after 31s
Build and Deploy Next.js Blog to Production / 🏗️ Build and Push Docker Image (push) Has been skipped
Build and Deploy Next.js Blog to Production / 🚀 Deploy to Production (push) Has been skipped
This commit was merged in pull request #7.
This commit is contained in:
@@ -43,9 +43,8 @@ export function OptimizedImage({
|
||||
width={width}
|
||||
height={height}
|
||||
priority={priority}
|
||||
className={`w-full h-auto transition-opacity duration-300 ${
|
||||
isLoading ? 'opacity-0' : 'opacity-100'
|
||||
}`}
|
||||
style={{ maxWidth: '100%', height: 'auto' }}
|
||||
className={`transition-opacity duration-300 ${isLoading ? 'opacity-0' : 'opacity-100'}`}
|
||||
onLoad={() => setIsLoading(false)}
|
||||
onError={() => setHasError(true)}
|
||||
placeholder="blur"
|
||||
|
||||
Reference in New Issue
Block a user