Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

81 add link to fuzuetech and also to the season food site #86

Merged
10 changes: 7 additions & 3 deletions src/components/AboutDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import { DialogTitle, DialogContent, DialogContentText, Typography }
import { DialogTitle, DialogContent, DialogContentText, Typography, Link }
from "@mui/material"

//dialog box that opens with each element clicked
Expand All @@ -10,7 +10,7 @@ export default function AboutDialog() {
{"About the app"}
</DialogTitle>
<DialogContent>
<DialogContentText id="about-dialog-description">
<DialogContentText id="about-dialog-description" color="dark-gray">
<p>
This project was developed to address a genuine challenge:
determining the availability of fruits and vegetables in a new
Expand All @@ -26,9 +26,13 @@ export default function AboutDialog() {
small-scale farmers, and ultimately reduce our contribution to global
warming.
</p>
<Typography sx={{fontWeight: 600}}>
<Typography sx={{fontWeight: 600 }}>
At the moment it is only available for Italian products.
</Typography>
<Typography sx={{fontWeight: 800, mt: 3}}>
More about us in <Link underline="hover" sx={{ color: "inherit"}} href="https://fuzue.tech" target="_blank">fuzue.tech</Link>
<br /> More about the app <Link underline="hover" sx={{ color: "inherit"}} href="https://seasonalfood.fuzue.tech/" target="_blank" > here</Link>
</Typography>
</DialogContentText>
</DialogContent>
</>
Expand Down
24 changes: 16 additions & 8 deletions src/components/ContactDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

import { DialogTitle, DialogContent, DialogContentText, Link, Typography }
from "@mui/material"
import { DialogTitle, DialogContent, DialogContentText, Link, Box }
from "@mui/material";
import AlternateEmailIcon from '@mui/icons-material/AlternateEmail';
import GitHubIcon from '@mui/icons-material/GitHub';

//dialog box that opens with each element clicked
export default function ContactDialog() {
Expand All @@ -10,12 +12,18 @@ export default function ContactDialog() {
{"Contact"}
</DialogTitle>
<DialogContent>
<DialogContentText id="contact-dialog-description">
You can talk to us via email and/or check our repository in github.
<p>
<Typography variant="subtitle2" gutterBottom><a href="mailto:contact@fuzue.tech">contact@fuzue.tech</a></Typography>
<Link underline="hover" href="https://github.com/fuzue/seasonalfood" target="_blank"> <Typography variant="subtitle2" gutterBottom>Github</Typography></Link>
</p>
<DialogContentText id="contact-dialog-description" color="dark-gray" >
Contact us via email, visit
<Link underline="hover" color="inherit" href="https://seasonalfood.fuzue.tech/" target="_blank"> our website</Link>
&nbsp;or check out <Link underline="hover" color="inherit" href="https://github.com/fuzue/seasonalfood"> our repository in github.</Link>
<Box sx={{display: 'flex', justifyContent: 'start', mt:2, }}>
<AlternateEmailIcon sx={{mr:1}} />
<Link underline="hover" color="inherit" href="mailto:contact@fuzue.tech">contact@fuzue.tech</Link>
</Box>
<Box sx={{display: 'flex', justifyContent: 'start', mt:1}}>
<GitHubIcon sx={{mr:1}}/>
<Link underline="hover" color="inherit" href="https://github.com/fuzue/seasonalfood">GitHub Repo</Link>
</Box>
</DialogContentText>
</DialogContent>
</>
Expand Down
16 changes: 8 additions & 8 deletions src/components/ContributeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import { DialogTitle, DialogContent, DialogContentText, Link }
export default function ContributeDialog() {
return (
<>
<DialogTitle id="contribute-dialog-title">
<DialogTitle id="contribute-dialog-title" >
{"Contribute"}
</DialogTitle>
<DialogContent>
<DialogContentText id="contribute-dialog-description">
This is an open source project, that means you can clone this repository, write issues, make your own changes and submit your own pull requests.
<p>For this, use our&nbsp;
<Link underline="hover" href="https://github.com/fuzue/seasonfood" target="_blank">
github Page.

</Link></p>
<DialogContentText id="contribute-dialog-description" color="dark-gray">
This is an open source project, that means you can clone this repository, write issues, make your own changes and submit your own pull requests.
<p>For this, use our&nbsp;
<Link underline="hover" color="inherit" fontWeight={600} href="https://github.com/fuzue/seasonalfood" target="_blank">
github page
</Link>.
</p>
</DialogContentText>
</DialogContent>
</>
Expand Down