File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ interface InviteLayoutProps {
99
1010export default function InviteLayout ( { children } : InviteLayoutProps ) {
1111 return (
12- < div className = 'relative min-h-screen bg-[#1C1C1C] font-[430] font-season text-[#ECECEC]' >
12+ < div className = 'relative flex min-h-screen flex-col bg-[#1C1C1C] font-[430] font-season text-[#ECECEC]' >
1313 < header >
1414 < Navbar logoOnly />
1515 </ header >
16- < main className = 'flex flex-1 flex-col items-center justify-center px-4 pt-[15vh] ' >
16+ < main className = 'flex flex-1 flex-col items-center justify-center px-4' >
1717 < div className = 'w-full max-w-lg px-4' >
1818 < div className = 'flex flex-col items-center justify-center' > { children } </ div >
1919 </ div >
Original file line number Diff line number Diff line change 1- import Link from 'next/link'
1+ 'use client'
2+
3+ import { useRouter } from 'next/navigation'
24import AuthBackground from '@/app/(auth)/components/auth-background'
5+ import { BrandedButton } from '@/app/(auth)/components/branded-button'
36import Navbar from '@/app/(home)/components/navbar/navbar'
47
58export default function NotFound ( ) {
9+ const router = useRouter ( )
10+
611 return (
712 < AuthBackground className = 'dark font-[430] font-season' >
813 < main className = 'relative flex min-h-full flex-col text-[#ECECEC]' >
@@ -14,12 +19,11 @@ export default function NotFound() {
1419 < p className = 'mt-2 text-[#999] text-[16px]' >
1520 The page you're looking for doesn't exist or has been moved.
1621 </ p >
17- < Link
18- href = '/'
19- className = 'mt-8 inline-flex h-[30px] items-center rounded-[5px] border border-[#FFFFFF] bg-[#FFFFFF] px-[9px] text-[13.5px] text-black transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]'
20- >
21- Return to Home
22- </ Link >
22+ < div className = 'mt-8 w-full max-w-[200px]' >
23+ < BrandedButton onClick = { ( ) => router . push ( '/' ) } showArrow = { false } >
24+ Return to Home
25+ </ BrandedButton >
26+ </ div >
2327 </ div >
2428 </ main >
2529 </ AuthBackground >
You can’t perform that action at this time.
0 commit comments