diff --git a/frontend/src/lib/assets/landing/.gitignore b/frontend/src/lib/assets/landing/.gitignore deleted file mode 100644 index 0d4df9a..0000000 --- a/frontend/src/lib/assets/landing/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.png -*.xcf \ No newline at end of file diff --git a/frontend/src/lib/assets/landing/opengraph-home.jpg b/frontend/src/lib/assets/landing/opengraph-home.jpg new file mode 100644 index 0000000..5d979f2 Binary files /dev/null and b/frontend/src/lib/assets/landing/opengraph-home.jpg differ diff --git a/frontend/src/lib/assets/landing/opengraph-home.webp b/frontend/src/lib/assets/landing/opengraph-home.webp new file mode 100644 index 0000000..e4de9e8 Binary files /dev/null and b/frontend/src/lib/assets/landing/opengraph-home.webp differ diff --git a/frontend/src/routes/docs/self-host.svelte b/frontend/src/routes/docs/self-host.svelte index 62e68b3..36e6234 100644 --- a/frontend/src/routes/docs/self-host.svelte +++ b/frontend/src/routes/docs/self-host.svelte @@ -21,12 +21,8 @@

Warning

- Since ClassQuiz is in pretty early development, breaking changes come and go! Please check - these docs again before updating your instance. I may also add more dependencies like Typesense - ore something similar in the future, but I'll always provide a - docker-compose.yml file, so the self-hosting process is still easy. + Although some versions are already released, I would recommend to run the latest + commit (where checks pass) from the master-branch.

Requirements

@@ -79,7 +75,7 @@ You'll have to set up a storage provider for some pictures (these getting imported from KAHOOT!). For now, you can use Deta or the local filesystem. Please note that I would NOT use the local file system because of these funny - path-things. I tried to prevent these attacks, but i really wouldn't trust it. You'll have + path-things. I tried to prevent these attacks, but I really wouldn't trust it. You'll have to set the STORAGE_BACKEND-environment-variable to either deta or local. @@ -187,5 +183,6 @@ volumes:
docker compose build && docker compose up -d

You'll have to create an index in Meilisearch with the following command:

docker compose exec api python3 import_to_meili.py
+

Note: I would recommend to add the command from above to your crontab so it runs daily.

Enjoy! ❤️

diff --git a/frontend/src/routes/index.svelte b/frontend/src/routes/index.svelte index f882df5..2b89e41 100644 --- a/frontend/src/routes/index.svelte +++ b/frontend/src/routes/index.svelte @@ -13,6 +13,8 @@ import { navbarVisible } from '$lib/stores'; import { getLocalization } from '$lib/i18n'; import Footer from '$lib/footer.svelte'; + import WebPOpenGraph from '$lib/assets/landing/opengraph-home.webp'; + import JpgOpenGraph from '$lib/assets/landing/opengraph-home.jpg'; import LandingPromo from '$lib/landing/landing-promo.svelte'; @@ -34,6 +36,30 @@ ClassQuiz - {$t('index_page.meta.title')} + ClassQuiz - Home + + + + + + + + + + + + + +