File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1- 'use client' ;
2-
3- import { useEffect , useState } from 'react' ;
41import { Home } from 'lucide-react' ;
52import { Button } from '@/components/ui/button' ;
63import NavLink from '@/app/components/NavLink' ;
74
85export default function NotFound ( ) {
9- const [ mounted , setMounted ] = useState ( false ) ;
10-
11- useEffect ( ( ) => {
12- setMounted ( true ) ;
13- return ( ) => {
14- setMounted ( false ) ;
15- } ;
16- } , [ ] ) ;
17-
186 return (
197 < div className = "flex min-h-[calc(100vh-200px)] flex-col items-center justify-center px-4 py-16 text-center" >
20- < div
21- className = { `transition-opacity duration-1000 ${ mounted ? 'opacity-100' : 'opacity-0' } ` }
22- >
8+ < div className = { `opacity-100 transition-opacity duration-1000` } >
239 < h1 className = "relative mb-6 text-9xl font-extrabold tracking-tight" >
2410 < span
2511 className = "animate-glitch-1 absolute top-0 left-0 w-full text-main-foreground"
You can’t perform that action at this time.
0 commit comments