Skip to content

Commit

Permalink
style: Improved the style regarding a not centered text on the 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jan 24, 2024
1 parent 04e5933 commit e432174
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/web/src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useTranslation } from "next-i18next";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";

import Layout from "~/components/Layout";
import { useTranslation } from "next-i18next";

// For more information about 404 page, please visit https://nextjs.org/docs/pages/building-your-application/routing/custom-error#404-page
export default function Custom404() {
Expand All @@ -9,7 +10,9 @@ export default function Custom404() {
return (
<Layout title={translationCommon("title 404 page")}>
<div className="flex w-full flex-col items-center">
<h1 className="mt-10 text-4xl font-bold">{translation404("title")}</h1>
<h1 className="mt-10 text-center text-4xl font-bold">
{translation404("title")}
</h1>
</div>
</Layout>
);
Expand Down

1 comment on commit e432174

@vercel
Copy link

@vercel vercel bot commented on e432174 Jan 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.