File tree Expand file tree Collapse file tree 7 files changed +16
-331
lines changed
frontend/src/components/Common Expand file tree Collapse file tree 7 files changed +16
-331
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { Button , Center , Flex , Text } from "@chakra-ui/react"
21import { Link } from "@tanstack/react-router"
2+ import { Button } from "@/components/ui/button"
33
44const NotFound = ( ) => {
55 return (
6- < Flex
7- height = "100vh"
8- align = "center"
9- justify = "center"
10- flexDir = "column"
6+ < div
7+ className = "flex min-h-screen items-center justify-center flex-col p-4"
118 data-testid = "not-found"
12- p = { 4 }
139 >
14- < Flex alignItems = "center" zIndex = { 1 } >
15- < Flex flexDir = "column" ml = { 4 } align = "center" justify = "center" p = { 4 } >
16- < Text
17- fontSize = { { base : "6xl" , md : "8xl" } }
18- fontWeight = "bold"
19- lineHeight = "1"
20- mb = { 4 }
21- >
10+ < div className = "flex items-center z-10" >
11+ < div className = "flex flex-col ml-4 items-center justify-center p-4" >
12+ < span className = "text-6xl md:text-8xl font-bold leading-none mb-4" >
2213 404
23- </ Text >
24- < Text fontSize = "2xl" fontWeight = "bold" mb = { 2 } >
25- Oops!
26- </ Text >
27- </ Flex >
28- </ Flex >
14+ </ span >
15+ < span className = "text-2xl font-bold mb-2" > Oops!</ span >
16+ </ div >
17+ </ div >
2918
30- < Text fontSize = "lg" color = "gray.600" mb = { 4 } textAlign = " center" zIndex = { 1 } >
19+ < p className = "text-lg text-muted-foreground mb-4 text- center z-10" >
3120 The page you are looking for was not found.
32- </ Text >
33- < Center zIndex = { 1 } >
21+ </ p >
22+ < div className = "z-10" >
3423 < Link to = "/" >
35- < Button variant = "solid" colorScheme = "teal" mt = { 4 } alignSelf = "center" >
36- Go Back
37- </ Button >
24+ < Button className = "mt-4" > Go Back</ Button >
3825 </ Link >
39- </ Center >
40- </ Flex >
26+ </ div >
27+ </ div >
4128 )
4229}
4330
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments