From 9797432b7d31883f4c9597df05968c0bb4b21bba Mon Sep 17 00:00:00 2001 From: sigmaBoei Date: Mon, 23 Feb 2026 21:22:53 +0800 Subject: [PATCH] added navbar --- frontend/src/app/components/header/Header.jsx | 42 ++++++++-- .../app/components/header/styles.module.css | 79 +++++++++++++++++++ 2 files changed, 115 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/components/header/Header.jsx b/frontend/src/app/components/header/Header.jsx index 6deeb5a..9436983 100644 --- a/frontend/src/app/components/header/Header.jsx +++ b/frontend/src/app/components/header/Header.jsx @@ -1,17 +1,47 @@ import React from "react"; -import styles from "styles.module.css"; +import styles from "./styles.module.css"; const Header = () => { return ( // Main Container -
+ ); }; diff --git a/frontend/src/app/components/header/styles.module.css b/frontend/src/app/components/header/styles.module.css index e69de29..7c79c6d 100644 --- a/frontend/src/app/components/header/styles.module.css +++ b/frontend/src/app/components/header/styles.module.css @@ -0,0 +1,79 @@ +.headerContainer { + background-color: #ff0000; + display: flex; + height: 84px; + padding: 12px 24px; + justify-content: space-between; + align-items: center; + align-self: stretch; + border-bottom: 1px solid #2c2d3d; + border-bottom: 1px solid color(display-p3 0.1725 0.1765 0.2353); +} +.logoContainer { + background-color: orange; + display: flex; + padding: 6px; + align-items: center; + gap: 16px; + border-radius: 4px; +} +.logo { + width: 38px; + height: 38px; + aspect-ratio: 1/1; + border-radius: 100px; + background: + url(/images/logo.png) lightgray 50% / cover no-repeat, + #232537; + background: + url(/images/logo.png) lightgray 50% / cover no-repeat, + color(display-p3 0.1392 0.1443 0.2106); +} + +.orgName { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 4px; +} +.orgName p { + color: #eeeffd; + color: color(display-p3 0.9333 0.9373 0.9882); + font-family: Inter; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: normal; +} + +.dropdown { + display: inline-flex; + align-items: center; + gap: 16px; +} + +.dropdown > p { + color: #85869b; + color: color(display-p3 0.5216 0.5255 0.6); + font-family: Inter; + font-size: 15px; + font-style: normal; + font-weight: 500; + line-height: normal; +} + +.dropdown > div { + display: flex; + padding: 8px; + justify-content: center; + align-items: center; + gap: 10px; +} + +.dropdown > div > button > svg { + width: 9.922px; + height: 4.961px; + stroke: #959aff; + stroke-width: 1px; + stroke: color(display-p3 0.5892 0.6031 0.9766); +}