umwd-components 0.1.138 → 0.1.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,8 @@ var Link = require('next/link');
15
15
  var Image = require('next/image');
16
16
  var getIcon = require('../lib/getIcon.js');
17
17
  var PropTypes = require('prop-types');
18
+ require('@mui/material/SvgIcon');
19
+ var MuiLink = require('./MuiLink.js');
18
20
 
19
21
  Footer.propTypes = {
20
22
  site_title: PropTypes.string.isRequired,
@@ -58,6 +60,7 @@ function Footer(_ref) {
58
60
  maxWidth = "lg"
59
61
  } = _ref;
60
62
  const theme = material.useTheme();
63
+ const APIcon = getIcon.default("APIcon");
61
64
  return /*#__PURE__*/React.createElement(material.AppBar, {
62
65
  position: "relative",
63
66
  sx: {
@@ -94,7 +97,10 @@ function Footer(_ref) {
94
97
  }
95
98
  }, /*#__PURE__*/React.createElement(material.Typography, {
96
99
  variant: "h6",
97
- color: "#ffffff"
100
+ color: "#ffffff",
101
+ sx: {
102
+ mb: 2
103
+ }
98
104
  }, site_title), logo && /*#__PURE__*/React.createElement(material.Box, {
99
105
  sx: {
100
106
  display: "flex",
@@ -113,7 +119,10 @@ function Footer(_ref) {
113
119
  sm: 4,
114
120
  align: "center"
115
121
  }, /*#__PURE__*/React.createElement(material.Typography, {
116
- variant: "h6"
122
+ variant: "h6",
123
+ sx: {
124
+ mb: 2
125
+ }
117
126
  }, "Contact Information"), /*#__PURE__*/React.createElement(material.Typography, {
118
127
  variant: "h6"
119
128
  }, company_name), parent_company_name && /*#__PURE__*/React.createElement(material.Typography, {
@@ -136,25 +145,25 @@ function Footer(_ref) {
136
145
  sm: 4,
137
146
  align: "center"
138
147
  }, company_socials.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(material.Typography, {
139
- variant: "h6"
148
+ variant: "h6",
149
+ sx: {
150
+ mb: 2
151
+ }
140
152
  }, "Socials"), /*#__PURE__*/React.createElement(material.Stack, {
141
153
  spacing: 2,
142
154
  sx: {
143
155
  width: "min-content",
144
- color: "primary.contrastText"
156
+ color: "primary.contrastText",
157
+ alignContent: "space-between"
145
158
  }
146
159
  }, company_socials.map((company_social, index) => {
147
160
  const Icon = getIcon.default(company_social.icon);
148
161
  return /*#__PURE__*/React.createElement(material.IconButton, {
149
162
  key: index,
150
163
  color: "inherit",
151
- href: company_social.url
152
- }, Icon !== null && /*#__PURE__*/React.createElement(Icon, {
153
- sx: {
154
- mr: 2,
155
- mt: 0.2
156
- }
157
- }));
164
+ href: company_social.url,
165
+ size: "large"
166
+ }, Icon !== null && /*#__PURE__*/React.createElement(Icon, null));
158
167
  })))), /*#__PURE__*/React.createElement(material.Grid, {
159
168
  item: true,
160
169
  xs: 12
@@ -205,7 +214,18 @@ function Footer(_ref) {
205
214
  justifyContent: "center",
206
215
  alignItems: "center"
207
216
  }
208
- }, /*#__PURE__*/React.createElement(material.Typography, null, "Made possible by Atelier Paulus"))))));
217
+ }, /*#__PURE__*/React.createElement(MuiLink.MuiLink, {
218
+ href: "https://atelierpaulus.nl/"
219
+ }, /*#__PURE__*/React.createElement(material.Typography, {
220
+ color: "secondary.contrastText",
221
+ sx: {
222
+ textDecoration: "underline"
223
+ }
224
+ }, "Made possible by", " ", APIcon !== null && /*#__PURE__*/React.createElement(APIcon, {
225
+ sx: {
226
+ mx: 2
227
+ }
228
+ }), "Atelier Paulus")))))));
209
229
  }
210
230
 
211
231
  exports.default = Footer;
@@ -27,7 +27,9 @@ function HeroSection(_ref) {
27
27
  glass = false
28
28
  } = data;
29
29
  const theme = material.useTheme();
