-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!doctype html> | ||
<html lang="fr"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<meta name="robots" content="noindex" /> | ||
<meta name="googlebot" content="noindex" /> | ||
<title>%sveltekit.status% - %sveltekit.error.message%</title> | ||
<meta name="description" content="Une page que personne ne devrait voir." /> | ||
</head> | ||
<body style="display: flex; margin: 0; flex-direction: column; gap: 2rem; width: 100vw; height: 100vh; align-items: center; justify-content: center;"> | ||
<h1>%sveltekit.status% - %sveltekit.error.message%</h1> | ||
<p>Quelque chose s'est très très mal passé. Nous sommes désolés pour la gêne occasionnée.</p> | ||
<a href="/">Retour à l'accueil</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<script lang="ts"> | ||
import { assistantOpen } from '$lib/stores/assistant'; | ||
import { page } from '$app/stores'; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>{$page.status}</title> | ||
<meta name="description" content={$page.error?.message ?? 'Une erreur est survenue.'} /> | ||
<meta name="robots" content="noindex" /> | ||
<meta name="googlebot" content="noindex" /> | ||
</svelte:head> | ||
|
||
<section> | ||
<div class="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6"> | ||
<div class="mx-auto max-w-screen-sm text-center"> | ||
<h1 class="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl text-primary-600"> | ||
{$page.status} | ||
</h1> | ||
<p class="mb-4 text-lg font-light text-gray-500"> | ||
{$page.error?.message ?? 'Une erreur est survenue.'} | ||
</p> | ||
<p class="mb-4 text-lg font-light text-gray-800"> | ||
Besoin d'aide ? <button | ||
type="button" | ||
class="text-primary-700 hover:text-primary-800 focus-visible:text-primary-800 transition-colors motion-reduce:transition-none" | ||
aria-label="Carlos (ouvrir l'assistant)" | ||
aria-haspopup="dialog" | ||
on:click={() => { | ||
$assistantOpen = true; | ||
}}>Carlos</button | ||
> peut vous aider. | ||
</p> | ||
<a | ||
href="/" | ||
class="inline-flex text-white bg-primary-600 hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center my-4" | ||
> | ||
Retour à l'accueil | ||
</a> | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters