diff --git a/src/App.tsx b/src/App.tsx index 471ad7c..d25be6c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,8 +30,8 @@ export default function App() { -

{props.label}

+
+ { + SetSidebarOpen(true); + }} + /> +
+

+ {props.label} +

+
+ SetSidebarOpen(false)}> + +
); } diff --git a/src/Components/SidebarModal/SidebarModal.tsx b/src/Components/SidebarModal/SidebarModal.tsx new file mode 100644 index 0000000..0a2d4ed --- /dev/null +++ b/src/Components/SidebarModal/SidebarModal.tsx @@ -0,0 +1,65 @@ +import styles, { colors } from "../../styles"; +import AccountCircleIcon from "@mui/icons-material/AccountCircle"; +import HomeIcon from "@mui/icons-material/Home"; +export default function SidebarModal() { + return ( +
+
+ +

+ Placeholder Name +

+
+
+
+ +

+ Dashboard +

+
+
+ ); +} diff --git a/src/Pages/LandingPage/LandingPage.tsx b/src/Pages/LandingPage/LandingPage.tsx index c68e5f0..eee369c 100644 --- a/src/Pages/LandingPage/LandingPage.tsx +++ b/src/Pages/LandingPage/LandingPage.tsx @@ -74,7 +74,7 @@ export default function LandingPage() { modal position={"top center"} contentStyle={{ - width: "30vw", + width: "512px", borderRadius: 16, borderColor: "grey", borderStyle: "solid", @@ -93,7 +93,7 @@ export default function LandingPage() { modal position={"top center"} contentStyle={{ - width: "30vw", + width: "512px", borderRadius: 16, borderColor: "grey", borderStyle: "solid", diff --git a/src/styles.tsx b/src/styles.tsx index 61d5b75..4a8f257 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -42,19 +42,19 @@ const styles: { [key: string]: React.CSSProperties } = { fontWeight: "bold", }, text_XL: { - fontSize: "clamp(2rem, 4rem, 8rem)", + fontSize: "clamp(2rem, 3rem, 8rem)", }, text_L: { - fontSize: "clamp(1.5rem, 3rem, 6rem)", + fontSize: "clamp(1.5rem, 2rem, 6rem)", }, text_M: { - fontSize: "clamp(1rem, 2rem, 4rem)", + fontSize: "clamp(1rem, 1rem, 4rem)", }, text_S: { - fontSize: "clamp(0.5rem, 1rem, 2rem)", + fontSize: "clamp(0.6rem, 0.8rem, 1rem)", }, text_XS: { - fontSize: "clamp(0.2rem, 0.5rem, 1rem)", + fontSize: "clamp(0.5rem, 0.6rem, 0.8rem)", }, flex_row: { display: "flex",