- Focus Section
+
+
+ {/* Section Heading */}
+
+ Our Focus
+
+
+ {/* Carousel */}
+
+
+ {data.map((section) => (
+
+
+
+
+
+ {section.caption}
+
+
+
+
+ ))}
+
+
+
+
);
}
@@ -20,4 +66,21 @@ const useStyle = makeStyles((theme) => ({
fontFamily: theme.typography.fontFamily,
fontSize: '3em',
},
+ root: {
+ flexGrow: 1,
+ paddingTop: theme.mixins.toolbar.minHeight,
+ textAlign: 'center',
+ width: '100%',
+ height: '95vh',
+ backgroundColor: theme.palette.background.darkgrey,
+ paddingBottom: '5rem',
+ },
+ card: {
+ width: '70%',
+ height: '70%',
+ margin: '0 auto',
+ },
+ carousel: {
+ maxwidth: 400,
+ },
}));
diff --git a/src/components/HomePage/SectionLayout.js b/src/components/HomePage/SectionLayout.js
index b6e5178..474c821 100644
--- a/src/components/HomePage/SectionLayout.js
+++ b/src/components/HomePage/SectionLayout.js
@@ -26,9 +26,8 @@ export default SectionLayout;
const useStyle = makeStyles((theme) => ({
container: {
- height: '95vh',
- padding: theme.spacing(0, 1),
- paddingTop: theme.mixins.toolbar.minHeight,
+ minHeight: '95vh',
+ padding: 0,
position: 'relative',
display: 'flex',
justifyContent: 'center',
@@ -38,4 +37,4 @@ const useStyle = makeStyles((theme) => ({
position: 'absolute',
bottom: 20,
},
-}));
+}));
\ No newline at end of file
diff --git a/src/config/theme.js b/src/config/theme.js
index f7f7016..42849c3 100644
--- a/src/config/theme.js
+++ b/src/config/theme.js
@@ -9,6 +9,7 @@ let theme = createMuiTheme({
background: {
paper: '#00587a',
default: '#0f3057',
+ darkgrey: '#222222',
},
},
breakpoints: {