-
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.
- Loading branch information
Showing
7 changed files
with
136 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
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)({ | ||
minHeight: "100vh", | ||
width: "100vw", | ||
background: "#1A3306", | ||
display: "flex", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
'@media (min-width:600px)': { | ||
padding: "0", | ||
// height: "auto", | ||
width:"100%", | ||
textAlign: "center" | ||
}, | ||
}); | ||
|
||
const Title = styled(Typography)({ | ||
color: "#FFFFFF", | ||
textAlign: "center", | ||
fontWeight: 700, | ||
fontSize: "clamp(2rem, 4vw, 4rem)", | ||
margin: "1rem 0", | ||
'@media (min-width:600px)': { | ||
margin: "3rem 0", | ||
}, | ||
}); | ||
|
||
const SubTitle = styled(Typography)({ | ||
color: "#FFFFFF", | ||
textAlign: "center", | ||
fontWeight: 500, | ||
fontSize: "clamp(1rem, 3vw, 3rem)", | ||
margin: "rem 0", | ||
'@media (min-width:600px)': { | ||
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 HasTags = styled(Typography)({ | ||
color:"#fff", | ||
opacity:".8", | ||
fontSize:"clamp(.7rem, 2vw, 1.5rem)", | ||
textAlign:"center", | ||
lineHeight:"1.8" | ||
}) | ||
|
||
const StyledImage = styled('img')({ | ||
width: '100%', | ||
height: 'auto', | ||
marginBottom:'-.4rem' // To hide the small space below the image | ||
}); | ||
|
||
export default function ContactUs() { | ||
return ( | ||
<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"> | ||
Contact Us | ||
</Title> | ||
<Body variant="body1"> | ||
<HasTags>🌱 #EcoThaili #BeatPlasticWithUs #SustainabilityJourney</HasTags> | ||
<SubTitle>We'd love to hear from you</SubTitle> | ||
<HasTags>Reach out to us</HasTags> | ||
</Body> | ||
</Grid> | ||
</Grid> | ||
</StyledContainer> | ||
); | ||
} |
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,14 @@ | ||
import React from "react"; | ||
import Header from "../component/Header"; | ||
import Footer from "../component/Footer"; | ||
import ContactUs from "../component/ContactUs"; | ||
|
||
export default function ContactPage() { | ||
return ( | ||
<> | ||
<Header /> | ||
<ContactUs /> | ||
<Footer /> | ||
</> | ||
); | ||
} |