diff --git a/src/components/atoms/Button.svelte b/src/components/atoms/Button.svelte index 27658f8..51de99e 100644 --- a/src/components/atoms/Button.svelte +++ b/src/components/atoms/Button.svelte @@ -10,12 +10,12 @@ {#if tag === 'button'} - {:else if tag === 'a'} - + {text} diff --git a/src/routes/photos.svelte b/src/routes/photos.svelte index cb4c53c..39fe76d 100644 --- a/src/routes/photos.svelte +++ b/src/routes/photos.svelte @@ -67,6 +67,15 @@ filtered = false filterCountry = defaultCountry filterSort = defaultSort + + + + /** + * Load more photos from CTA + */ + const loadMorePhotos = () => { + console.log('load more photos') + // TODO: Append more photos from API including options and page } @@ -158,9 +167,10 @@

Last updated: 4 days ago

-