This commit is contained in:
Morten Olsen
2025-12-02 22:38:20 +01:00
parent 1693a2620c
commit 06564dff21
117 changed files with 2522 additions and 7180 deletions

View File

@@ -0,0 +1,23 @@
import { getImage } from 'astro:assets'
import { data } from '~/data/data'
const imageSizes = [16, 32, 48, 64, 96, 128, 256, 512]
const pngs = await Promise.all(
imageSizes.map(async (size) => {
return {
...(await getImage({
src: data.profile.image,
format: 'png',
width: size,
height: size
})),
size: `${size}x${size}`
}
})
)
const icons = {
pngs
}
export { icons }