diff --git a/.env.example b/.env.example index 62b28cf..d081bc1 100644 --- a/.env.example +++ b/.env.example @@ -18,5 +18,9 @@ CACHE_CONTROL=false ## OPEN EXCHANGE RATE OER_APP_ID=oerappid5e6ea45ef4e66eaa151612bdcb599df +## MEILI +MEILISEARCH_URL=https://meilisearch.domain.com +MEILISEARCH_MASTER_KEY=some_api_keyqs23d1qs6d54qs897qs3 + ## ANALYTICS ANALYTICS_URL=http://analytics.domain.com \ No newline at end of file diff --git a/README.md b/README.md index a1ec94c..d7425c4 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ Read more: - Smooth scrolling when using anchor links - On image pages (scans, gallery, image files), allow the user to navigate to the previous or next image using keyboard arrows. + - On the search page, allow the user to navigate to the previous or next page using keyboard arrows. - On media pages (scans, images, audios, videos), provide a download button. This way, the user doesn't have to right-click -> "save media as..." diff --git a/public/img/search-empty.webp b/public/img/404-illustration.webp similarity index 100% rename from public/img/search-empty.webp rename to public/img/404-illustration.webp diff --git a/public/img/search-no-results.webp b/public/img/search-no-results.webp new file mode 100644 index 0000000..878e399 Binary files /dev/null and b/public/img/search-no-results.webp differ diff --git a/src/components/AppLayout/AppLayout.astro b/src/components/AppLayout/AppLayout.astro index 3cb3318..a4c05cb 100644 --- a/src/components/AppLayout/AppLayout.astro +++ b/src/components/AppLayout/AppLayout.astro @@ -12,6 +12,7 @@ interface Props { backgroundImage?: ComponentProps["img"] | undefined; hideFooterLinks?: boolean; hideHomeButton?: boolean; + hideSearchButton?: boolean; class?: string | undefined; } @@ -25,6 +26,7 @@ const { backgroundImage, hideFooterLinks = false, hideHomeButton = false, + hideSearchButton = false, ...otherProps } = Astro.props; --- @@ -34,7 +36,11 @@ const { {backgroundImage && }
- +