generated from athackst/vscode_ros2_workspace
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
398 additions
and
468 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import React from 'react'; | ||
import PolarisContainer from '@/views/PolarisContainer'; | ||
|
||
export default function DataSets() { | ||
return <PolarisContainer />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
import React from 'react'; | ||
import { connect } from 'react-redux'; | ||
import CustomAccordion from './components/DropDown/DropDown'; | ||
import Grid from '@mui/material/Grid'; | ||
import { styled } from '@mui/material/styles'; | ||
|
||
const Container = styled('div')(({ theme }) => ({ | ||
flexGrow: 1, | ||
padding: theme.spacing(2), | ||
backgroundColor: '#ecf0f1', | ||
})); | ||
|
||
const TopHeader = styled('div')(({ theme }) => ({ | ||
backgroundColor: '#2c3e50', | ||
color: 'white', | ||
padding: theme.spacing(13), | ||
display: 'flex', | ||
justifyContent: 'flex-start', | ||
})); | ||
|
||
const Title = styled('span')(({ theme }) => ({ | ||
marginLeft: '700px', | ||
fontWeight: 'bold', | ||
fontSize: '3.5em', | ||
})); | ||
|
||
const DataSetHeader = styled('div')(({ theme }) => ({ | ||
marginTop: theme.spacing(2.5), | ||
marginBottom: theme.spacing(0), | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
fontSize: '2em', | ||
fontWeight: 'bold', | ||
color: 'white', | ||
backgroundColor: '#2c3e50', | ||
width: '100%', | ||
padding: `${theme.spacing(50)}px 0`, | ||
})); | ||
|
||
class PolarisContainer extends React.Component { | ||
render() { | ||
const voyageInfo = { | ||
image: "./Polaris.png", | ||
header: "Polaris", | ||
desc: "Long description here...", | ||
}; | ||
|
||
return ( | ||
<Container> | ||
<Grid container spacing={3} justifyContent="center"> {/* Center the grid items */} | ||
<Grid item xs={12}> | ||
<TopHeader> | ||
<Title>{voyageInfo.header}</Title> | ||
</TopHeader> | ||
</Grid> | ||
|
||
<Grid item xs={12} style={{ transform: 'translate(400px, -200px)' }}> | ||
<img | ||
src={voyageInfo.image} | ||
alt={voyageInfo.header} | ||
style={{ | ||
width: '22.5%', | ||
objectFit: 'cover' | ||
}} | ||
/> | ||
</Grid> | ||
|
||
<Grid item xs={12}> | ||
<p style={{ textAlign: 'center' }}>{voyageInfo.desc}</p> | ||
</Grid> | ||
<Grid item xs={7} style={{ padding: '0px', margin: '0px' }}> | ||
<DataSetHeader>Downloadable Data Sets</DataSetHeader> | ||
</Grid> | ||
<Grid item xs={7} style={{ padding: '0px', margin: '0px' }}> | ||
<CustomAccordion title="Download Data Set 1" style={{ marginBottom: '0px', marginTop: '0px' }}> | ||
Insert Data sets here | ||
</CustomAccordion> | ||
</Grid> | ||
<Grid item xs={7} style={{ padding: '0px', margin: '0px' }}> | ||
<CustomAccordion title="Download Data Set 2" style={{ marginBottom: '0px', marginTop: '0px' }}> | ||
Insert Data sets here | ||
</CustomAccordion> | ||
</Grid> | ||
<Grid item xs={7} style={{ padding: '0px', margin: '0px' }}> | ||
<CustomAccordion title="Download Data Set 3" style={{ marginBottom: '0px', marginTop: '0px' }}> | ||
Insert Data sets here | ||
</CustomAccordion> | ||
</Grid> | ||
<Grid item xs={7} style={{ padding: '0px', margin: '0px' }}> | ||
<CustomAccordion title="Download Data Set 4" style={{ marginBottom: '0px', marginTop: '0px' }}> | ||
Insert Data sets here | ||
</CustomAccordion> | ||
</Grid> | ||
</Grid> | ||
</Container> | ||
); | ||
} | ||
} | ||
|
||
export default connect()(PolarisContainer); |
Oops, something went wrong.