add link to map tool

This commit is contained in:
Dawid Wysokiński 2020-09-03 14:45:26 +02:00
parent 5a5f1d7616
commit e7ee69d5e6
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@ module.exports = {
author: "Dawid Wysokiński", author: "Dawid Wysokiński",
contactUrl: "http://dawid-wysokinski.pl/#contact", contactUrl: "http://dawid-wysokinski.pl/#contact",
scriptsUrl: "https://github.com/tribalwarshelp/scripts", scriptsUrl: "https://github.com/tribalwarshelp/scripts",
mapToolUrl: "https://map.tribalwarshelp.com",
siteUrl, siteUrl,
}, },
plugins: [ plugins: [

View File

@ -26,6 +26,9 @@ const useStyles = makeStyles(theme => ({
"& > *": { "& > *": {
padding: theme.spacing(0.5), padding: theme.spacing(0.5),
}, },
[theme.breakpoints.down("xs")]: {
flexDirection: "column",
},
}, },
})) }))
@ -44,6 +47,7 @@ const IndexPage = ({ location }) => {
author author
contactUrl contactUrl
scriptsUrl scriptsUrl
mapToolUrl
} }
} }
} }
@ -73,6 +77,9 @@ const IndexPage = ({ location }) => {
<div> <div>
<LinkButton href={siteMetadata.dcbotUrl}>Discord Bot</LinkButton> <LinkButton href={siteMetadata.dcbotUrl}>Discord Bot</LinkButton>
</div> </div>
<div>
<LinkButton href={siteMetadata.mapToolUrl}>Map tool</LinkButton>
</div>
<div> <div>
<LinkButton href={siteMetadata.scriptsUrl}>Scripts</LinkButton> <LinkButton href={siteMetadata.scriptsUrl}>Scripts</LinkButton>
</div> </div>