From d2cba825ec0451b547d2b09be279f2d98b752ae5 Mon Sep 17 00:00:00 2001 From: benzbarquilla Date: Mon, 2 Mar 2026 16:46:25 +0800 Subject: [PATCH] done users page layout --- frontend/src/app/home/page.jsx | 59 ++++++++++++++- frontend/src/app/home/styles.module.css | 98 +++++++++++++++++++++++++ 2 files changed, 156 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/home/page.jsx b/frontend/src/app/home/page.jsx index ef59498..630aeb6 100644 --- a/frontend/src/app/home/page.jsx +++ b/frontend/src/app/home/page.jsx @@ -1,7 +1,64 @@ import React from "react"; +import userDashboardStyle from "./styles.module.css"; const HomePage = () => { - return
; + return ( + // Main +
+
+
+ {/* User Name */} +
+ {/* Name and Welcome Msg */} +
+ {/* Weather */} +
+ + + + +

+ Friday, Feb 23 + rd +

+
+ {/* Name */} +
+

Hi, Grills!

+

+ Welcome to the ISAAC IDP! +

+
+
+ {/* Logo */} +
+
+ {/* Link */} +
+ {/* Extra Space */} +
+
+
+
+ ); }; export default HomePage; diff --git a/frontend/src/app/home/styles.module.css b/frontend/src/app/home/styles.module.css index e69de29..4eb61f5 100644 --- a/frontend/src/app/home/styles.module.css +++ b/frontend/src/app/home/styles.module.css @@ -0,0 +1,98 @@ +.mainWrapper { + display: flex; + align-items: flex-start; + flex: 1 0 0; + align-self: stretch; +} +.mainContainer { + display: flex; + padding: 36px; + align-items: flex-start; + flex: 1 0 0; + align-self: stretch; + background: #191a24; + background: color(display-p3 0.098 0.102 0.1373); +} +.userDashContainer { + display: flex; + flex-direction: column; + align-items: flex-start; + flex: 1 0 0; + align-self: stretch; + background: #191a24; + background: color(display-p3 0.098 0.102 0.1373); +} +.userNameContainer { + display: flex; + padding: 24px; + justify-content: space-between; + align-items: center; + align-self: stretch; + border-radius: 8px; + background: #21232f; + background: color(display-p3 0.1294 0.1373 0.1804); +} +.nameSection { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 24px; + flex: 1 0 0; +} +.logoSection { + display: flex; + padding-right: 16px; + flex-direction: column; + justify-content: flex-end; + align-items: center; + align-self: stretch; +} +.weather { + display: flex; + align-items: center; + gap: 12px; + align-self: stretch; +} +.weather > p { + color: #d2d3e1; + color: color(display-p3 0.8235 0.8275 0.8784); + font-family: Inter; + font-size: 18px; + font-style: normal; + font-weight: 400; + line-height: normal; + letter-spacing: -0.18px; +} + +.ordinal { + font-size: 0.6em; + vertical-align: super; +} +.name { + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + gap: 48px; + align-self: stretch; +} +.welcomeGreet { + color: #d2d3e1; + color: color(display-p3 0.8235 0.8275 0.8784); + font-family: Inter; + font-size: 24px; + font-style: normal; + font-weight: 500; + line-height: normal; + letter-spacing: -0.24px; +} +.welcomeMsg { + color: #d2d3e1; + color: color(display-p3 0.8235 0.8275 0.8784); + font-family: Inter; + font-size: 40px; + font-style: normal; + font-weight: 500; + line-height: normal; + letter-spacing: 0.4px; +}