1- import { Button , Container , Divider , Grid , Typography } from "@mui/material" ;
1+ import { Box , Button , Divider , Grid , Typography } from "@mui/material" ;
22import {
33 StyledGridOverlay ,
44 StyledSvg ,
@@ -10,25 +10,24 @@ import TimelineConnector from "@mui/lab/TimelineConnector";
1010import TimelineContent from "@mui/lab/TimelineContent" ;
1111import TimelineDot from "@mui/lab/TimelineDot" ;
1212import ChevronRightIcon from "@mui/icons-material/ChevronRight" ;
13- import { Box } from "@mui/system" ;
1413import { homeBackgroundColor } from "../consts/Colors" ;
15-
16- let x : { width : number ; height : number } ;
17- x = { width : 100 , height : 200 } ;
14+ import "./css/Automadeasy.css" ;
1815
1916export const Automadeasy = ( ) => {
2017 console . log ( "re rendering Automadeasy" ) ;
18+
2119 return (
2220 < >
2321 < Grid
2422 container
2523 direction = "row"
2624 justifyContent = "space-evenly"
25+ className = "hero-section-1"
26+ columnSpacing = { 10 }
2727 alignItems = "center"
28- padding = { "7rem" }
28+ p = { "7rem" }
2929 sx = { {
3030 backgroundColor : homeBackgroundColor ,
31- clipPath : "polygon(0 0, 100% 0, 100% 100%, 0 80%)" ,
3231 } }
3332 >
3433 < Grid item sm = { 3 } >
@@ -55,21 +54,19 @@ export const Automadeasy = () => {
5554 container
5655 direction = "row"
5756 justifyContent = "space-evenly"
57+ className = "hero-section-2"
58+ columnSpacing = { 10 }
59+ rowSpacing = { {
60+ xs : 5 ,
61+ sm : 0 ,
62+ } }
5863 alignItems = "center"
59- p = { "7rem " }
64+ p = { "8rem " }
6065 sx = { {
6166 backgroundColor : homeBackgroundColor ,
62- // make this clipPath reverse of the one above
63- clipPath : "polygon(0 20%, 100% 0, 100% 100%, 0 100%)" ,
6467 } }
6568 >
66- < Grid
67- item
68- sm
69- sx = { {
70- width : "50%" ,
71- } }
72- >
69+ < Grid item sm >
7370 < Typography
7471 variant = "h4"
7572 fontWeight = { "bold" }
@@ -112,7 +109,15 @@ export const Automadeasy = () => {
112109 </ Grid >
113110 </ Grid >
114111
115- < Grid container direction = "row" justifyContent = "space-evenly" py = { "7rem" } >
112+ < Grid
113+ container
114+ direction = { {
115+ xs : "column" ,
116+ md : "row" ,
117+ } }
118+ justifyContent = "space-evenly"
119+ paddingTop = { "7rem" }
120+ >
116121 < Grid item xs >
117122 < Typography variant = "h6" color = { "black" } align = { "center" } >
118123 Creating Automaton
@@ -207,19 +212,6 @@ export const Automadeasy = () => {
207212 </ Timeline >
208213 </ Grid >
209214 </ Grid >
210-
211- < Container
212- maxWidth = { false }
213- component = "footer"
214- sx = { {
215- py : "1rem" ,
216- backgroundColor : homeBackgroundColor ,
217- } }
218- >
219- < Typography variant = "subtitle1" color = { "black" } align = { "center" } fontWeight = { "bold" } >
220- Copyright © { new Date ( ) . getFullYear ( ) } Automadeasy
221- </ Typography >
222- </ Container >
223215 </ >
224216 ) ;
225217} ;
0 commit comments