aboutsummaryrefslogtreecommitdiff
path: root/src/routes/index.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/index.svelte')
-rw-r--r--src/routes/index.svelte14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index ece7b9b..1a701c7 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,5 +1,5 @@
<script>
- import { setImageUrl } from '$lib/utils';
+ import { carouselImages } from '$lib/data/images';
import { Navigation, Pagination, Scrollbar, A11y, Autoplay } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/svelte';
import 'swiper/css';
@@ -9,12 +9,12 @@
import 'swiper/css/autoplay';
const images = [
- { image: 'Plaza-Logo-Door.jpeg', alt: 'Picture of the glass office door with the Misty Mountains Therapy logo in the center.' },
- { image: 'Entry-Way.jpeg', alt: 'The entry hall to the Misty Mountains Suite room, showing a bench for waiting patients to sit. The vibes are inviting.' },
- { image: 'office-1-1.jpeg', alt: 'An office room with a rustic lamp and comfy looking couch.' },
- { image: 'Inside-Office.jpeg', alt: 'A second office room with good vibes.' },
- { image: 'mountains.png', alt: 'Cloudy mountains in a light sky' },
- ].map(setImageUrl);
+ { image: carouselImages[0], alt: 'Picture of the glass office door with the Misty Mountains Therapy logo in the center.' },
+ { image: carouselImages[1], alt: 'The entry hall to the Misty Mountains Suite room, showing a bench for waiting patients to sit. The vibes are inviting.' },
+ { image: carouselImages[2], alt: 'An office room with a rustic lamp and comfy looking couch.' },
+ { image: carouselImages[3], alt: 'A second office room with good vibes.' },
+ { image: carouselImages[4], alt: 'Cloudy mountains in a light sky' },
+ ];
</script>
<div class="row align-items-center py-2">