diff --git a/Client/package-lock.json b/Client/package-lock.json index 7236f3b6e..73edbf7fb 100644 --- a/Client/package-lock.json +++ b/Client/package-lock.json @@ -1014,6 +1014,7 @@ "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", @@ -1335,6 +1336,7 @@ "version": "7.6.2", "resolved": "https://registry.npmjs.org/@mui/x-charts/-/x-charts-7.6.2.tgz", "integrity": "sha512-oG22NRno1+HSLV/9jVLThnHAKN4g+MXOO6GqaQxN9LM0hjt1tgRsrNAlfcJndmj/dVwqFtynkFB5qWnTEBZs7Q==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.24.6", "@mui/base": "^5.0.0-beta.40", @@ -1925,9 +1927,9 @@ "dev": true }, "node_modules/@vitejs/plugin-react": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.0.tgz", - "integrity": "sha512-KcEbMsn4Dpk+LIbHMj7gDPRKaTMStxxWRkRmxsg/jVdFdJCZWt1SchZcf0M4t8lIKdwwMsEyzhrcOXRrDPtOBw==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz", + "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==", "dev": true, "dependencies": { "@babel/core": "^7.24.5", @@ -2268,9 +2270,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001629", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001629.tgz", - "integrity": "sha512-c3dl911slnQhmxUIT4HhYzT7wnBK/XYpGnYLOj4nJBaRiw52Ibe7YxlDaAeRECvA786zCuExhxIUJ2K7nHMrBw==", + "version": "1.0.30001632", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz", + "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==", "dev": true, "funding": [ { @@ -2643,7 +2645,9 @@ "version": "1.4.796", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.796.tgz", "integrity": "sha512-NglN/xprcM+SHD2XCli4oC6bWe6kHoytcyLKCWXmRL854F0qhPhaYgUswUsglnPxYaNQIg2uMY4BvaomIf3kLA==", - "dev": true + "dev": true, + "license": "ISC" + }, "node_modules/error-ex": { "version": "1.3.2", diff --git a/Client/src/Components/Integrations/index.jsx b/Client/src/Components/Integrations/index.jsx index b0e00bdfe..4709adef6 100644 --- a/Client/src/Components/Integrations/index.jsx +++ b/Client/src/Components/Integrations/index.jsx @@ -1,11 +1,17 @@ import { Box, Typography, useTheme } from '@mui/material'; import Button from '../Button'; +import PropTypes from 'prop-types'; /** * Integrations component - * @returns {JSX.Element} + * @param {Object} props - Props for the IntegrationsComponent. + * @param {string} props.url - The URL for the integration image. + * @param {string} props.header - The header for the integration. + * @param {string} props.info - Information about the integration. + * @param {Function} props.onClick - The onClick handler for the integration button. + * @returns {JSX.Element} The JSX representation of the IntegrationsComponent. */ -const Integrations = () => { +const IntegrationsComponent = ({ url, header, info, onClick }) => { const theme = useTheme(); return ( @@ -19,8 +25,8 @@ const Integrations = () => { > @@ -32,8 +38,8 @@ const Integrations = () => { flexDirection="column" alignItems="flex-start" > - - Header + + {header} { wordWrap: 'break-word', textAlign: 'left' }} + style={{ fontSize: '13px' }} > - This is a paragraph that provides more detail about the header. + {info} -