From 1d797e2dbe2818d19b4f68603be4182c9f956f46 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Thu, 21 Nov 2024 22:58:22 +0100 Subject: [PATCH] fixed some TS and a wrong image import path --- src/pages/index.astro | 2 +- src/pages/storia.astro | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index a0331f9..7fc4c8f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -244,7 +244,7 @@ const galleryCollage = await Astro.glob('@/assets/gallery/*.jpg') .split('@') .at(-1) .split('x') - .map(s => parseInt(s)) + .map((s: string) => parseInt(s)) : [1, 1] return ( diff --git a/src/pages/storia.astro b/src/pages/storia.astro index d3c4da3..c18a133 100644 --- a/src/pages/storia.astro +++ b/src/pages/storia.astro @@ -5,9 +5,9 @@ import Header from '../components/Header.astro' import Footer from '../components/Footer.astro' import Timeline from '../components/Timeline.astro' -import imgPulizie from '@/assets/gallery/006-pulizie.jpg' -import imgCluster from '@/assets/gallery/001-cluster-fra-luca.jpg' -import WebSite from '@/assets/gallery/005-website-development.jpg' +import imgPulizie from '@/assets/gallery/006-pulizie@3x4.jpg' +import imgCluster from '@/assets/gallery/001-cluster-fra-luca@4x3.jpg' +import WebSite from '@/assets/gallery/005-website-development@3x4.jpg' ---