1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/Pandora.git synced 2024-12-23 03:23:52 +00:00

Compare commits

..

No commits in common. "b83ca2298c0ed7a1a69b05ca4667e8f42d75010d" and "ab66e178c861a136c3be30499f7d673c3a985597" have entirely different histories.

2 changed files with 10 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@sudovanilla/pandora",
"version": "1.7.21",
"version": "1.7.2",
"author": "SudoVanilla",
"displayName": "Pandora",
"description": "Astro component library built for SudoVanilla related websites and projects.",

View file

@ -1,4 +1,7 @@
---
// Astro's Image Component
import { Image } from 'astro:assets'
// Properties
const {
Source,
@ -9,10 +12,14 @@ const {
} = Astro.props
---
<img
<Image
src={Source}
alt={Alt}
alt={Alt}
fit={Fit}
format={Format}
quality={Quality}
onload="this.style.transition = '1s opacity, 1s box-shadow'; this.style.opacity = '1'"
inferSize
/>
<style>img {opacity: 0}</style>