forked from phc/website
fixed some TS and a wrong image import path
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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'
|
||||
---
|
||||
|
||||
<BaseLayout {...Astro.props} pageTags={'storia'}>
|
||||
|
||||
Reference in New Issue
Block a user