diff --git a/ditto/public/images/banner.png b/ditto/public/images/banner.png new file mode 100644 index 0000000..d3e93b5 Binary files /dev/null and b/ditto/public/images/banner.png differ diff --git a/ditto/public/images/banner2.png b/ditto/public/images/banner2.png new file mode 100644 index 0000000..462517c Binary files /dev/null and b/ditto/public/images/banner2.png differ diff --git a/ditto/public/images/banner3.png b/ditto/public/images/banner3.png new file mode 100644 index 0000000..c31b98d Binary files /dev/null and b/ditto/public/images/banner3.png differ diff --git a/ditto/public/images/home-banner2.png b/ditto/public/images/home-banner2.png new file mode 100644 index 0000000..cafe6fd Binary files /dev/null and b/ditto/public/images/home-banner2.png differ diff --git a/ditto/src/pages/index.tsx b/ditto/src/pages/index.tsx index 640cd55..a203b34 100644 --- a/ditto/src/pages/index.tsx +++ b/ditto/src/pages/index.tsx @@ -85,65 +85,67 @@ export default function Home() { return (
harbour -
-
-

harbour

-
-
- -
-
- - Take me to a - -
- item.setting)} - value={prompt} - disabled={true} - onSelect={setPrompt} - /> -
- - - to practice - - - -
- - {/* Fake form button that uses state to update url */} - - {selectedModuleName && - -
-

Ahoy!

- + + {/*

harbour

*/} + +
+
+
+ + Take me to the + +
+ item.setting)} + value={prompt} + disabled={true} + onSelect={setPrompt} + /> +
+ + + to practice + + +
- - } -
-
-
- Made with ♡ during Hackthe6ix 2023 by Justin, Kenneth, Nicole & Roseanna - {/* */} + {/* Fake form button that uses state to update url */} + {selectedModuleName && + +
+

Ahoy!

+ +
+ + } +
+
+ + + +
+
+ Made with ♡ during Hackthe6ix 2023 by Justin, Kenneth, Nicole & Roseanna + {/* */} +
diff --git a/ditto/src/styles/main_menu.scss b/ditto/src/styles/main_menu.scss index 6949183..86f85f8 100644 --- a/ditto/src/styles/main_menu.scss +++ b/ditto/src/styles/main_menu.scss @@ -28,16 +28,16 @@ background: linear-gradient(189deg, rgba(27,52,64,1) 20%, rgba(10,18,27,1) 100%) } .header { - background-image: url("/images/home-banner.png"); - background-position:center; + background-image: url("/images/banner3.png"); + background-position: center; width: 100%; height: 100%; background-size: cover; color: white; text-align: center; - z-index: 999; - display: block; - position: relative; + // z-index: 999; + // display: block; + position: absolute; } @@ -88,11 +88,12 @@ background: linear-gradient(189deg, rgba(27,52,64,1) 20%, rgba(10,18,27,1) 100%) flex-direction: column; justify-content: center; align-items: center; - height: 27.5%; + margin-bottom: 100px; + height: 20%; } .main-bar{ - width: 100%; + // width: 100%; display: flex; flex-direction: row; padding: 20px;