Update 404 page
This commit is contained in:
parent
5132a9b643
commit
278d510da0
1 changed files with 5 additions and 4 deletions
|
@ -6,17 +6,18 @@ import { SITE } from "@data/constants";
|
||||||
|
|
||||||
// Define variables for page content
|
// Define variables for page content
|
||||||
|
|
||||||
const pageTitle: string = Astro.currentLocale === "fr" ? `Page Non Trouvée | ${SITE.title}` : `Page Not Found | ${SITE.title}`;
|
|
||||||
const title: string = "404";
|
const title: string = "404";
|
||||||
|
|
||||||
const {
|
const {
|
||||||
subTitle = Astro.currentLocale === "fr" ? "Oops, ce n'est pas l'outil que vous recherchiez!" : "Oops, this isn't the tool you were looking for!", content = Astro.currentLocale === "fr" ? "Ne laissez pas ce contretemps vous ralentir. Revenons à la construction de votre chef-d'œuvre." : "Don't let this hiccup slow you down. Let's get you back to building your masterpiece.", btnTitle = Astro.currentLocale === "fr" ? "Retournez" : "Go Back",
|
subTitle = Astro.currentLocale === "fr" ? "Oops, ce n'est pas l'outil que vous recherchiez!" : "Oops, this isn't the tool you were looking for!", content = Astro.currentLocale === "fr" ? "Ne laissez pas ce contretemps vous ralentir. Revenons à la construction de votre chef-d'œuvre." : "Don't let this hiccup slow you down. Let's get you back to building your masterpiece.", btnTitle = Astro.currentLocale === "fr" ? "Retournez" : "Go Back",
|
||||||
|
pageTitle = Astro.currentLocale === "fr" ? `Page Non Trouvée | ${SITE.title}` : `Page Not Found | ${SITE.title}`
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
subTitle?: string;
|
pageTitle: string;
|
||||||
content?: string;
|
subTitle: string;
|
||||||
btnTitle?: string;
|
content: string;
|
||||||
|
btnTitle: string;
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue