Skip to content

feat: redesign custom 404 error page#2231

Merged
ItzNotABug merged 12 commits into
mainfrom
feat-SER-125-New-404-page
Aug 22, 2025
Merged

feat: redesign custom 404 error page#2231
ItzNotABug merged 12 commits into
mainfrom
feat-SER-125-New-404-page

Conversation

@HarshMN2345
Copy link
Copy Markdown
Member

@HarshMN2345 HarshMN2345 commented Aug 19, 2025

What does this PR do?

redesigned custom 404 error page

Test Plan

image image image image

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

yes

@appwrite
Copy link
Copy Markdown

appwrite Bot commented Aug 19, 2025

Console

Project ID: 688b7bf400350cbd60e9

Sites (2)
Site Status Logs Preview QR
 console-qa
688b7cf6003b1842c9dc
Ready Ready View Logs Preview URL QR Code
 console-cloud
688b7c18002b9b871a8f
Ready Ready View Logs Preview URL QR Code

Note

Cursor pagination performs better than offset pagination when loading further pages.

@HarshMN2345 HarshMN2345 marked this pull request as ready for review August 19, 2025 06:42
@HarshMN2345 HarshMN2345 requested a review from ItzNotABug August 19, 2025 06:42
@HarshMN2345 HarshMN2345 self-assigned this Aug 19, 2025
@HarshMN2345 HarshMN2345 requested a review from Meldiron August 19, 2025 18:38
Comment thread src/routes/+error.svelte Outdated
@HarshMN2345 HarshMN2345 requested a review from ItzNotABug August 20, 2025 08:01
Comment thread src/routes/+error.svelte Outdated
<Button href={base}>Back to the console</Button>
<div class="content">
<div class="center">
<span class="error-badge">404 Page not found</span>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why not use <Badge>?

Comment thread src/routes/+error.svelte Outdated
<div class="center">
<span class="error-badge">404 Page not found</span>
</div>
<h1 class="error-title">The page you're looking for doesn't exist.</h1>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here for using <Typography.*>? is the font design different?

Comment thread src/routes/+error.svelte Outdated
Comment thread src/routes/+error.svelte Outdated
@HarshMN2345 HarshMN2345 requested a review from ItzNotABug August 20, 2025 08:28
Comment thread src/lib/layout/unauthenticated.svelte Outdated
Comment on lines +295 to +299
@media #{devices.$break1} {
.side-default {
padding-block-start: 0;
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we don't need this. instead add the side-default if !$isSmallViewport conditionally.

Comment on lines +370 to +377
.mobile-logo {
position: fixed;
bottom: 1.25rem;
left: 50%;
transform: translateX(-50%);
z-index: 10;
margin-block-start: 0 !important;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the default slot has a u-margin-block-start-24, lets make it conditional like -

<div class:u-margin-block-start-24={!$isSmallViewport}>
    <slot />
</div>

@ItzNotABug ItzNotABug merged commit df93ac7 into main Aug 22, 2025
4 checks passed
@ItzNotABug ItzNotABug deleted the feat-SER-125-New-404-page branch August 22, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants