This commit is contained in:
Dawid Wysokiński 2020-06-28 16:00:29 +02:00
parent 0eb233d093
commit 9ae5357c6c
2 changed files with 16 additions and 14 deletions

View File

@ -153,7 +153,7 @@ const CommandsPage = ({ location }) => {
description={pageDescription}
/>
<Container>
<Box mb={3}>
<Box mb={3} component="section">
<Typography variant="h2" component="h1" align="center" gutterBottom>
Commands for all guild members
</Typography>
@ -165,16 +165,18 @@ const CommandsPage = ({ location }) => {
))}
</Grid>
</Box>
<Typography variant="h2" component="h1" align="center" gutterBottom>
Admin commands
</Typography>
<Grid container spacing="2">
{adminCommands.map(cmd => (
<Grid item xs={12} sm={6}>
<Command key={cmd.command} {...cmd} />
</Grid>
))}
</Grid>
<section>
<Typography variant="h2" component="h1" align="center" gutterBottom>
Admin commands
</Typography>
<Grid container spacing="2">
{adminCommands.map(cmd => (
<Grid item xs={12} sm={6}>
<Command key={cmd.command} {...cmd} />
</Grid>
))}
</Grid>
</section>
</Container>
</Layout>
);

View File

@ -62,7 +62,7 @@ const IndexPage = ({ location }) => {
Observe your tribe ennoblements!
</Typography>
<Typography gutterBottom>
This bot notifies you about conquered/lost village by tribe near
This bot notifies you about conquered/lost village by a tribe near
real-time.
</Typography>
<Divider variant="fullWidth" className={classes.divider} />
@ -72,9 +72,9 @@ const IndexPage = ({ location }) => {
href={data.site.siteMetadata.botInviteUrl}
color="inherit"
underline="none"
title={`Invite ${data.site.siteMetadata.title}`}
title={`Invite bot to your server`}
>
Invite {data.site.siteMetadata.title}
Invite bot to your server
</Link>
</Button>
<Button>