Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 1d46db0

Browse files
Rewrite 500 UI
1 parent ba51ab9 commit 1d46db0

File tree

1 file changed

+14
-21
lines changed
  • packages/section-blog-theme/components/Layouts

1 file changed

+14
-21
lines changed

packages/section-blog-theme/components/Layouts/500.tsx

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,23 @@ export function Error500() {
99
description="Something went wrong, sorry, we couldn't find this page."
1010
noindex={true}
1111
/>
12-
<section className="nx-flex nx-items-center nx-h-full nx-p-16">
13-
<div className="nx-container nx-flex nx-flex-col nx-items-center nx-justify-center nx-px-5 nx-mx-auto nx-my-8">
14-
<div className="nx-max-w-md nx-text-center">
15-
<h2 className="nx-mb-8 nx-font-extrabold nx-text-9xl ">
16-
<span className="nx-sr-only">Error</span>500
17-
</h2>
12+
<section className="nx-flex nx-items-center nx-h-full nx-p-16 nx-container nx-text-center nx-flex-col nx-justify-center nx-px-5 nx-mx-auto nx-my-8">
13+
<h2 className="nx-mb-8 nx-font-extrabold nx-text-9xl ">
14+
<span className="nx-sr-only">Error</span>500
15+
</h2>
1816

19-
<p className="nx-text-2xl nx-font-semibold md:nx-text-3xl">
20-
Sorry, we couldn't find this page.
21-
</p>
17+
<p className="nx-text-1xl nx-font-semibold md:nx-text-3xl">
18+
Sorry, we couldn't find this page.
19+
</p>
2220

23-
<p className="nx-mt-4 nx-mb-8 ">
24-
But dont worry, you can find plenty of other things on our
25-
homepage.
26-
</p>
21+
<p className="nx-text-md md:nx-text-xl nx-mt-4 nx-mb-8 ">
22+
But dont worry, you can find plenty of other things on our
23+
homepage.
24+
</p>
2725

28-
<Link
29-
href="/"
30-
className="nx-px-8 nx-py-3 nx-font-semibold nx-rounded dark:nx-bg-violet-400 dark:nx-text-gray-900"
31-
>
32-
Back to homepage
33-
</Link>
34-
</div>
35-
</div>
26+
<Link href="/" className="nx-px-8 nx-py-3 nx-font-semibold nx-rounded nx-bg-secondary nx-text-secondary-foreground">
27+
Back to homepage
28+
</Link>
3629
</section>
3730
</>
3831
);

0 commit comments

Comments
 (0)