-
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 #89 from fuzue/67-add-italian-translation-to-items…
…-in-side-bar 67 add italian translation to items in side bar
- Loading branch information
Showing
8 changed files
with
99 additions
and
45 deletions.
There are no files selected for viewing
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,21 +1,31 @@ | ||
|
||
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'; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
//dialog box that opens with each element clicked | ||
export default function ContactDialog() { | ||
const { t } = useTranslation(); | ||
return ( | ||
<> | ||
<DialogTitle id="contact-dialog-title"> | ||
{"Contact"} | ||
{t("ContactDialog_title")} | ||
</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:[email protected]">[email protected]</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" > | ||
{t("ContactDialog_text1")} | ||
<Link underline="hover" color="inherit" href="https://seasonalfood.fuzue.tech/" target="_blank"> {t("ContactDialog_text2")}</Link> | ||
{t( "ContactDialog_text3")} <Link underline="hover" color="inherit" href="https://github.com/fuzue/seasonalfood"> {t("ContactDialog_text4")}</Link> | ||
<Box sx={{display: 'flex', justifyContent: 'start', mt:2, }}> | ||
<AlternateEmailIcon sx={{mr:1}} /> | ||
<Link underline="hover" color="inherit" href="mailto:[email protected]">[email protected]</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> | ||
</> | ||
|
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