diff --git a/astro.config.mjs b/astro.config.mjs index eea7e84..5338d57 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,6 +12,7 @@ export default defineConfig({ site: `https://${subdomain}futureblur.com`, prefetch: true, build: { format: 'preserve' }, + trailingSlash: 'never', integrations: [ tailwind(), sitemap({ i18n: { diff --git a/public/_redirects b/public/_redirects index 54fe7ad..8a5754e 100644 --- a/public/_redirects +++ b/public/_redirects @@ -24,3 +24,5 @@ # Newsroom /news/* /en/news/:splat 301 +/:slug/ /:slug 301! + diff --git a/public/images/work/00.jpg b/public/images/work/00.jpg new file mode 100644 index 0000000..e180681 Binary files /dev/null and b/public/images/work/00.jpg differ diff --git a/public/images/work/01.jpg b/public/images/work/01.jpg new file mode 100644 index 0000000..f3dec23 Binary files /dev/null and b/public/images/work/01.jpg differ diff --git a/public/images/work/02.jpg b/public/images/work/02.jpg new file mode 100644 index 0000000..8a46a21 Binary files /dev/null and b/public/images/work/02.jpg differ diff --git a/public/images/work/03.jpg b/public/images/work/03.jpg new file mode 100644 index 0000000..7d4a89b Binary files /dev/null and b/public/images/work/03.jpg differ diff --git a/public/images/work/04.jpg b/public/images/work/04.jpg new file mode 100644 index 0000000..ba2b2db Binary files /dev/null and b/public/images/work/04.jpg differ diff --git a/public/images/work/05.jpg b/public/images/work/05.jpg new file mode 100644 index 0000000..b7671bc Binary files /dev/null and b/public/images/work/05.jpg differ diff --git a/public/images/work/06.jpeg b/public/images/work/06.jpeg new file mode 100644 index 0000000..3492b4e Binary files /dev/null and b/public/images/work/06.jpeg differ diff --git a/public/images/work/07.jpg b/public/images/work/07.jpg new file mode 100644 index 0000000..1da88fd Binary files /dev/null and b/public/images/work/07.jpg differ diff --git a/public/images/work/08.jpg b/public/images/work/08.jpg new file mode 100644 index 0000000..24612ad Binary files /dev/null and b/public/images/work/08.jpg differ diff --git a/public/images/work/09.jpeg b/public/images/work/09.jpeg new file mode 100644 index 0000000..ec273a3 Binary files /dev/null and b/public/images/work/09.jpeg differ diff --git a/public/images/work/10.jpg b/public/images/work/10.jpg new file mode 100644 index 0000000..75a8b5f Binary files /dev/null and b/public/images/work/10.jpg differ diff --git a/public/images/work/11.jpg b/public/images/work/11.jpg new file mode 100644 index 0000000..89a5694 Binary files /dev/null and b/public/images/work/11.jpg differ diff --git a/public/images/work/12.jpg b/public/images/work/12.jpg new file mode 100644 index 0000000..ddcf544 Binary files /dev/null and b/public/images/work/12.jpg differ diff --git a/public/images/work/13.jpeg b/public/images/work/13.jpeg new file mode 100644 index 0000000..35d79ad Binary files /dev/null and b/public/images/work/13.jpeg differ diff --git a/public/images/work/14.jpg b/public/images/work/14.jpg new file mode 100644 index 0000000..0e71f17 Binary files /dev/null and b/public/images/work/14.jpg differ diff --git a/public/images/work/15.jpg b/public/images/work/15.jpg new file mode 100644 index 0000000..6584af2 Binary files /dev/null and b/public/images/work/15.jpg differ diff --git a/public/images/work/16.jpg b/public/images/work/16.jpg new file mode 100644 index 0000000..9be960c Binary files /dev/null and b/public/images/work/16.jpg differ diff --git a/public/images/work/17.jpg b/public/images/work/17.jpg new file mode 100644 index 0000000..c19837f Binary files /dev/null and b/public/images/work/17.jpg differ diff --git a/public/images/work/18.jpg b/public/images/work/18.jpg new file mode 100644 index 0000000..a7a5f0d Binary files /dev/null and b/public/images/work/18.jpg differ diff --git a/public/images/work/19.jpg b/public/images/work/19.jpg new file mode 100644 index 0000000..1c70582 Binary files /dev/null and b/public/images/work/19.jpg differ diff --git a/public/images/work/20.jpg b/public/images/work/20.jpg new file mode 100644 index 0000000..3bfe5e6 Binary files /dev/null and b/public/images/work/20.jpg differ diff --git a/public/images/work/21.jpg b/public/images/work/21.jpg new file mode 100644 index 0000000..d309ba5 Binary files /dev/null and b/public/images/work/21.jpg differ diff --git a/public/images/work/22.jpg b/public/images/work/22.jpg new file mode 100644 index 0000000..11e70c0 Binary files /dev/null and b/public/images/work/22.jpg differ diff --git a/public/images/work/23.jpg b/public/images/work/23.jpg new file mode 100644 index 0000000..0254a22 Binary files /dev/null and b/public/images/work/23.jpg differ diff --git a/public/images/work/24.jpg b/public/images/work/24.jpg new file mode 100644 index 0000000..78cd4e8 Binary files /dev/null and b/public/images/work/24.jpg differ diff --git a/public/images/work/25.jpg b/public/images/work/25.jpg new file mode 100644 index 0000000..2fab1e2 Binary files /dev/null and b/public/images/work/25.jpg differ diff --git a/public/images/work/26.jpg b/public/images/work/26.jpg new file mode 100644 index 0000000..c97ea9b Binary files /dev/null and b/public/images/work/26.jpg differ diff --git a/public/images/work/27.jpg b/public/images/work/27.jpg new file mode 100644 index 0000000..df63298 Binary files /dev/null and b/public/images/work/27.jpg differ diff --git a/public/images/work/28.jpg b/public/images/work/28.jpg new file mode 100644 index 0000000..23167a0 Binary files /dev/null and b/public/images/work/28.jpg differ diff --git a/public/images/work/29.jpg b/public/images/work/29.jpg new file mode 100644 index 0000000..1d72838 Binary files /dev/null and b/public/images/work/29.jpg differ diff --git a/public/images/work/30.jpg b/public/images/work/30.jpg new file mode 100644 index 0000000..35f8c33 Binary files /dev/null and b/public/images/work/30.jpg differ diff --git a/public/images/work/31.jpg b/public/images/work/31.jpg new file mode 100644 index 0000000..f7a5112 Binary files /dev/null and b/public/images/work/31.jpg differ diff --git a/public/images/work/32.jpg b/public/images/work/32.jpg new file mode 100644 index 0000000..95e5c54 Binary files /dev/null and b/public/images/work/32.jpg differ diff --git a/public/images/work/33.jpg b/public/images/work/33.jpg new file mode 100644 index 0000000..a774ed8 Binary files /dev/null and b/public/images/work/33.jpg differ diff --git a/public/images/work/34.jpg b/public/images/work/34.jpg new file mode 100644 index 0000000..2954ca8 Binary files /dev/null and b/public/images/work/34.jpg differ diff --git a/public/images/work/35.jpg b/public/images/work/35.jpg new file mode 100644 index 0000000..2ddc84f Binary files /dev/null and b/public/images/work/35.jpg differ diff --git a/public/images/work/36.jpg b/public/images/work/36.jpg new file mode 100644 index 0000000..084aae6 Binary files /dev/null and b/public/images/work/36.jpg differ diff --git a/src/assets/home/car.jpg b/src/assets/home/car.jpg new file mode 100644 index 0000000..0254a22 Binary files /dev/null and b/src/assets/home/car.jpg differ diff --git a/src/components/Home/Promotion.astro b/src/components/Home/Promotion.astro index 8b98d89..122cb7d 100644 --- a/src/components/Home/Promotion.astro +++ b/src/components/Home/Promotion.astro @@ -22,12 +22,17 @@ const promotionImage = images[promotionImagePath]; if (!promotionImage) { throw new Error(`Image not found: ${promotionImagePath}`); } + +function getUrl() { + return data.isRelative ? Astro.url + data.url : data.url; +} + --- ( + "/public/images/work/*.{jpg,jpeg,png,tiff,webp,gif}", + { eager: true } +); + +--- + + +
+
+ {(() => { + const imageEntries = Object.entries(images).sort(([a], [b]) => a.localeCompare(b)); + const col1 = imageEntries.filter((_, idx) => idx % 2 === 0); + const col2 = imageEntries.filter((_, idx) => idx % 2 === 1); + return ( + <> +
+ {col1.map(([path, image]) => { + const fileName = path.split('/').pop() ?? ''; + return ( + {fileName} + ); + })} +
+
+ {col2.map(([path, image]) => { + const fileName = path.split('/').pop() ?? ''; + return ( + {fileName} + ); + })} +
+ + ); + })()} +
+
+