@@ -5,25 +5,29 @@ import DoubleArrowIcon from "@mui/icons-material/DoubleArrow";
55import GitHubIcon from "@mui/icons-material/GitHub" ;
66import StorageIcon from "@mui/icons-material/Storage" ;
77import DocumentScannerIcon from "@mui/icons-material/DocumentScanner" ;
8+ import "./Options.scss" ;
89const Options = ( props ) => {
910 const openTab = ( url ) => {
1011 window . open ( url , "_blank" ) . focus ( ) ;
1112 } ;
1213 return (
1314 < div
14- direction = "row"
15- style = { {
15+ className = "options-container"
16+ // direction="row"
17+ /* style={{
1618 display: "flex",
1719 flexDirection: "row",
1820 flexWrap: "wrap",
19- justifyContent : "space-evenly " ,
21+ justifyContent: "space-between ",
2022 backgroundColor: "#f3f6f9",
21- padding : "25px 5px" ,
22- } }
23+ margin: "20px 0px",
24+ width:"100%"
25+ }} */
2326 >
2427 < Button
25- size = "small"
28+ // size="small"
2629 variant = "contained"
30+ style = { { margin : "5px" } }
2731 startIcon = { < DocumentScannerIcon /> }
2832 onClick = { ( ) =>
2933 openTab (
@@ -34,7 +38,8 @@ const Options = (props) => {
3438 API doc
3539 </ Button >
3640 < Button
37- size = "small"
41+ style = { { margin : "5px" } }
42+ //size="small"
3843 variant = "outlined"
3944 startIcon = { < DoubleArrowIcon /> }
4045 onClick = { ( ) =>
@@ -44,7 +49,8 @@ const Options = (props) => {
4449 Samples
4550 </ Button >
4651 < Button
47- size = "small"
52+ style = { { margin : "5px" } }
53+ //size="small"
4854 variant = "outlined"
4955 startIcon = { < GitHubIcon /> }
5056 onClick = { ( ) =>
@@ -54,7 +60,8 @@ const Options = (props) => {
5460 Github
5561 </ Button >
5662 < Button
57- size = "small"
63+ style = { { margin : "5px" } }
64+ //size="small"
5865 variant = "outlined"
5966 startIcon = { < StorageIcon /> }
6067 onClick = { ( ) =>
@@ -63,9 +70,6 @@ const Options = (props) => {
6370 >
6471 Server side
6572 </ Button >
66- { /* <div id="donate-button-container">
67- <div id="donate-button"></div>
68- </div> */ }
6973 </ div >
7074 ) ;
7175} ;
0 commit comments