diff --git a/src/app/(auth)/log-in/loginPage.module.scss b/src/app/(auth)/log-in/loginPage.module.scss index e4722a7..2890075 100644 --- a/src/app/(auth)/log-in/loginPage.module.scss +++ b/src/app/(auth)/log-in/loginPage.module.scss @@ -1,6 +1,6 @@ .loginPage { width: 100%; - height: 100%; + height: 100vh; .images { width: 100%; max-width: 500px; diff --git a/src/app/(dashboard)/home/page.tsx b/src/app/(dashboard)/home/page.tsx index eabb77b..a3ac932 100644 --- a/src/app/(dashboard)/home/page.tsx +++ b/src/app/(dashboard)/home/page.tsx @@ -3,14 +3,20 @@ import { Box, Card, Typography } from "@mui/material"; import React from "react"; import CardHeader from "@mui/material/CardHeader"; import CardContent from "@mui/material/CardContent"; +import TitleHeader from "@/components/titleHeader/titleHeader"; const HomePage = () => { return ( - - - Projects - + + + diff --git a/src/app/globals.scss b/src/app/globals.scss index 9f16bd8..f6d7345 100644 --- a/src/app/globals.scss +++ b/src/app/globals.scss @@ -73,7 +73,7 @@ /* Body */ html, body { - height: 100%; + min-height: 100vh; padding: 0; margin: 0; } diff --git a/src/components/titleHeader/titleHeader.tsx b/src/components/titleHeader/titleHeader.tsx new file mode 100644 index 0000000..1789ec8 --- /dev/null +++ b/src/components/titleHeader/titleHeader.tsx @@ -0,0 +1,63 @@ +import { Box, Card, CardContent, Typography } from "@mui/material"; +import React from "react"; +import Breadcrumbs from "@mui/material/Breadcrumbs"; +import Link from "@mui/material/Link"; +import HomeIcon from "@mui/icons-material/Home"; + +// function handleClick(event: React.MouseEvent) { +// event.preventDefault(); +// console.info('You clicked a breadcrumb.'); +// } + +const TitleHeader = () => { + return ( + + + + + Projects + + + + + Page + + + Project Table + + + + + + ); +}; + +export default TitleHeader; diff --git a/src/components/wrapper/DashboardWrapper.module.scss b/src/components/wrapper/DashboardWrapper.module.scss index 6af4ba5..7b46415 100644 --- a/src/components/wrapper/DashboardWrapper.module.scss +++ b/src/components/wrapper/DashboardWrapper.module.scss @@ -7,4 +7,5 @@ } .dashboard_main { background: var(--dashboard-bg); + min-height: 100vh; } diff --git a/src/theme.ts b/src/theme.ts index db32bd5..4a2659d 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -22,6 +22,17 @@ const theme = createTheme({ light: getCssVariableValue("--primary_light").trim() || "#dae7f9", // Fallback to default color }, }, + components: { + MuiCardContent: { + styleOverrides: { + root: { + "&:last-child": { + paddingBottom: "16px", // Override the padding for the last child + }, + }, + }, + }, + }, }); export default theme; diff --git a/src/utilities/svgConstant.tsx b/src/utilities/svgConstant.tsx index bebba19..469d070 100644 --- a/src/utilities/svgConstant.tsx +++ b/src/utilities/svgConstant.tsx @@ -1,6 +1,6 @@ // Import necessary functions and types +import { createSvgIcon } from "@mui/material"; import React from "react"; -import { createSvgIcon } from "@mui/material/utils"; // Define the SVG component using createSvgIcon export const BUILDING = createSvgIcon(