Skip to content

Commit

Permalink
fix(client): 404 page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo committed Apr 21, 2023
1 parent c7ed6b1 commit 2dfe246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/client/public/locales/en-US/common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"errors": {
"404": {
"title": "This place... isn't a place at all",
"description": "Seems like you found something that can't be found. Just so you know, we recommend you to go back the way you came.",
"back-to-home": "Go back to Home"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Custom404() {
const { t } = useTranslation(["common"]);

return (
<PageLayout title="common:errors.404.title">
<PageLayout title={t("common:errors.404.title")}>
<div className="m-auto flex flex-col gap-y-2">
<h1 className="text-[8rem] font-bold font-grotesk text-center">404</h1>
<p className="text-xl font-medium font-grotesk text-center">
Expand Down

0 comments on commit 2dfe246

Please sign in to comment.