File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed
Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change 11import { useNavigate } from 'react-router-dom' ;
2- import Button from '../components/common/Button' ;
32
43const NotFound = ( ) => {
54 const navigation = useNavigate ( ) ;
65 const handleClick = ( ) => navigation ( '/' ) ;
76 return (
8- < div
9- style = { {
10- textAlign : 'center' ,
11- marginTop : '50px' ,
12- } }
13- >
14- < h1
15- style = { {
16- fontSize : '36px' ,
17- marginBottom : '20px' ,
18- } }
19- >
20- 404 - Page non trouvée
21- </ h1 >
22- < p
23- style = { {
24- fontSize : '18px' ,
25- } }
26- >
27- { "Désolé, la page que vous recherchez n'existe pas." }
28- </ p >
29- < Button text = { 'Go to home' } event = { handleClick } />
7+ < div className = 'text-center flex items-center justify-center p-[25vh]' >
8+ < div className = 'bg-white/45 p-5' >
9+ < h1 className = 'text-4xl mb-2.5' > 404 - Page non trouvée</ h1 >
10+ < p className = 'text-lg' > { "Désolé, la page que vous recherchez n'existe pas." } </ p >
11+ < button className = 'py-1 my-1.5 text-base bg-gray-300' onClick = { handleClick } >
12+ Go to home
13+ </ button >
14+ </ div >
3015 </ div >
3116 ) ;
3217} ;
You can’t perform that action at this time.
0 commit comments