Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f34d01

Browse files
refactor: replace MUI components and refactor styles (#18082)
**Before:**<img width="1196" alt="Screenshot 2025-05-28 at 13 26 03"src="https://github.com/user-attachments/assets/86c2830e-6777-441c-aedc-64fef472e369"/>**After:**<img width="1197" alt="Screenshot 2025-05-28 at 13 24 19"src="https://github.com/user-attachments/assets/08e2dc4e-424a-43d8-a343-0ac8e03c9948"/>
1 parentb712d0b commit5f34d01

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎site/src/components/ErrorBoundary/GlobalErrorBoundary.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
importLinkfrom"@mui/material/Link";
21
import{Button}from"components/Button/Button";
32
import{CoderIcon}from"components/Icons/CoderIcon";
3+
import{Link}from"components/Link/Link";
44
import{useEmbeddedMetadata}from"hooks/useEmbeddedMetadata";
55
import{typeFC,useState}from"react";
66
import{Helmet}from"react-helmet-async";
@@ -43,22 +43,22 @@ export const GlobalErrorBoundaryInner: FC<GlobalErrorBoundaryInnerProps> = ({
4343
<CoderIconclassName="w-11 h-11"/>
4444

4545
<divclassName="text-content-primary flex flex-col gap-1">
46-
<h1className="text-2xl font-normal m-0">{errorPageTitle}</h1>
47-
<pclassName="leading-6 m-0">
46+
<h1className="text-2xl font-semibold m-0">{errorPageTitle}</h1>
47+
<pclassName="leading-6 m-0 text-content-secondary text-sm">
4848
Please try reloading the page. If reloading does not work, you can
4949
ask for help in the{" "}
5050
<Link
5151
href="https://discord.gg/coder"
5252
target="_blank"
53-
rel="noreferer"
53+
rel="noreferrer"
5454
>
5555
Coder Discord community
5656
<spanclassName="sr-only"> (link opens in a new tab)</span>
5757
</Link>{" "}
5858
or{" "}
5959
<Link
6060
target="_blank"
61-
rel="noreferer"
61+
rel="noreferrer"
6262
href={publicGithubIssueLink(
6363
coderVersion,
6464
location.pathname,
@@ -73,9 +73,9 @@ export const GlobalErrorBoundaryInner: FC<GlobalErrorBoundaryInnerProps> = ({
7373
</div>
7474
</div>
7575

76-
<divclassName="flex flex-row flex-nowrap justify-center gap-4">
77-
<ButtonasChildclassName="min-w-32font-medium">
78-
<Linkhref={location.pathname}>Reload page</Link>
76+
<divclassName="flex flex-row flex-nowrap justify-center gap-2">
77+
<ButtonasChildclassName="min-w-32 ">
78+
<ahref={location.pathname}>Reload page</a>
7979
</Button>
8080

8181
{isRenderableError&&(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp