-
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
1 parent
c29eff3
commit dd5b83b
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
import React, { useState, useEffect } from 'react' | ||
import { Card, CardContent, CardMedia, Container, Typography, Divider, Stack, Grid, Dialog, DialogContent, DialogActions, DialogTitle, Button } from '@mui/material' | ||
import CardTitle from '../components/CardTitle' | ||
import { Close, Info } from '@mui/icons-material' | ||
import InfoBox from '../components/InfoBox' | ||
|
||
function About() { | ||
|
||
const [open, setOpen] = useState(false); | ||
|
||
const handleOpen = () => { | ||
setOpen(true); | ||
}; | ||
|
||
const handleClose = (e) => { | ||
setOpen(false); | ||
}; | ||
|
||
useEffect(() => { | ||
document.title = "About - EnviroGo"; | ||
}, []); | ||
|
||
return ( | ||
<> | ||
<Container maxWidth="md"> | ||
<Card sx={{ marginY: "1rem" }}> | ||
<div onClick={handleOpen}> | ||
<CardMedia | ||
component="img" | ||
height="250" | ||
image="/about.jpg" | ||
alt="Material Forest" | ||
/> | ||
</div> | ||
<CardContent> | ||
<CardTitle title="About EnviroGo" back="/" icon={<Info />} /> | ||
<Typography variant="body2" color="text.secondary" marginTop={"0.5rem"}> | ||
EnviroGo is a web application that allows users to create and join carpooling sessions to reduce carbon emissions as well as renting bicycles for a more eco-friendly mode of transport. | ||
</Typography> | ||
<Divider sx={{ my: 2 }} /> | ||
<Typography variant="h5" fontWeight={700} marginBottom={"1rem"}>Credits</Typography> | ||
<Grid container spacing={2}> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="General Design, User Management & Support" value="Joseph Lee" /> | ||
</Grid> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Driver Management & Routing System" value="Yuk Ka Chyun" /> | ||
</Grid> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Ride Requests & Pick-Up Locations" value="Gregory Chua" /> | ||
</Grid> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Bicycle Management" value="Azrel" /> | ||
</Grid> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Online Shop Management" value="Samuel Ong" /> | ||
</Grid> | ||
</Grid> | ||
<Divider sx={{ my: 2 }} /> | ||
<Typography variant="h5" fontWeight={700} marginBottom={"1rem"}>Technologies</Typography> | ||
<Grid container spacing={2}> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Frontend" value="ReactJS, Material UI" /> | ||
</Grid> | ||
<Grid item xs={12} md={6}> | ||
<InfoBox title="Backend" value="NodeJS, ExpressJS, Socket.io, MySQL" /> | ||
</Grid> | ||
<Grid item xs={12}> | ||
<InfoBox title="APIs" value="Google Maps, Google Geocoding, Google Directions, Stripe, OAuth (Google & Facebook)" /> | ||
</Grid> | ||
</Grid> | ||
</CardContent> | ||
</Card> | ||
</Container> | ||
<Dialog | ||
open={open} | ||
onClose={handleClose} | ||
maxWidth="sm" | ||
fullWidth | ||
> | ||
<DialogTitle>Secret Dialog</DialogTitle> | ||
<DialogContent> | ||
<iframe width="100%" height="315" src="https://www.youtube.com/embed/KC5PzT2zDlU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
</DialogContent> | ||
<DialogActions> | ||
<Button startIcon={<Close/>} onClick={handleClose}>Close</Button> | ||
</DialogActions> | ||
</Dialog> | ||
</> | ||
|
||
) | ||
} | ||
|
||
export default About |
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
dd5b83b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
t-project-client – ./
envirogo.cat2.link
t-project-client-josephlee222.vercel.app
t-project-client.vercel.app
t-project-client-git-main-josephlee222.vercel.app