All files / apps / web/src / features / shell / components / NotFound index.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15        19x 2x                  
import type { ReactElement } from 'react'
import { buttonVariants } from '@/components/Button'
 
// The router's default screen for a path no route matches.
export const NotFound = (): ReactElement => {
  return (
    <div className="flex flex-col items-start gap-3 p-6">
      <h1 className="text-lg font-semibold">Page not found.</h1>
      <a href="/" className={buttonVariants({ variant: 'outline' })}>
        Back to home
      </a>
    </div>
  )
}