| 
									
										
										
										
											2024-01-08 20:26:32 +08:00
										 |  |  | import { Button } from "@/components/ui/button"; | 
					
						
							| 
									
										
										
										
											2024-01-15 11:44:48 +08:00
										 |  |  | import { Separator } from "@/components/ui/separator"; | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  | import { Footer } from "@/components/utils/Footer"; | 
					
						
							| 
									
										
										
										
											2024-08-16 14:12:30 +08:00
										 |  |  | import { ContentContainer, Page } from "@/components/utils/Layout"; | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  | import { NavBar } from "@/components/utils/NavBar"; | 
					
						
							|  |  |  | import { TfiFaceSad } from "react-icons/tfi"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default function NotFoundPage() { | 
					
						
							| 
									
										
										
										
											2023-12-29 19:55:54 +08:00
										 |  |  |   const handleGoBack = () => { | 
					
						
							|  |  |  |     if (window == null) return; | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |     window.history.back(); | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     <Page> | 
					
						
							| 
									
										
										
										
											2024-01-09 16:48:48 +08:00
										 |  |  |       <NavBar /> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |       <ContentContainer> | 
					
						
							| 
									
										
										
										
											2024-08-14 12:57:22 +08:00
										 |  |  |         <h2 className={"caption-font my-5 flex justify-center font-bold text-2xl"}>{"404 NOT FOUND"}</h2> | 
					
						
							| 
									
										
										
										
											2024-01-15 11:44:48 +08:00
										 |  |  |         <Separator /> | 
					
						
							|  |  |  |         <div className="my-5 flex flex-col justify-center"> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |           <TfiFaceSad className="mx-auto my-4" size={"6em"} /> | 
					
						
							| 
									
										
										
										
											2024-08-14 12:57:22 +08:00
										 |  |  |           <p className={"mx-auto my-3 text-center text-xl content-font"}> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |             {"This page does not exist for it might be removed or closed."} | 
					
						
							|  |  |  |           </p> | 
					
						
							|  |  |  |           <div className="my-5 flex justify-center"> | 
					
						
							| 
									
										
										
										
											2024-04-03 22:08:27 +08:00
										 |  |  |             <Button className="font-bold" onClick={handleGoBack}> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |               {"GO BACK"} | 
					
						
							| 
									
										
										
										
											2024-01-08 20:26:32 +08:00
										 |  |  |             </Button> | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |           </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </ContentContainer> | 
					
						
							|  |  |  |       <Footer /> | 
					
						
							|  |  |  |     </Page> | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | } |