Skip to content

Commit

Permalink
Merge pull request #63 from Team-Inventrix/dev
Browse files Browse the repository at this point in the history
uplode: career page uploaded and some change done to login and sign u…
  • Loading branch information
Ningsang-Jabegu authored Feb 18, 2024
2 parents ec06f99 + 913065c commit cfaf0c1
Show file tree
Hide file tree
Showing 9 changed files with 234 additions and 24 deletions.
7 changes: 3 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ import ContactPage from "./page/ContactPage";
import SignInPage from "./page/SignInPage";
import SignUpPage from "./page/SignUpPage";

import CareerPage from "./page/CareerPage";

function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<HomePage />} />
<Route path="/contact" element={<ContactPage />} />
<Route path="/privacy" element={<PrivacyPage />} />
<Route path="/" element={<HomePage/>} />
<Route path="/career" element={<CareerPage/>} />
<Route path="/contact" element={<ContactPage />} />
<Route path="/privacy" element={<PrivacyPage/>} />
<Route path="/terms" element={<TermsPage />} />
<Route path="/login" element={<SignInPage />} />
<Route path="/signin" element={<SignInPage />} />
<Route path="/signup" element={<SignUpPage />} />
<Route path="/*" element={<ErrorPage />} />
Expand Down
168 changes: 168 additions & 0 deletions src/component/Career.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
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 TextField from "@mui/material/TextField";
import Button from "@mui/material/Button";
import Table from "@mui/material/Table";
import TableBody from "@mui/material/TableBody";
import TableCell from "@mui/material/TableCell";
import TableContainer from "@mui/material/TableContainer";
import TableHead from "@mui/material/TableHead";
import TableRow from "@mui/material/TableRow";
import Paper from "@mui/material/Paper";

const StyledContainer = styled(Container)({
minHeight: "100vh",
width: "100vw",
background: "#fff",
display: "flex",
justifyContent: "center",
alignItems: "center",
'@media (min-width:600px)': {
padding: "0",
width:"100%",
textAlign: "center"
},
});

const Title = styled(Typography)({
color: "#226A49",
textAlign: "center",
fontWeight: 700,
fontSize: "clamp(2rem, 4vw, 4rem)",
margin: "0.75rem 0",
'@media (min-width:600px)': {
margin: "1.5rem 0",
},
});

const SubTitle = styled(Typography)({
color: "#226A49",
textAlign: "center",
fontWeight: 500,
fontSize: "clamp(1rem, 3vw, 3rem)",
margin: "0.5rem 0",
'@media (min-width:600px)': {
margin: "1.5rem 0",
},
});

const Body = styled(Typography)({
color: "#2B2B60",
fontSize: "clamp(1rem, 2vw, 1.5rem)",
lineHeight: "1.5",
margin: "0.25rem 0",
});

const HasTags = styled(Typography)({
color:"#226A49",
opacity:".8",
fontSize:"clamp(.8rem, 2vw, 1.5rem)",
margin:".25rem 0",
textAlign:"center",
lineHeight:"1.8"
})

export default function Career() {
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" sx={{mt:{xs:"6rem"}}}>
Careers
</Title>
<Body variant="body1">
<HasTags>🌱 #EcoThaili #BeatPlasticWithUs #SustainabilityJourney</HasTags>
<SubTitle>We'd love to have you on our team</SubTitle>
<HasTags>Apply now</HasTags>
</Body>
<Grid container spacing={2} sx={{ mt: 3,px:"5vw" }}>
<Grid item xs={12} sm={6} md={12}>
<Title component="h2" variant="h4">
Job Listings
</Title>
<TableContainer component={Paper}>
<Table sx={{ minWidth: 650 }} aria-label="simple table">
<TableHead sx={{ backgroundColor: 'rgba(34, 106, 73, 0.5)' }}>
<TableRow>
<TableCell>S.N.</TableCell>
<TableCell align="right">Job Roles</TableCell>
<TableCell align="right">Job Description</TableCell>
<TableCell align="right">No of Vacancy</TableCell>
<TableCell align="right">Deadline</TableCell>
<TableCell align="right">Apply</TableCell>
</TableRow>
</TableHead>
<TableBody>
<TableRow sx={{ backgroundColor: 'rgba(34, 106, 73, 0.1)' }}>
<TableCell component="th" scope="row">1</TableCell>
<TableCell align="right">Front End Web Developer <b>(Test)</b></TableCell>
<TableCell align="right">We're currently looking for a Front End Web Developer. If you're interested, please fill out the form below and upload your CV.</TableCell>
<TableCell align="right">5</TableCell>
<TableCell align="right">2024-12-31</TableCell>
<TableCell align="right">
<Button variant="contained" color="primary" onClick={() => alert("We are only testing this page, sorry for the inconvenience")}
sx={{ backgroundColor: '#226A49' }}>
{/* onClick={() => window.location.href='#'} */}
Apply Now
</Button>
</TableCell>
</TableRow>
<TableRow sx={{ backgroundColor: '#224c6a47' }}>
<TableCell component="th" scope="row">2</TableCell>
<TableCell align="right">Back End Web Developer <b>(Test)</b></TableCell>
<TableCell align="right">We're currently looking for a Back End Web Developer. If you're interested, please fill out the form below and upload your CV.</TableCell>
<TableCell align="right">3</TableCell>
<TableCell align="right">2024-12-31</TableCell>
<TableCell align="right">
<Button variant="contained" color="primary" onClick={() => alert("We are only testing this page, sorry for the inconvenience")}
sx={{ backgroundColor: '#226A49' }}>
Apply Now
</Button>
</TableCell>
</TableRow>
</TableBody>
</Table>
</TableContainer>
</Grid>
</Grid>
<Grid container spacing={2} sx={{ mt: 3,px:"5vw" }}>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Full Name" variant="outlined" style={{outlineColor:"#226A49"}} />
</Grid>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Email Address" variant="outlined" style={{outlineColor:"#226A49"}} />
</Grid>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Phone Number" variant="outlined" style={{outlineColor:"#226A49"}} />
</Grid>
<Grid item xs={12} sm={6} md={12}>
<TextField
fullWidth
multiline
rows={4}
label="Cover Letter"
variant="outlined"
placeholder="Please let us know why you're interested in working with us! Thank you"
style={{outlineColor:"#226A49"}}
/>
</Grid>
<Grid item xs={12} sm={6} md={12}>
<Button variant="outlined" color="primary" component="label" sx={{ borderColor: '#226A49', color: '#226A49' }}>
Upload CV
<input type="file" hidden />
</Button>
</Grid>
<Grid item xs={12} sm={6} md={12}>
<Button variant="contained" color="primary" sx={{ backgroundColor: '#226A49', mb: '2.5rem' }}>
Apply Now
</Button>
</Grid>
</Grid>
</Grid>
</Grid>
</StyledContainer>
);
}
45 changes: 37 additions & 8 deletions src/component/ContactUs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ 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";
import TextField from "@mui/material/TextField";
import Button from "@mui/material/Button";
import bananaLeaf from "../image/banana-leaf 1.png";

const StyledContainer = styled(Container)({
minHeight: "100vh",
width: "100vw",
background: "#1A3306",
background: "#fff",
display: "flex",
justifyContent: "center",
alignItems: "center",
Expand All @@ -20,18 +22,18 @@ const StyledContainer = styled(Container)({
});

const Title = styled(Typography)({
color: "#FFFFFF",
color: "#226A49",
textAlign: "center",
fontWeight: 700,
fontSize: "clamp(2rem, 4vw, 4rem)",
margin: "1rem 0",
margin: "1.5rem 0",
'@media (min-width:600px)': {
margin: "3rem 0",
},
});

const SubTitle = styled(Typography)({
color: "#FFFFFF",
color: "#226A49",
textAlign: "center",
fontWeight: 500,
fontSize: "clamp(1rem, 3vw, 3rem)",
Expand All @@ -48,9 +50,10 @@ const Body = styled(Typography)({
});

const HasTags = styled(Typography)({
color:"#fff",
color:"#226A49",
opacity:".8",
fontSize:"clamp(.7rem, 2vw, 1.5rem)",
fontSize:"clamp(.8rem, 2vw, 1.5rem)",
margin:".5rem 0",
textAlign:"center",
lineHeight:"1.8"
})
Expand All @@ -66,14 +69,40 @@ export default function ContactUs() {
<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">
<Title component="h2" variant="h4" sx={{mt:{xs:"6rem"}}}>
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 container spacing={2} sx={{ mt: 3,px:"5vw" }}>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Full Name" variant="outlined" style={{outlineColor:"white"}} />
</Grid>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Email Address" variant="outlined" />
</Grid>
<Grid item xs={12} sm={6} md={4}>
<TextField fullWidth label="Phone Number" variant="outlined" />
</Grid>
<Grid item xs={12} sm={6} md={12}>
<TextField
fullWidth
multiline
rows={4}
label="Message"
variant="outlined"
placeholder="Please let us know what you think about our product! Thank you"
/>
</Grid>
<Grid item xs={12} sm={6} md={12}>
<Button variant="contained" color="primary" sx={{ backgroundColor: '#226A49', mb: '2.5rem' }}>
Send Message
</Button>
</Grid>
</Grid>
</Grid>
</Grid>
</StyledContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/component/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default function Footer() {
>
About us
</FooterLink>
<FooterLink color="text.secondary">Careers (no page yet)</FooterLink>
<FooterLink color="text.secondary" href="/career">Careers</FooterLink>
<FooterLink color="text.secondary" href="/contact">
Contact
</FooterLink>
Expand Down
8 changes: 4 additions & 4 deletions src/component/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function OurStory() {
</Price>
<BuyButton variant="contained" sx={{ width: { xs: "100%" } }}>
<Link
href="/login"
href="/signin"
style={{
color: "white",
textDecoration: "none",
Expand All @@ -145,7 +145,7 @@ export default function OurStory() {
</Price>
<BuyButton variant="contained" sx={{ width: { xs: "100%" } }}>
<Link
href="/login"
href="/signin"
style={{
color: "white",
textDecoration: "none",
Expand All @@ -172,7 +172,7 @@ export default function OurStory() {
</Price>
<BuyButton variant="contained" sx={{ width: { xs: "100%" } }}>
<Link
href="/login"
href="/signin"
style={{
color: "white",
textDecoration: "none",
Expand All @@ -199,7 +199,7 @@ export default function OurStory() {
</Price>
<BuyButton variant="contained" sx={{ width: { xs: "100%" } }}>
<Link
href="/login"
href="/signin"
style={{
color: "white",
textDecoration: "none",
Expand Down
8 changes: 4 additions & 4 deletions src/component/SignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,18 @@ export default function SignIn() {
type="submit"
fullWidth
variant="contained"
sx={{ mt: 3, mb: 2 }}
sx={{ mt: 3, mb: 2, backgroundColor: '#226A49' }}
>
Sign In
</Button>
<Grid container>
<Grid item xs>
<Link href="#" variant="body2">
<Link href="#" variant="body2" sx={{color:'#226a49'}}>
Forgot password?
</Link>
</Grid>
<Grid item>
<Link href="/signup" variant="body2">
<Grid item xs>
<Link href="/signup" variant="body2" sx={{color:'#226a49'}}>
{"Don't have an account? Sign Up"}
</Link>
</Grid>
Expand Down
6 changes: 3 additions & 3 deletions src/component/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ export default function SignUp() {
type="submit"
fullWidth
variant="contained"
sx={{ mt: 3, mb: 2 }}
sx={{ mt: 3, mb: 2,backgroundColor: '#226A49' }}
>
Sign Up
</Button>
<Grid container justifyContent="flex-end">
<Grid item>
<Link href="/signin" variant="body2">
<Grid item >
<Link href="/signin" variant="body2" sx={{color:'#226a49'}}>
Already have an account? Sign in
</Link>
</Grid>
Expand Down
Binary file added src/image/banana-leaf 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/page/CareerPage.js
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 Career from "../component/Career";

export default function CareerPage() {
return (
<>
<Header />
<Career />
<Footer />
</>
);
}

0 comments on commit cfaf0c1

Please sign in to comment.