-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Team-Inventrix/dev
Dev
- Loading branch information
Showing
15 changed files
with
743 additions
and
259 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
@@ -1,30 +1,63 @@ | ||
import * as React from "react"; | ||
|
||
import Container from "@mui/material/Container"; | ||
import Grid from "@mui/material/Grid"; | ||
import Typography from "@mui/material/Typography"; | ||
import { styled } from "@mui/system"; | ||
import ourTeam from "../image/OurTeam.png"; | ||
|
||
const StyledContainer = styled(Container)({ | ||
padding: "0", | ||
height: "100vh", | ||
width: "100%", | ||
background: "#EFEEEF", | ||
display: "flex", | ||
justifyContent: "center", | ||
alignItems: "flex-end", | ||
'@media (min-width:600px)': { | ||
padding: "0", | ||
height: "100vh", | ||
textAlign: "center" | ||
}, | ||
}); | ||
|
||
const Title = styled(Typography)({ | ||
color: "#2B2B60", | ||
textAlign: "center", | ||
fontWeight: 700, | ||
fontSize: "clamp(2rem, 4vw, 4rem)", | ||
margin: "3rem 0", | ||
}); | ||
|
||
const Body = styled(Typography)({ | ||
// Use this when text is added | ||
// color: "#2B2B60", | ||
// textAlign: "justify", | ||
// fontSize: "clamp(1rem, 2vw, 1.5rem)", | ||
// lineHeight: "1.5", | ||
// '@media (min-width:600px)': { | ||
// textAlign: "center" | ||
// } | ||
}); | ||
|
||
const StyledImage = styled('img')({ | ||
width: '100%', | ||
height: 'auto', | ||
marginBottom:'-.4rem' // To hide the small space below the image | ||
}); | ||
|
||
export default function OurStory() { | ||
return ( | ||
<Container id="a" sx={{ py: { xs: 8, sm: 16 } }}> | ||
<Grid container spacing={6}> | ||
<Grid item xs={12} md={12}> | ||
<div> | ||
<Typography component="h2" variant="h4" color="text.primary"> | ||
About | ||
</Typography> | ||
<Typography variant="body1" color="text.secondary"> | ||
BioThaili, our eco-friendly plastic, is a story of change. Made | ||
from banana fibers, it's more than just a bag – it's a promise to | ||
be kind to our planet. Every use is a small step towards a | ||
cleaner, greener future. Join us in this journey, where simple | ||
choices make a big impact. BioThaili is not just plastic; it's a | ||
way to care for our Earth. Together, let's make a difference. | ||
<br /> 🌿 #BioThaili #EcoFriendly #Sustainability" | ||
</Typography> | ||
</div> | ||
<StyledContainer id="a" maxWidth={false}> | ||
<Grid container spacing={6} padding={0}> | ||
<Grid item xs={12} md={12} paddingLeft={0} paddingTop={0}> | ||
<Title component="h2" variant="h4"> | ||
About Our Team | ||
</Title> | ||
<Body variant="body1"> | ||
<StyledImage src={ourTeam} alt=" We Inventrix " /> {/* Use StyledImage here */} | ||
</Body> | ||
</Grid> | ||
</Grid> | ||
</Container> | ||
</StyledContainer> | ||
); | ||
} |
Oops, something went wrong.