Skip to content

Commit 00901fd

Browse files
committed
fix(404): use ChipLink for return-home CTA on root not-found page
Matches the emcn ChipLink pattern already used by sibling landing not-found pages instead of a hand-rolled Link with raw Tailwind classes.
1 parent ee1824c commit 00901fd

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

apps/sim/app/not-found.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { ChipLink } from '@sim/emcn'
12
import type { Metadata } from 'next'
2-
import Link from 'next/link'
33
import { LogoShell } from '@/app/(landing)/components'
44

55
export const metadata: Metadata = {
@@ -17,12 +17,9 @@ export default function NotFound() {
1717
<p className='text-[var(--text-muted)] text-lg'>
1818
The page you&apos;re looking for doesn&apos;t exist or has been moved.
1919
</p>
20-
<Link
21-
href='/'
22-
className='mt-3 inline-flex h-[40px] items-center rounded-[5px] bg-[var(--surface-inverted)] px-5 text-sm text-white transition-colors hover:bg-[var(--surface-inverted-hover)]'
23-
>
20+
<ChipLink variant='primary' href='/' className='mt-3'>
2421
Return home
25-
</Link>
22+
</ChipLink>
2623
</div>
2724
</LogoShell>
2825
)

0 commit comments

Comments
 (0)