diff --git a/frontend/src/app/components/sidebar/Sidebar.jsx b/frontend/src/app/components/sidebar/Sidebar.jsx index 5e6ca0e..f378bb2 100644 --- a/frontend/src/app/components/sidebar/Sidebar.jsx +++ b/frontend/src/app/components/sidebar/Sidebar.jsx @@ -2,84 +2,93 @@ import React from "react"; import styles from "./styles.module.css"; const Sidebar = () => { return ( -
-
+
+
{/* Logo Container */}
- - - - - -
-

Internal Developer Platform

-

By Project Moonshot Inc.

+
+ + + + + + +
+
+

Internal Developer Platform

+

By Project Moonshot Inc.

+
{/* Navigations */}
-
+
+

Home

@@ -87,144 +96,49 @@ const Sidebar = () => {
- - - - - - - - - - - - - +

Organization

- - - - - - - - - +

Project

- - - {
@@ -283,50 +197,17 @@ const Sidebar = () => {
- - - -

Credentials

@@ -334,9 +215,9 @@ const Sidebar = () => {
@@ -375,51 +256,53 @@ const Sidebar = () => { {/* Footers */}
-

Download ICTL v3

- - - - - - - - - +

Download ICTL v3

+ + + - - - + + + + + + + + + +
diff --git a/frontend/src/app/components/sidebar/styles.module.css b/frontend/src/app/components/sidebar/styles.module.css index 7657e2e..71067ac 100644 --- a/frontend/src/app/components/sidebar/styles.module.css +++ b/frontend/src/app/components/sidebar/styles.module.css @@ -1,12 +1,157 @@ -.navContainer > div > svg > path { +.mainContainer { + display: flex; + width: 250px; + flex-direction: column; + justify-content: space-between; + align-items: center; + flex-shrink: 0; + height: 100vh; + align-self: stretch; + border-right: 1px solid #2c2d3d; +} +.topContainer { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 16px; + align-self: stretch; +} +.logoContainer { + display: flex; + height: 84px; + padding: 12px 16px; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 12px; + align-self: stretch; + border-bottom: 1px solid #2c2d3d; + border-bottom: 1px solid color(display-p3 0.1725 0.1765 0.2353); +} +.logoContainer > div { + display: flex; + padding-right: 6px; + align-items: center; + gap: 8px; + align-self: stretch; +} +.logoIconContainer { + display: flex; + width: 50px; + height: 50px; + padding: 8px; + justify-content: center; + align-items: center; + gap: 9px; + aspect-ratio: 1/1; + border-radius: 4px; +} +.logoDescription { + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 4px; + flex: 1 0 0; +} +.logoDescription > p:nth-child(1) { + color: #fff; + color: color(display-p3 1 1 1); + font-size: 15px; + font-style: normal; + font-weight: 500; + line-height: 18px; +} +.logoDescription > p:nth-child(2) { + color: #85869b; + color: color(display-p3 0.5216 0.5255 0.6); + font-size: 10px; + font-style: normal; + font-weight: 400; + line-height: normal; + letter-spacing: 0.05px; + align-self: stretch; +} +.navContainer { + display: flex; + flex-direction: column; + align-items: flex-start; + align-self: stretch; +} +.navContainer > div { + display: flex; + padding: 16px 24px; + align-items: center; + cursor: pointer; + gap: 16px; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; + align-self: stretch; +} + +.navContainer > div:hover { + background: rgba(149, 154, 255, 0.05); +} +.navContainer > div path { stroke: #858699; } -.navContainer > div:hover > svg > path { - stroke: #969af9; +.navContainer > div:hover path { + stroke: #d2d3e0; } -.navContainer > div > svg > g > path { +.navContainer > div path { stroke: #858699; } -.navContainer > div:hover > svg > g > path { +.navContainer > div:hover path { + stroke: #d2d3e0; +} +.active { + border-left: 2px solid #959aff; + background: rgba(149, 154, 255, 0.05); + color: #959aff; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; +} +.active svg path { stroke: #969af9; } +.navFooterContainer { + display: flex; + padding: 16px; + flex-direction: column; + align-items: flex-start; + gap: 10px; + align-self: stretch; +} +.navFooterContainer > div { + display: flex; + padding: 12px 16px; + flex-direction: column; + align-items: flex-start; + gap: 24px; + align-self: stretch; + border-radius: 8px; + border: 1px solid #292b43; + background: #1d1e2c; + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1); +} +.navFooterContainer > div > div { + display: flex; + width: 186px; + justify-content: space-between; + align-items: center; + flex: 1 0 0; +} +.navFooterContainer > div > div > p { + color: #d2d3e1; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 500; + line-height: normal; +}