30
- utils.setOpacity(theme.palette.background.paper, 0.1);
30
+
31
+ // const glassColor = setOpacity(theme.palette.background.paper, 0.1);
32
+
31
33
  return /*#__PURE__*/React.createElement("header", {
32
34
  style: {
33
35
  position: "relative",
@@ -46,7 +48,9 @@ function HeroSection(_ref) {
46
48
  py: 6,
47
49
  ...sx
48
50
  }
49
- }, bgImage && /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
51
+ }, bgImage && /*#__PURE__*/React.createElement(material.Box, {
52
+ className: "manipulator"
53
+ }, /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
50
54
  alt: "Background",
51
55
  style: {
52
56
  position: "absolute",
@@ -58,7 +62,7 @@ function HeroSection(_ref) {
58
62
  height: bgImage.height || 1080,
59
63
  src: bgImage.url,
60
64
  width: bgImage.width || 1920
61
- }), /*#__PURE__*/React.createElement(material.Container, {
65
+ })), /*#__PURE__*/React.createElement(material.Container, {
62
66
  maxWidth: maxWidth || "lg",
63
67
  sx: {
64
68
  my: 1,
@@ -0,0 +1,51 @@
1
+ /*
2
+ * UMWD-Components
3
+ * @copyright Jelle Paulus
4
+ * @license MIT
5
+ */
6
+
7
+ 'use strict';
8
+
9
+ Object.defineProperty(exports, '__esModule', { value: true });
10
+
11
+ var React = require('react');
12
+ var SvgIcon = require('@mui/material/SvgIcon');
13
+
14
+ function _interopNamespaceDefault(e) {
15
+ var n = Object.create(null);
16
+ if (e) {
17
+ Object.keys(e).forEach(function (k) {
18
+ if (k !== 'default') {
19
+ var d = Object.getOwnPropertyDescriptor(e, k);
20
+ Object.defineProperty(n, k, d.get ? d : {
21
+ enumerable: true,
22
+ get: function () { return e[k]; }
23
+ });
24
+ }
25
+ });
26
+ }
27
+ n.default = e;
28
+ return Object.freeze(n);
29
+ }
30
+
31
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
32
+
33
+ function APIcon(props) {
34
+ return /*#__PURE__*/React__namespace.createElement(SvgIcon, props, /*#__PURE__*/React__namespace.createElement("svg", {
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ fill: "currentColor",
37
+ viewBox: "0 0 24 24",
38
+ strokeWidth: 0,
39
+ stroke: "currentColor"
40
+ }, /*#__PURE__*/React__namespace.createElement("path", {
41
+ d: "M23.55.48s-3.79-.94-4.73,0c-.51.51-1.55,4.73-2.39,8.43-.24,1.05.6,1.83,1.3,2.32.87.59,1.52,1.47,1.84,2.49.15.48.4,1.48,1.55,1.41,1.16-.07,2.12-.23,2.42-.53.93-.93,0-14.12,0-14.12Z"
42
+ }), /*#__PURE__*/React__namespace.createElement("path", {
43
+ d: "M15.06,8.99c-.06-3.7-.25-7.95-.82-8.52C13.22-.55.46.48.46.48.46.48-.58,10.31.46,11.36c.57.57,4.79,1.61,8.49,2.43.92.2,1.8-.47,2.09-.98.56-1,1.47-1.77,2.57-2.14.87-.3,1.46-.92,1.45-1.67Z"
44
+ }), /*#__PURE__*/React__namespace.createElement("path", {
45
+ d: "M23.55,17.24c-.34-.34-1.34-.68-2.53-.98-.75-.19-1.44.28-1.7.83-.6,1.25-1.73,2.19-3.1,2.52-.55.13-1.15.77-1.12,1.37.07,1.24.21,2.27.48,2.54.8.8,7.97,0,7.97,0,0,0,1.02-5.26,0-6.28Z"
46
+ }), /*#__PURE__*/React__namespace.createElement("path", {
47
+ d: "M8.88,15.17c-3.72.08-7.94.29-8.42.76-.87.87,0,7.59,0,7.59,0,0,11.45,1.02,12.47,0,.36-.36.71-1.43,1.02-2.69.21-.84-.48-1.33-1.05-1.63-1.12-.6-1.96-1.63-2.31-2.88-.17-.63-.74-1.17-1.73-1.15Z"
48
+ })));
49
+ }
50
+
51
+ exports.default = APIcon;
@@ -34,6 +34,7 @@ var FaceBookIcon = require('@mui/icons-material/Facebook');
34
34
  var TwitterIcon = require('@mui/icons-material/Twitter');
35
35
  var LocalShippingIcon = require('@mui/icons-material/LocalShipping');
36
36
  var InstagramIcon = require('@mui/icons-material/Instagram');
37
+ var APIcon = require('./APIcon.js');
37
38
 
38
39
  function getIcon(icon) {
39
40
  switch (icon) {
@@ -89,6 +90,8 @@ function getIcon(icon) {
89
90
  return LocalShippingIcon;
90
91
  case "InstagramIcon":
91
92
  return InstagramIcon;
93
+ case "APIcon":
94
+ return APIcon.default;
92
95
  default:
93
96
  return null;
94
97
  }
@@ -11,6 +11,8 @@ import Link$1 from 'next/link';
11
11
  import Image from 'next/image';
12
12
  import getIcon from '../lib/getIcon.js';
13
13
  import PropTypes from 'prop-types';
14
+ import '@mui/material/SvgIcon';
15
+ import { MuiLink } from './MuiLink.js';
14
16
 
15
17
  Footer.propTypes = {
16
18
  site_title: PropTypes.string.isRequired,
@@ -54,6 +56,7 @@ function Footer(_ref) {
54
56
  maxWidth = "lg"
55
57
  } = _ref;
56
58
  const theme = useTheme();
59
+ const APIcon = getIcon("APIcon");
57
60
  return /*#__PURE__*/React__default.createElement(AppBar, {
58
61
  position: "relative",
59
62
  sx: {
@@ -90,7 +93,10 @@ function Footer(_ref) {
90
93
  }
91
94
  }, /*#__PURE__*/React__default.createElement(Typography, {
92
95
  variant: "h6",
93
- color: "#ffffff"
96
+ color: "#ffffff",
97
+ sx: {
98
+ mb: 2
99
+ }
94
100
  }, site_title), logo && /*#__PURE__*/React__default.createElement(Box, {
95
101
  sx: {
96
102
  display: "flex",
@@ -109,7 +115,10 @@ function Footer(_ref) {
109
115
  sm: 4,
110
116
  align: "center"
111
117
  }, /*#__PURE__*/React__default.createElement(Typography, {
112
- variant: "h6"
118
+ variant: "h6",
119
+ sx: {
120
+ mb: 2
121
+ }
113
122
  }, "Contact Information"), /*#__PURE__*/React__default.createElement(Typography, {
114
123
  variant: "h6"
115
124
  }, company_name), parent_company_name && /*#__PURE__*/React__default.createElement(Typography, {
@@ -132,25 +141,25 @@ function Footer(_ref) {
132
141
  sm: 4,
133
142
  align: "center"
134
143
  }, company_socials.length > 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Typography, {
135
- variant: "h6"
144
+ variant: "h6",
145
+ sx: {
146
+ mb: 2
147
+ }
136
148
  }, "Socials"), /*#__PURE__*/React__default.createElement(Stack, {
137
149
  spacing: 2,
138
150
  sx: {
139
151
  width: "min-content",
140
- color: "primary.contrastText"
152
+ color: "primary.contrastText",
153
+ alignContent: "space-between"
141
154
  }
142
155
  }, company_socials.map((company_social, index) => {
143
156
  const Icon = getIcon(company_social.icon);
144
157
  return /*#__PURE__*/React__default.createElement(IconButton, {
145
158
  key: index,
146
159
  color: "inherit",
147
- href: company_social.url
148
- }, Icon !== null && /*#__PURE__*/React__default.createElement(Icon, {
149
- sx: {
150
- mr: 2,
151
- mt: 0.2
152
- }
153
- }));
160
+ href: company_social.url,
161
+ size: "large"
162
+ }, Icon !== null && /*#__PURE__*/React__default.createElement(Icon, null));
154
163
  })))), /*#__PURE__*/React__default.createElement(Grid, {
155
164
  item: true,
156
165
  xs: 12
@@ -201,7 +210,18 @@ function Footer(_ref) {
201
210
  justifyContent: "center",
202
211
  alignItems: "center"
203
212
  }
204
- }, /*#__PURE__*/React__default.createElement(Typography, null, "Made possible by Atelier Paulus"))))));
213
+ }, /*#__PURE__*/React__default.createElement(MuiLink, {
214
+ href: "https://atelierpaulus.nl/"
215
+ }, /*#__PURE__*/React__default.createElement(Typography, {
216
+ color: "secondary.contrastText",
217
+ sx: {
218
+ textDecoration: "underline"
219
+ }
220
+ }, "Made possible by", " ", APIcon !== null && /*#__PURE__*/React__default.createElement(APIcon, {
221
+ sx: {
222
+ mx: 2
223
+ }
224
+ }), "Atelier Paulus")))))));
205
225
  }
