mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
chore: add lazy loading to FloatingImage
This commit is contained in:
@@ -23,6 +23,8 @@ export const FloatingImage: FunctionalComponent<Props> = ({
|
||||
<img
|
||||
alt={alt}
|
||||
class="block h-auto w-full rounded-1 border-1 border-solid border-black/[0.1] bg-black/[0.1] shadow shadow-black/10 dark:border-white/[0.1] dark:opacity-[0.87] dark:shadow-white/10"
|
||||
decoding="async"
|
||||
loading="lazy"
|
||||
src={src}
|
||||
{...props}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user