diff --git a/src/NotFound/NotFound.css b/src/NotFound/NotFound.css new file mode 100644 index 0000000..a496b71 --- /dev/null +++ b/src/NotFound/NotFound.css @@ -0,0 +1,40 @@ +.not-found-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100vh; + background-color: #c85b12; + font-family: Arial, sans-serif; +} + +.not-found-image { + width: 80px; + height: 80px; + margin-bottom: 20px; +} + +.not-found-code { + font-size: 120px; + color: white; + background-color: red; + padding: 40px 80px; + border-radius: 20px; + margin: 0; +} + +.home-button { + margin-top: 30px; + padding: 12px 24px; + font-size: 16px; + border: none; + border-radius: 8px; + background-color: #007bff; + color: white; + cursor: pointer; + transition: background-color 0.3s; +} + +.home-button:hover { + background-color: #0056b3; +} diff --git a/src/NotFound/NotFound.tsx b/src/NotFound/NotFound.tsx new file mode 100644 index 0000000..433e41d --- /dev/null +++ b/src/NotFound/NotFound.tsx @@ -0,0 +1,25 @@ +import React from "react"; +import "./NotFound.css"; +import ieeeutdlogo from "../assets/ieeeutdlogo.png" + +const NotFound: React.FC = () => { + const handleGoHome = () => { + window.location.href = "/"; // redirect to home + }; + + return ( +