11import KeyboardArrowRightIcon from "@mui/icons-material/KeyboardArrowRight" ;
2- import { Box , Typography , Container , Button } from "@mui/material" ;
2+ import { Box , Typography , Container , Button , Grid } from "@mui/material" ;
33import { Colors } from "design/theme" ;
44import React from "react" ;
55
@@ -8,93 +8,96 @@ const AboutPage: React.FC = () => {
88 < Box >
99 < Box
1010 sx = { {
11- backgroundColor : Colors . white ,
1211 padding : 3 ,
1312 } }
1413 >
15- < Container
16- maxWidth = "md"
17- sx = { {
18- textAlign : "center" ,
19- mt : 3 ,
20- } }
21- >
22- < Typography
23- variant = "h4"
24- sx = { {
25- fontWeight : "bold" ,
26- color : Colors . darkPurple ,
27- mb : 2 ,
28- } }
29- >
30- What is NeuroJSON?
31- </ Typography >
32- < Typography
33- variant = "body1"
34- paragraph
35- sx = { {
36- fontSize : "1.2rem" ,
37- color : Colors . darkPurple ,
38- } }
39- >
40- NeuroJSON aims to develop JSON-based neuroimaging data exchange
41- formats that are readable, searchable, shareable, can be readily
42- validated and served in the web and cloud.
43- </ Typography >
44-
45- < Box
46- sx = { {
47- mt : 4 ,
48- boxShadow : 3 ,
49- borderRadius : 2 ,
50- overflow : "hidden" ,
51- } }
52- >
53- < video
54- controls
55- width = "100%"
56- style = { { maxHeight : "500px" , objectFit : "cover" } }
57- >
58- < source
59- src = { `${ process . env . PUBLIC_URL } /video/introduction_video.mp4` }
60- type = "video/mp4"
61- />
62- Your browser does not support the video tag.
63- </ video >
64- </ Box >
65- < Box
66- sx = { {
67- display : "flex" ,
68- justifyContent : "flex-end" ,
69- mt : 2 ,
70- } }
71- >
72- < Button
73- variant = "outlined"
74- href = "https://neurojson.org/wiki/index.cgi?wiki#code"
75- target = "_blank"
76- rel = "noopener noreferrer"
77- sx = { {
78- color : Colors . purple ,
79- borderColor : Colors . purple ,
80- fontSize : "small" ,
81- transition : "all 0.3s ease" ,
82- mt : 2 ,
83- "&:hover" : {
84- transform : "scale(1.05)" ,
85- borderColor : Colors . purple ,
86- } ,
87- } }
88- >
89- Learn more about NeuroJSON
90- < KeyboardArrowRightIcon />
91- </ Button >
92- </ Box >
14+ < Container maxWidth = "lg" >
15+ < Grid container spacing = { 4 } alignItems = "center" >
16+ { /* Left: Text Content */ }
17+ < Grid item xs = { 12 } md = { 6 } >
18+ < Box
19+ sx = { {
20+ display : "flex" ,
21+ flexDirection : "column" ,
22+ } }
23+ >
24+ < Typography
25+ variant = "h4"
26+ sx = { {
27+ color : Colors . lightGray ,
28+ fontWeight : "bold" ,
29+ mb : 2 ,
30+ } }
31+ >
32+ About NeuroJSON.io
33+ </ Typography >
34+ < Typography
35+ variant = "body1"
36+ paragraph
37+ sx = { {
38+ fontSize : "1.2rem" ,
39+ color : Colors . lightGray ,
40+ } }
41+ >
42+ NeuroJSON aims to develop JSON-based neuroimaging data
43+ exchange formats that are readable, searchable, shareable, can
44+ be readily validated and served in the web and cloud.
45+ </ Typography >
46+ < Box >
47+ < Button
48+ variant = "outlined"
49+ href = "https://neurojson.org/wiki/index.cgi?wiki#code"
50+ target = "_blank"
51+ rel = "noopener noreferrer"
52+ sx = { {
53+ color : Colors . white ,
54+ borderColor : Colors . white ,
55+ fontSize : "small" ,
56+ transition : "all 0.3s ease" ,
57+ mt : 2 ,
58+ "&:hover" : {
59+ transform : "scale(1.05)" ,
60+ borderColor : Colors . white ,
61+ } ,
62+ } }
63+ >
64+ Learn more about NeuroJSON
65+ < KeyboardArrowRightIcon />
66+ </ Button >
67+ </ Box >
68+ </ Box >
69+ </ Grid >
70+ < Grid item xs = { 12 } md = { 6 } >
71+ < Box
72+ sx = { {
73+ mt : 4 ,
74+ boxShadow : 3 ,
75+ borderRadius : 2 ,
76+ overflow : "hidden" ,
77+ backgroundColor : Colors . lightGray ,
78+ padding : 0.5 ,
79+ } }
80+ >
81+ < video
82+ controls
83+ width = "100%"
84+ style = { { maxHeight : "500px" , objectFit : "cover" } }
85+ >
86+ < source
87+ src = { `${ process . env . PUBLIC_URL } /video/introduction_video.mp4` }
88+ type = "video/mp4"
89+ />
90+ Your browser does not support the video tag.
91+ </ video >
92+ </ Box >
93+ </ Grid >
94+ </ Grid >
9395 </ Container >
9496 </ Box >
97+
9598 < Box
9699 sx = { {
97- backgroundColor : Colors . darkPurple ,
100+ backgroundColor : Colors . white ,
98101 paddingTop : 5 ,
99102 paddingBottom : 10 ,
100103 } }
@@ -109,7 +112,7 @@ const AboutPage: React.FC = () => {
109112 variant = "h4"
110113 sx = { {
111114 fontWeight : "bold" ,
112- color : Colors . lightGray ,
115+ color : Colors . darkPurple ,
113116 } }
114117 >
115118 Getting Started with NeuroJSON
0 commit comments