@@ -16,85 +16,90 @@ const Maia = () => {
1616 const { t } = useTranslation ( ) ;
1717
1818 return (
19- < Box component = "div" sx = { { overflow : "hidden" , marginTop : 5 } } >
20- < Container maxWidth = "lg" >
21- < Card sx = { { boxShadow : 20 , background : "#242424ff" , color : "#ffffff" } } >
22- < Grid
23- container
24- justifyContent = "center"
25- alignItems = "center"
26- rowSpacing = { 4 }
27- sx = { {
28- padding : {
29- xs : "50px 16px" ,
30- sm : "50px 58px" ,
31- md : "50px 50px 50px 50px" ,
32- } ,
33- } }
34- >
35- { /* Text block - comes first on all screen sizes */ }
36- < Grid item sx = { { zIndex : 6 } } xs = { 12 } md = { 5 } order = { { xs : 1 , md : 1 } } >
37- < Typography
38- variant = "h2"
19+ < Box component = "div" sx = { { overflow : "hidden" , marginTop : 5 } } >
20+ < Container maxWidth = "lg" >
21+ < Card sx = { { boxShadow : 20 , background : "#242424ff" , color : "#ffffff" } } >
22+ < Grid
23+ container
24+ justifyContent = "center"
25+ alignItems = "center"
26+ rowSpacing = { 4 }
3927 sx = { {
40- fontWeight : "400" ,
41- marginBottom : "40px" ,
42- textAlign : { xs : "center" , md : "left" } ,
28+ padding : {
29+ xs : "50px 16px" ,
30+ sm : "50px 58px" ,
31+ md : "50px 50px 50px 50px" ,
32+ } ,
4333 } }
4434 >
45- { t ( "maia-intro-header" ) } < strong > MAIA</ strong >
46- </ Typography >
47-
48- < Typography variant = "subtitle1" sx = { { marginBottom : "40px" } } >
49- { t ( "maia-intro-body" ) }
50- </ Typography >
51- < Stack direction = "row" spacing = { 2 } >
52- < Typography variant = "subtitle2" sx = { { marginBottom : "40px" } } >
53- { t ( "maia-intro-footer" ) }
54- </ Typography >
55-
56- < Button
57- variant = "contained"
58- sx = { { whiteSpace : "nowrap" , px : 8 } }
59- component = { Link }
60- to = "https://maia.app.cloud.cbh.kth.se"
35+ { /* Text block - comes first on all screen sizes */ }
36+ < Grid
37+ item
38+ sx = { { zIndex : 6 } }
39+ xs = { 12 }
40+ md = { 5 }
41+ order = { { xs : 1 , md : 1 } }
6142 >
62- { t ( "button-get-started-maia" ) }
63- </ Button >
64- </ Stack >
65- </ Grid >
43+ < Typography
44+ variant = "h2"
45+ sx = { {
46+ fontWeight : "400" ,
47+ marginBottom : "40px" ,
48+ textAlign : { xs : "center" , md : "left" } ,
49+ } }
50+ >
51+ { t ( "maia-intro-header" ) } < strong > MAIA</ strong >
52+ </ Typography >
6653
67- { /* Brain block - comes second on desktop, second (below) on mobile */ }
68- < Grid item xs = { 12 } md = { 7 } order = { { xs : 2 , md : 2 } } >
69- { /* Desktop brain */ }
70- < Box
71- component = "div"
72- sx = { {
73- display : { xs : "none" , sm : "none" , md : "block" } ,
74- textAlign : "right" ,
75- zIndex : 1
76- } }
77- >
78- < Brain position = { [ 3 , 0 , 0 ] } mobile = { false } />
79- </ Box >
54+ < Typography variant = "subtitle1" sx = { { marginBottom : "40px" } } >
55+ { t ( "maia-intro-body" ) }
56+ </ Typography >
57+ < Stack direction = "row" spacing = { 2 } >
58+ < Typography variant = "subtitle2" sx = { { marginBottom : "40px" } } >
59+ { t ( "maia-intro-footer" ) }
60+ </ Typography >
8061
81- { /* Mobile brain */ }
82- < Box
83- component = "div"
84- sx = { {
85- display : { xs : "block" , sm : "block" , md : "none" } ,
86- padding : 0 ,
87- textAlign : "center" ,
88- } }
89- >
90- < Brain mobile position = { [ 0 , 0 , 0 ] } />
91- </ Box >
92- </ Grid >
93- </ Grid >
94- </ Card >
95- </ Container >
96- </ Box >
62+ < Button
63+ variant = "contained"
64+ sx = { { whiteSpace : "nowrap" , px : 8 } }
65+ component = { Link }
66+ to = "https://maia.app.cloud.cbh.kth.se"
67+ >
68+ { t ( "button-get-started-maia" ) }
69+ </ Button >
70+ </ Stack >
71+ </ Grid >
72+
73+ { /* Brain block - comes second on desktop, second (below) on mobile */ }
74+ < Grid item xs = { 12 } md = { 7 } order = { { xs : 2 , md : 2 } } >
75+ { /* Desktop brain */ }
76+ < Box
77+ component = "div"
78+ sx = { {
79+ display : { xs : "none" , sm : "none" , md : "block" } ,
80+ textAlign : "right" ,
81+ zIndex : 1 ,
82+ } }
83+ >
84+ < Brain position = { [ 3 , 0 , 0 ] } mobile = { false } />
85+ </ Box >
9786
87+ { /* Mobile brain */ }
88+ < Box
89+ component = "div"
90+ sx = { {
91+ display : { xs : "block" , sm : "block" , md : "none" } ,
92+ padding : 0 ,
93+ textAlign : "center" ,
94+ } }
95+ >
96+ < Brain mobile position = { [ 0 , 0 , 0 ] } />
97+ </ Box >
98+ </ Grid >
99+ </ Grid >
100+ </ Card >
101+ </ Container >
102+ </ Box >
98103 ) ;
99104} ;
100105
0 commit comments