diff --git a/src/Header/Header.css b/src/Header/Header.css index a0c1951..166b486 100644 --- a/src/Header/Header.css +++ b/src/Header/Header.css @@ -1,8 +1,14 @@ header { display: flex; - flex-direction: column; + flex-direction: row; margin: 1%; - margin-top: 0%; + margin-top: 1svh; + + align-items: center; + + /* background-color: aqua; */ + + /* background-image: url(); */ } header a { @@ -11,18 +17,15 @@ header a { cursor: pointer; } -figure { - margin: 0px; - height: 10%; -} - -header figure { - cursor: pointer; -} - #logo { - height: 5rem; - background-color: white; + height: 10svh; + /* background-color: white; */ + + padding: 0.15rem; +} + +nav { + padding-left: 1svw; } nav a { @@ -34,7 +37,11 @@ nav a { nav a li { background-color: white; padding: 0.5rem; - border: solid 1px gray; + border-left: solid 1px gray; +} + +#FirstNav { + border-left: none; } nav a li:hover { @@ -87,18 +94,24 @@ header div { align-items: center; } header div button { - border: none; cursor: pointer; - height: 4rem; - width: 4rem; - align-items: center; + height: 3rem; + width: 3rem; + justify-content: end; background-color: inherit; border: solid 2px gray; border-radius: 1rem; } header div button img { - width: 100%; + height: 2rem; +} + +header div { + display: flex; + justify-content: flex-end; + align-items: center; + flex-grow: 1; } /* for dark mode */ diff --git a/src/Header/Header.js b/src/Header/Header.js index 4e36533..3f42670 100644 --- a/src/Header/Header.js +++ b/src/Header/Header.js @@ -1,4 +1,4 @@ -import logo from "./logo.webp"; +import logo from "./logo.png"; import lightDark from "./light-dark.webp"; import { Outlet, Link } from "react-router-dom"; import "./Header.css"; @@ -9,9 +9,9 @@ import Ender from "../Footer/Ender"; * @returns {JSX.Element} JSX - HTML tags and JS functionality * @description The top header part of the page includes the naviagtion * @author Brock - * @todo final css add baja but eon (baja leads chat) + * @todo add appropriate links */ -const Header = () => { +export default function Header(props) { /** * @param {null} null - Takes in nothing * @returns {CSSStyleRule} CSS - changes page to darkmode @@ -44,43 +44,36 @@ const Header = () => { return ( <>
-
- -
- -
-

Schulich Offroad

-
-
- - -
+ + + +
+ +
); -}; - -export default Header; +} diff --git a/src/Header/logo.png b/src/Header/logo.png index a150fd5..cddca50 100644 Binary files a/src/Header/logo.png and b/src/Header/logo.png differ