diff --git a/public/images/grid-background.jpg b/public/images/grid-background.jpg
new file mode 100644
index 0000000..e6f0e84
Binary files /dev/null and b/public/images/grid-background.jpg differ
diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index deb40e6..e456c92 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -17,6 +17,9 @@ const Header = () => {
Login
+
+ Assignment
+
diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx
index d23c456..8eb0022 100644
--- a/src/components/Hero.jsx
+++ b/src/components/Hero.jsx
@@ -6,10 +6,10 @@ function Hero() {
return (
-
Welcome to BattleSnake!!!
+
Welcome to Bytecamp!!!
Play for Fun!
- A competitive game where your code is the controller. All you need is
+ A competitive game where your code is the controller. All you need is
a web server that responds to the Battlesnake API.
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx
index a705b7e..7b94987 100644
--- a/src/components/Navbar.jsx
+++ b/src/components/Navbar.jsx
@@ -1,19 +1,41 @@
-import React from 'react'
-import '../scss/styles.scss'
-import '../scss/components/_navbar.scss'
+import React from "react";
+import "../scss/styles.scss";
+import "../scss/components/_navbar.scss";
+import { Link } from "react-router-dom";
const Navbar = () => {
return (
- )
-}
+ );
+};
-export default Navbar
\ No newline at end of file
+export default Navbar;
diff --git a/src/main.jsx b/src/main.jsx
index b80fa22..f7abc3f 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -5,11 +5,10 @@ import "./scss/styles.scss";
import Navbar from "./components/Navbar";
import Hero from "./components/Hero";
import Services from "./components/Services";
+import Header from "./components/Header";
createRoot(document.getElementById("root")).render(
-
-
);
diff --git a/src/pages/AssignmentPage.jsx b/src/pages/AssignmentPage.jsx
new file mode 100644
index 0000000..ede6235
--- /dev/null
+++ b/src/pages/AssignmentPage.jsx
@@ -0,0 +1,107 @@
+// Page - Assignment
+import { useEffect, useState } from 'react';
+import '../scss/styles.scss';
+
+const AssignmentPage = () => {
+ const [files, setFiles] = useState([]);
+
+ useEffect(() => {
+ document.title = 'Assignment';
+ }, []);
+
+ const handleFileChange = (e) => {
+ if (e.target.files) {
+ const newFiles = Array.from(e.target.files);
+ setFiles(prevFiles => [...prevFiles, ...newFiles]);
+ }
+ };
+
+ const handleRemoveFile = (index) => {
+ setFiles(prevFiles => prevFiles.filter((_, i) => i !== index));
+ };
+
+ const handleSubmit = (e) => {
+ e.preventDefault();
+ // Here you would typically send the files to a server
+ console.log('Files to submit:', files);
+ alert('Assignment submitted successfully!');
+ };
+
+ return (
+
+
+
+
Assignment Submission
+
+
Due on Jan 16, 2025 11:59 PM
+
+
+
+
+
+
Submit Assignment
+
({files.length}) file(s) to submit
+
After uploading, you must click Submit to complete the submission.