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

Compare commits

..

2 commits

Author SHA1 Message Date
Korbs b83ca2298c update 2024-12-04 14:12:40 -05:00
Korbs f45d36106b Don't use Astro Image component, it's trash 2024-12-04 14:08:11 -05:00
2 changed files with 3 additions and 10 deletions

View file

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

View file

@ -1,7 +1,4 @@
--- ---
// Astro's Image Component
import { Image } from 'astro:assets'
// Properties // Properties
const { const {
Source, Source,
@ -12,14 +9,10 @@ const {
} = Astro.props } = Astro.props
--- ---
<Image <img
src={Source} 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'" onload="this.style.transition = '1s opacity, 1s box-shadow'; this.style.opacity = '1'"
inferSize
/> />
<style>img {opacity: 0}</style> <style>img {opacity: 0}</style>