Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom 404 Not Found page #194

Open
Merseleo opened this issue Feb 6, 2025 · 0 comments
Open

Custom 404 Not Found page #194

Merseleo opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Merseleo
Copy link
Contributor

Merseleo commented Feb 6, 2025

Problem

At the moment we do not really load data from the backend, but hardcoded all objects in the load functions. As soon as we start to really load data, something could go wrong, especially that the resource cannot be found.

Suggested Solution

Therefore you can throw an error using error(404, { message: "your message" }) which causes svelte to render a custom +error.svelte file.
However, this file is very basic at the moment and need a redesign.
It should have a design matching the general snowballr design and a speaking error message.

@Merseleo Merseleo added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant