From f0beddbaa8f1597ba3079dc126312a52ced1a7b0 Mon Sep 17 00:00:00 2001 From: M M Date: Sun, 19 May 2024 22:40:55 -0700 Subject: [PATCH 1/2] Implemented the integrations component. --- Client/src/Components/Integrations/index.css | 0 Client/src/Components/Integrations/index.jsx | 24 ++++++++++++++++++++ Client/src/Pages/Home/index.jsx | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 Client/src/Components/Integrations/index.css create mode 100644 Client/src/Components/Integrations/index.jsx diff --git a/Client/src/Components/Integrations/index.css b/Client/src/Components/Integrations/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Components/Integrations/index.jsx b/Client/src/Components/Integrations/index.jsx new file mode 100644 index 000000000..030a79309 --- /dev/null +++ b/Client/src/Components/Integrations/index.jsx @@ -0,0 +1,24 @@ +import { Box, Button, Typography } from '@mui/material'; + +const Integrations = () => { + return ( + + + + + + Header + + + This is a paragraph that provides more detail about the header. + + + + + + ); +}; + +export default Integrations; diff --git a/Client/src/Pages/Home/index.jsx b/Client/src/Pages/Home/index.jsx index ff5cb454e..a1ad8e314 100644 --- a/Client/src/Pages/Home/index.jsx +++ b/Client/src/Pages/Home/index.jsx @@ -2,6 +2,7 @@ import DropdownTeamMember from "../../Components/DropdownTeamMember"; import Search from "../../Components/Search"; import "./index.css"; import DashboardMenu from "../../Components/DashboardMenu"; +import Integrations from "../../Components/Integrations"; const Home = () => { return ( @@ -10,6 +11,7 @@ const Home = () => { + ); }; From aa000bda8bb710a8aa413747e9526a664f6eb271 Mon Sep 17 00:00:00 2001 From: M M Date: Tue, 21 May 2024 16:38:11 -0700 Subject: [PATCH 2/2] Refactored the code and addressed the comments. --- Client/src/Components/Integrations/index.jsx | 48 ++++++++++++++++---- 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/Client/src/Components/Integrations/index.jsx b/Client/src/Components/Integrations/index.jsx index 030a79309..b0e00bdfe 100644 --- a/Client/src/Components/Integrations/index.jsx +++ b/Client/src/Components/Integrations/index.jsx @@ -1,22 +1,54 @@ -import { Box, Button, Typography } from '@mui/material'; +import { Box, Typography, useTheme } from '@mui/material'; +import Button from '../Button'; +/** + * Integrations component + * @returns {JSX.Element} + */ const Integrations = () => { + const theme = useTheme(); + return ( - - + + - + Header - + This is a paragraph that provides more detail about the header. - +