Skip to content

Commit 5d800d0

Browse files
committed
.
1 parent 94e65b7 commit 5d800d0

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

components/ui/404.tsx

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import { redirect, usePathname } from 'next/navigation'
77

88

99

10-
import { FadeIn } from "@/components/animation/fade-in"
11-
12-
13-
1410
export default function NotFound404() {
1511

1612

@@ -234,18 +230,17 @@ export default function NotFound404() {
234230

235231
return (
236232
<main className='w-full'>
237-
<div className="w-full h-svh flex flex-row justify-center items-center bg-gradient-landing">
238-
<div className="w-full max-w-7xl px-6 flex flex-col gap-6 select-none">
239-
<FadeIn>
240-
<h1 className="font-bold text-t0 text-white">
241-
404
242-
</h1>
243-
</FadeIn>
244-
<FadeIn>
245-
<h1 className="font-bold text-t0 text-white">
246-
Not Found
247-
</h1>
248-
</FadeIn>
233+
<div className="w-full h-svh flex flex-row justify-center items-center">
234+
<div className='w-full md:w-3/4 h-full md:h-3/4 md:rounded-sm bg-gradient-landing flex flex-row justify-center items-center'>
235+
<div className="md:w-full max-w-3xl px-6 flex flex-col gap-6 select-none ">
236+
<h1 className="font-bold text-t1 text-white">
237+
404
238+
</h1>
239+
240+
<h1 className="font-bold text-t1 text-white">
241+
Not Found
242+
</h1>
243+
</div>
249244
</div>
250245
</div>
251246
</main>

components/ui/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function Sidebar({
236236
// Adjust the padding for floating and inset variants.
237237
variant === "floating" || variant === "inset"
238238
? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]"
239-
: "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
239+
: "group-data-[collapsible=icon]:w-(--sidebar-width-icon)",
240240
className
241241
)}
242242
{...props}

0 commit comments

Comments
 (0)