206
226
 
207
227
  export { Footer as default };
@@ -25,7 +25,9 @@ function HeroSection(_ref) {
25
25
  glass = false
26
26
  } = data;
27
27
  const theme = useTheme();
28
- setOpacity(theme.palette.background.paper, 0.1);
28
+
29
+ // const glassColor = setOpacity(theme.palette.background.paper, 0.1);
30
+
29
31
  return /*#__PURE__*/React__default.createElement("header", {
30
32
  style: {
31
33
  position: "relative",
@@ -44,7 +46,9 @@ function HeroSection(_ref) {
44
46
  py: 6,
45
47
  ...sx
46
48
  }
47
- }, bgImage && /*#__PURE__*/React__default.createElement(StrapiImage, {
49
+ }, bgImage && /*#__PURE__*/React__default.createElement(Box, {
50
+ className: "manipulator"
51
+ }, /*#__PURE__*/React__default.createElement(StrapiImage, {
48
52
  alt: "Background",
49
53
  style: {
50
54
  position: "absolute",
@@ -56,7 +60,7 @@ function HeroSection(_ref) {
56
60
  height: bgImage.height || 1080,
57
61
  src: bgImage.url,
58
62
  width: bgImage.width || 1920
59
- }), /*#__PURE__*/React__default.createElement(Container, {
63
+ })), /*#__PURE__*/React__default.createElement(Container, {
60
64
  maxWidth: maxWidth || "lg",
61
65
  sx: {
62
66
  my: 1,
@@ -0,0 +1,28 @@
1
+ /*
2
+ * UMWD-Components
3
+ * @copyright Jelle Paulus
4
+ * @license MIT
5
+ */
6
+
7
+ import * as React from 'react';
8
+ import SvgIcon from '@mui/material/SvgIcon';
9
+
10
+ function APIcon(props) {
11
+ return /*#__PURE__*/React.createElement(SvgIcon, props, /*#__PURE__*/React.createElement("svg", {
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ fill: "currentColor",
14
+ viewBox: "0 0 24 24",
15
+ strokeWidth: 0,
16
+ stroke: "currentColor"
17
+ }, /*#__PURE__*/React.createElement("path", {
18
+ d: "M23.55.48s-3.79-.94-4.73,0c-.51.51-1.55,4.73-2.39,8.43-.24,1.05.6,1.83,1.3,2.32.87.59,1.52,1.47,1.84,2.49.15.48.4,1.48,1.55,1.41,1.16-.07,2.12-.23,2.42-.53.93-.93,0-14.12,0-14.12Z"
19
+ }), /*#__PURE__*/React.createElement("path", {
20
+ d: "M15.06,8.99c-.06-3.7-.25-7.95-.82-8.52C13.22-.55.46.48.46.48.46.48-.58,10.31.46,11.36c.57.57,4.79,1.61,8.49,2.43.92.2,1.8-.47,2.09-.98.56-1,1.47-1.77,2.57-2.14.87-.3,1.46-.92,1.45-1.67Z"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ d: "M23.55,17.24c-.34-.34-1.34-.68-2.53-.98-.75-.19-1.44.28-1.7.83-.6,1.25-1.73,2.19-3.1,2.52-.55.13-1.15.77-1.12,1.37.07,1.24.21,2.27.48,2.54.8.8,7.97,0,7.97,0,0,0,1.02-5.26,0-6.28Z"
23
+ }), /*#__PURE__*/React.createElement("path", {
24
+ d: "M8.88,15.17c-3.72.08-7.94.29-8.42.76-.87.87,0,7.59,0,7.59,0,0,11.45,1.02,12.47,0,.36-.36.71-1.43,1.02-2.69.21-.84-.48-1.33-1.05-1.63-1.12-.6-1.96-1.63-2.31-2.88-.17-.63-.74-1.17-1.73-1.15Z"
25
+ })));
26
+ }
27
+
28
+ export { APIcon as default };
@@ -30,6 +30,7 @@ import FaceBookIcon from '@mui/icons-material/Facebook';
30
30
  import TwitterIcon from '@mui/icons-material/Twitter';
31
31
  import LocalShippingIcon from '@mui/icons-material/LocalShipping';
32
32
  import InstagramIcon from '@mui/icons-material/Instagram';
33
+ import APIcon from './APIcon.js';
33
34
 
34
35
  function getIcon(icon) {
35
36
  switch (icon) {
@@ -85,6 +86,8 @@ function getIcon(icon) {
85
86
  return LocalShippingIcon;
86
87
  case "InstagramIcon":
87
88
  return InstagramIcon;
89
+ case "APIcon":
90
+ return APIcon;
88
91
  default:
89
92
  return null;
90
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.138",
3
+ "version": "0.1.140",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -0,0 +1,6 @@
1
+ <svg id="o" data-name="AP logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
2
+ <path d="M98.12,1.99s-15.8-3.91-19.72,0c-2.14,2.14-6.47,19.71-9.94,35.14-.99,4.39,2.48,7.64,5.43,9.65,3.61,2.46,6.35,6.1,7.66,10.38.61,1.98,1.66,6.16,6.47,5.86,4.83-.3,8.84-.94,10.1-2.21,3.87-3.87,0-58.82,0-58.82Z" style="fill: #000; stroke-width: 0px;"/>
3
+ <path d="M62.74,37.47c-.24-15.42-1.04-33.13-3.4-35.48C55.08-2.27,1.94,1.99,1.94,1.99c0,0-4.36,40.97,0,45.32,2.39,2.39,19.96,6.7,35.36,10.11,3.82.85,7.52-1.95,8.71-4.07,2.33-4.15,6.14-7.36,10.71-8.91,3.63-1.23,6.08-3.83,6.03-6.97Z" style="fill: #000; stroke-width: 0px;"/>
4
+ <path d="M98.12,71.85c-1.41-1.41-5.59-2.83-10.54-4.09-3.12-.8-5.99,1.18-7.08,3.46-2.48,5.19-7.21,9.11-12.92,10.51-2.28.56-4.8,3.21-4.67,5.69.28,5.15.86,9.45,2,10.59,3.31,3.31,33.21,0,33.21,0,0,0,4.24-21.92,0-26.16Z" style="fill: #000; stroke-width: 0px;"/>
5
+ <path d="M37.02,63.21c-15.5.35-33.1,1.19-35.08,3.18-3.63,3.63,0,31.62,0,31.62,0,0,47.71,4.26,51.97,0,1.48-1.48,2.96-5.98,4.27-11.21.87-3.49-2.01-5.55-4.36-6.8-4.66-2.49-8.18-6.81-9.6-12.01-.72-2.64-3.1-4.88-7.19-4.78Z" style="fill: #000; stroke-width: 0px;"/>
6
+ </svg>
@@ -21,6 +21,8 @@ import Image from "next/image";
21
21
  import getIcon from "../lib/getIcon.ts";
22
22
 
23
23
  import PropTypes from "prop-types";
24
+ import APIcon from "../lib/APIcon.tsx";
25
+ import { MuiLink } from "./MuiLink.tsx";
24
26
 
25
27
  Footer.propTypes = {
26
28
  site_title: PropTypes.string.isRequired,
@@ -67,6 +69,8 @@ function Footer({
67
69
  }) {
68
70
  const theme = useTheme();
69
71
 
72
+ const APIcon = getIcon("APIcon");
73
+
70
74
  return (
71
75
  <AppBar
72
76
  position="relative"
@@ -87,7 +91,7 @@ function Footer({
87
91
  height: "100%",
88
92
  }}
89
93
  >
90
- <Typography variant="h6" color="#ffffff">
94
+ <Typography variant="h6" color="#ffffff" sx={{ mb: 2 }}>
91
95
  {site_title}
92
96
  </Typography>
93
97
  {logo && (
@@ -111,7 +115,9 @@ function Footer({
111
115
  </Link>
112
116
  </Grid>
113
117
  <Grid item xs={12} sm={4} align="center">
114
- <Typography variant="h6">Contact Information</Typography>
118
+ <Typography variant="h6" sx={{ mb: 2 }}>
119
+ Contact Information
120
+ </Typography>
115
121
  <Typography variant="h6">{company_name}</Typography>
116
122
  {parent_company_name && (
117
123
  <Typography variant="h6">By {parent_company_name}</Typography>
@@ -139,10 +145,16 @@ function Footer({
139
145
  <Grid item xs={12} sm={4} align="center">
140
146
  {company_socials.length > 0 && (
141
147
  <>
142
- <Typography variant="h6">Socials</Typography>
148
+ <Typography variant="h6" sx={{ mb: 2 }}>
149
+ Socials
150
+ </Typography>
143
151
  <Stack
144
152
  spacing={2}
145
- sx={{ width: "min-content", color: "primary.contrastText" }}
153
+ sx={{
154
+ width: "min-content",
155
+ color: "primary.contrastText",
156
+ alignContent: "space-between",
157
+ }}
146
158
  >
147
159
  {company_socials.map((company_social, index) => {
148
160
  const Icon = getIcon(company_social.icon);
@@ -151,8 +163,9 @@ function Footer({
151
163
  key={index}
152
164
  color="inherit"
153
165
  href={company_social.url}
166
+ size="large"
154
167
  >
155
- {Icon !== null && <Icon sx={{ mr: 2, mt: 0.2 }} />}
168
+ {Icon !== null && <Icon />}
156
169
  {/* {company_social.icon} */}
157
170
  </IconButton>
158
171
  );
@@ -232,7 +245,16 @@ function Footer({
232
245
  alignItems: "center",
233
246
  }}
234
247
  >
235
- <Typography>Made possible by Atelier Paulus</Typography>
248
+ <MuiLink href="https://atelierpaulus.nl/">
249
+ <Typography
250
+ color="secondary.contrastText"
251
+ sx={{ textDecoration: "underline" }}
252
+ >
253
+ Made possible by{" "}
254
+ {APIcon !== null && <APIcon sx={{ mx: 2 }} />}
255
+ Atelier Paulus
256
+ </Typography>
257
+ </MuiLink>
236
258
  </Grid>
237
259
  </Grid>
238
260
  </Toolbar>
@@ -59,7 +59,7 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
59
59
 
60
60
  const theme = useTheme();
61
61
 
62
- const glassColor = setOpacity(theme.palette.background.paper, 0.1);
62
+ // const glassColor = setOpacity(theme.palette.background.paper, 0.1);
63
63
 
64
64
  return (
65
65
  <header style={{ position: "relative", padding: 0, margin: 0 }}>
@@ -77,19 +77,21 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
77
77
  }}
78
78
  >
79
79
  {bgImage && (
80
- <StrapiImage
81
- alt="Background"
82
- style={{
83
- position: "absolute",
84
- inset: 0,
85
- objectFit: "cover",
86
- width: "100%",
87
- height: "100%",
88
- }}
89
- height={bgImage.height || 1080}
90
- src={bgImage.url}
91
- width={bgImage.width || 1920}
92
- />
80
+ <Box className="manipulator">
81
+ <StrapiImage
82
+ alt="Background"
83
+ style={{
84
+ position: "absolute",
85
+ inset: 0,
86
+ objectFit: "cover",
87
+ width: "100%",
88
+ height: "100%",
89
+ }}
90
+ height={bgImage.height || 1080}
91
+ src={bgImage.url}
92
+ width={bgImage.width || 1920}
93
+ />
94
+ </Box>
93
95
  )}
94
96
  <Container maxWidth={maxWidth || "lg"} sx={{ my: 1, zIndex: 1 }}>
95
97
  <Paper
@@ -18,7 +18,7 @@ interface IconSectionProps {
18
18
  title: string;
19
19
  description: string;
20
20
  icon: IconProps[];
21
- maxWidth: MaxWidth;
21
+ maxWidth?: MaxWidth;
22
22
  sx?: SxProps<Theme>;
23
23
  }
24
24
 
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="o" data-name="Layer 16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
3
+ <path d="M23.55.48s-3.79-.94-4.73,0c-.51.51-1.55,4.73-2.39,8.43-.24,1.05.6,1.83,1.3,2.32.87.59,1.52,1.47,1.84,2.49.15.48.4,1.48,1.55,1.41,1.16-.07,2.12-.23,2.42-.53.93-.93,0-14.12,0-14.12Z" style="fill: #000; stroke-width: 0px;"/>
4
+ <path d="M15.06,8.99c-.06-3.7-.25-7.95-.82-8.52C13.22-.55.46.48.46.48.46.48-.58,10.31.46,11.36c.57.57,4.79,1.61,8.49,2.43.92.2,1.8-.47,2.09-.98.56-1,1.47-1.77,2.57-2.14.87-.3,1.46-.92,1.45-1.67Z" style="fill: #000; stroke-width: 0px;"/>
5
+ <path d="M23.55,17.24c-.34-.34-1.34-.68-2.53-.98-.75-.19-1.44.28-1.7.83-.6,1.25-1.73,2.19-3.1,2.52-.55.13-1.15.77-1.12,1.37.07,1.24.21,2.27.48,2.54.8.8,7.97,0,7.97,0,0,0,1.02-5.26,0-6.28Z" style="fill: #000; stroke-width: 0px;"/>
6
+ <path d="M8.88,15.17c-3.72.08-7.94.29-8.42.76-.87.87,0,7.59,0,7.59,0,0,11.45,1.02,12.47,0,.36-.36.71-1.43,1.02-2.69.21-.84-.48-1.33-1.05-1.63-1.12-.6-1.96-1.63-2.31-2.88-.17-.63-.74-1.17-1.73-1.15Z" style="fill: #000; stroke-width: 0px;"/>
7
+ </svg>
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ import SvgIcon from "@mui/material/SvgIcon";
3
+
4
+ export default function APIcon(props: any) {
5
+ return (
6
+ <SvgIcon {...props}>
7
+ <svg
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ fill="currentColor"
10
+ viewBox="0 0 24 24"
11
+ strokeWidth={0}
12
+ stroke="currentColor"
13
+ >
14
+ <path d="M23.55.48s-3.79-.94-4.73,0c-.51.51-1.55,4.73-2.39,8.43-.24,1.05.6,1.83,1.3,2.32.87.59,1.52,1.47,1.84,2.49.15.48.4,1.48,1.55,1.41,1.16-.07,2.12-.23,2.42-.53.93-.93,0-14.12,0-14.12Z" />
15
+ <path d="M15.06,8.99c-.06-3.7-.25-7.95-.82-8.52C13.22-.55.46.48.46.48.46.48-.58,10.31.46,11.36c.57.57,4.79,1.61,8.49,2.43.92.2,1.8-.47,2.09-.98.56-1,1.47-1.77,2.57-2.14.87-.3,1.46-.92,1.45-1.67Z" />
16
+ <path d="M23.55,17.24c-.34-.34-1.34-.68-2.53-.98-.75-.19-1.44.28-1.7.83-.6,1.25-1.73,2.19-3.1,2.52-.55.13-1.15.77-1.12,1.37.07,1.24.21,2.27.48,2.54.8.8,7.97,0,7.97,0,0,0,1.02-5.26,0-6.28Z" />
17
+ <path d="M8.88,15.17c-3.72.08-7.94.29-8.42.76-.87.87,0,7.59,0,7.59,0,0,11.45,1.02,12.47,0,.36-.36.71-1.43,1.02-2.69.21-.84-.48-1.33-1.05-1.63-1.12-.6-1.96-1.63-2.31-2.88-.17-.63-.74-1.17-1.73-1.15Z" />
18
+ </svg>
19
+ </SvgIcon>
20
+ );
21
+ }
@@ -24,6 +24,7 @@ import FaceBookIcon from "@mui/icons-material/Facebook";
24
24
  import TwitterIcon from "@mui/icons-material/Twitter";
25
25
  import LocalShippingIcon from "@mui/icons-material/LocalShipping";
26
26
  import InstagramIcon from "@mui/icons-material/Instagram";
27
+ import APIcon from "./APIcon.tsx";
27
28
 
28
29
  export default function getIcon(icon: string): React.ElementType | null {
29
30
  switch (icon) {
@@ -79,6 +80,8 @@ export default function getIcon(icon: string): React.ElementType | null {
79
80
  return LocalShippingIcon;
80
81
  case "InstagramIcon":
81
82
  return InstagramIcon;
83
+ case "APIcon":
84
+ return APIcon;
82
85
  default:
83
86
  return null;
84
87
  }