diff --git a/01-frontend/src/App.css b/01-frontend/src/App.css
index 08f4d06..ecb8c8b 100644
--- a/01-frontend/src/App.css
+++ b/01-frontend/src/App.css
@@ -36,4 +36,4 @@
.read-the-docs {
color: #888;
-}
+}
\ No newline at end of file
diff --git a/01-frontend/src/helper/ItemCard.tsx b/01-frontend/src/helper/ItemCard.tsx
index a628753..d2786f8 100644
--- a/01-frontend/src/helper/ItemCard.tsx
+++ b/01-frontend/src/helper/ItemCard.tsx
@@ -17,7 +17,7 @@ export default function ItemCard({item}: {item: Item}) {
{item.name}
-
+
{item.description}
diff --git a/01-frontend/src/pages/Home.tsx b/01-frontend/src/pages/Home.tsx
index b14018a..203e15f 100644
--- a/01-frontend/src/pages/Home.tsx
+++ b/01-frontend/src/pages/Home.tsx
@@ -1,8 +1,9 @@
-import { Pagination } from "@mui/material";
+import { Box, Pagination } from "@mui/material";
import ItemCard from "../helper/ItemCard";
import Item from "../components/Item";
export default function Home() {
+
const items: Item[] = [
{
id: "1",
@@ -28,10 +29,12 @@ export default function Home() {
return (
- {items.map((item) => (
-
- ))}
-
+
+ {items.map((item) => (
+
+ ))}
+
+
);
}
\ No newline at end of file
diff --git a/01-frontend/src/pages/NoPage.tsx b/01-frontend/src/pages/NoPage.tsx
index 0778df4..f1b91bf 100644
--- a/01-frontend/src/pages/NoPage.tsx
+++ b/01-frontend/src/pages/NoPage.tsx
@@ -1,8 +1,34 @@
+import { Box, Typography, Button } from "@mui/material";
+import { useNavigate } from "react-router-dom";
+import "./pages.css";
+
export default function NoPage() {
+ const navigate = useNavigate();
+
+ const handleGoHome = () => {
+ navigate("/");
+ };
+
return (
-
-
404 Not Found
-
The page you are looking for does not exist.
-
- )
+
+
+ 404
+
+
+ Oops! The page you're looking for doesn't exist.
+
+
+ It seems you may have taken a wrong turn. Let's get you back on track.
+
+
+
+ );
}
\ No newline at end of file
diff --git a/01-frontend/src/pages/pages.css b/01-frontend/src/pages/pages.css
new file mode 100644
index 0000000..83e8032
--- /dev/null
+++ b/01-frontend/src/pages/pages.css
@@ -0,0 +1,50 @@
+.no-page-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ height: 100vh;
+ text-align: center;
+ background: linear-gradient(135deg, #ece9e6, #ffffff);
+ color: #333;
+ gap: 2%;
+}
+
+.no-page-title {
+ font-size: 8rem;
+ font-weight: bold;
+ color: #1976d2; /* Material-UI Primary Color */
+ margin-bottom: 16px;
+}
+
+.no-page-subtitle {
+ font-size: 1.5rem;
+ margin-bottom: 8px;
+ color: #555;
+}
+
+.no-page-description {
+ font-size: 1rem;
+ margin-bottom: 24px;
+ color: #777;
+}
+
+.no-page-button {
+ font-size: 1rem;
+ padding: 12px 24px;
+ background-color: #1976d2;
+ color: white;
+ border-radius: 8px;
+ transition: background-color 0.3s ease;
+}
+
+.no-page-button:hover {
+ background-color: #115293;
+}
+
+cardgrid {
+ display: grid;
+ gap: 2%;
+ max-width: 3%;
+ }
+
\ No newline at end of file