diff --git a/front-end/src/lib/images/book-overview.png b/front-end/src/lib/images/book-overview.png new file mode 100644 index 0000000..a8c8712 Binary files /dev/null and b/front-end/src/lib/images/book-overview.png differ diff --git a/front-end/src/lib/images/books-overview.jpg b/front-end/src/lib/images/books-overview.jpg new file mode 100644 index 0000000..100dc14 Binary files /dev/null and b/front-end/src/lib/images/books-overview.jpg differ diff --git a/front-end/src/lib/images/libraries-overview.png b/front-end/src/lib/images/libraries-overview.png new file mode 100644 index 0000000..744f262 Binary files /dev/null and b/front-end/src/lib/images/libraries-overview.png differ diff --git a/front-end/src/lib/images/library-overview.png b/front-end/src/lib/images/library-overview.png index 66d7a71..838e988 100644 Binary files a/front-end/src/lib/images/library-overview.png and b/front-end/src/lib/images/library-overview.png differ diff --git a/front-end/src/routes/+page.svelte b/front-end/src/routes/+page.svelte index 35d2583..e35fbcd 100644 --- a/front-end/src/routes/+page.svelte +++ b/front-end/src/routes/+page.svelte @@ -7,7 +7,10 @@ import Footer from '$lib/components/layout/Footer.svelte'; import { Button } from '$lib/components/ui/button'; import readingPic from '$lib/images/reading.gif'; - import highlightPic from '$lib/images/library-overview.png'; + import bookPic from '$lib/images/book-overview.png'; + import booksPic from '$lib/images/books-overview.jpg'; + import librariesPic from '$lib/images/libraries-overview.png'; + import libraryPic from '$lib/images/library-overview.png'; import contributorCliff from '$lib/images/contributor-cliff-chew.jpg'; import contributorBryan from '$lib/images/contributor-bryan-wong.jpg'; import contributorTingfeng from '$lib/images/contributor-tingfeng-wu.jpg'; @@ -15,6 +18,7 @@ import { goto } from '$app/navigation'; import type { PageData } from './$types'; + const heroImages = [librariesPic, bookPic, booksPic, libraryPic]; let { data }: { data: PageData } = $props(); $effect(() => { if (data.session != null) { @@ -43,7 +47,7 @@ Borrowing your favourite books easier at your neighbourhood public libraries

- @@ -53,15 +57,11 @@ plugins={[Autoplay({ delay: 3000 })]} > - - sg-lib-books - - - sg-lib-books - - - sg-lib-books - + {#each heroImages as highlightPic} + + sg-lib-books + + {/each}