mirror of
https://ark.sudovanilla.org/Korbs/Pandora.git
synced 2024-12-22 19:13:52 +00:00
Compare commits
2 commits
ab66e178c8
...
b83ca2298c
Author | SHA1 | Date | |
---|---|---|---|
Korbs | b83ca2298c | ||
Korbs | f45d36106b |
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@sudovanilla/pandora",
|
||||
"version": "1.7.2",
|
||||
"version": "1.7.21",
|
||||
"author": "SudoVanilla",
|
||||
"displayName": "Pandora",
|
||||
"description": "Astro component library built for SudoVanilla related websites and projects.",
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
---
|
||||
// Astro's Image Component
|
||||
import { Image } from 'astro:assets'
|
||||
|
||||
// Properties
|
||||
const {
|
||||
Source,
|
||||
|
@ -12,14 +9,10 @@ const {
|
|||
} = Astro.props
|
||||
---
|
||||
|
||||
<Image
|
||||
<img
|
||||
src={Source}
|
||||
alt={Alt}
|
||||
fit={Fit}
|
||||
format={Format}
|
||||
quality={Quality}
|
||||
alt={Alt}
|
||||
onload="this.style.transition = '1s opacity, 1s box-shadow'; this.style.opacity = '1'"
|
||||
inferSize
|
||||
/>
|
||||
|
||||
<style>img {opacity: 0}</style>
|
Loading…
Reference in a new issue