add screenshot of en version, change description of showinternals command
This commit is contained in:
parent
18c5f18166
commit
b0308b89bd
|
@ -6,36 +6,36 @@ const commandsForAll = [
|
||||||
example: "tw!help",
|
example: "tw!help",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "tw!tribe topatt",
|
command: "tw!tribe topoda",
|
||||||
commandSyntax:
|
commandSyntax:
|
||||||
"tw!tribe topatt [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
"tw!tribe topoda [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||||
description:
|
description:
|
||||||
"This command generates player list from selected tribes ordered by ODA.",
|
"This command generates player list from selected tribes ordered by ODA.",
|
||||||
example: "tw!tribe topatt pl143 1 975 170",
|
example: "tw!tribe topoda pl143 1 975 170",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "tw!tribe topdef",
|
command: "tw!tribe topodd",
|
||||||
commandSyntax:
|
commandSyntax:
|
||||||
"tw!tribe topdef [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
"tw!tribe topodd [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||||
description:
|
description:
|
||||||
"This command generates player list from selected tribes ordered by ODD.",
|
"This command generates player list from selected tribes ordered by ODD.",
|
||||||
example: "tw!tribe topdef pl143 1 975 170",
|
example: "tw!tribe topodd pl143 1 975 170",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "tw!tribe topsupp",
|
command: "tw!tribe topods",
|
||||||
commandSyntax:
|
commandSyntax:
|
||||||
"tw!tribe topsupp [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
"tw!tribe topods [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||||
description:
|
description:
|
||||||
"This command generates player list from selected tribes ordered by ODS.",
|
"This command generates player list from selected tribes ordered by ODS.",
|
||||||
example: "tw!tribe topsupp pl143 1 975 170",
|
example: "tw!tribe topods pl143 1 975 170",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "tw!tribe toptotal",
|
command: "tw!tribe topod",
|
||||||
commandSyntax:
|
commandSyntax:
|
||||||
"tw!tribe toptotal [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
"tw!tribe topod [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||||
description:
|
description:
|
||||||
"This command generates player list from selected tribes ordered by OD.",
|
"This command generates player list from selected tribes ordered by OD.",
|
||||||
example: "tw!tribe toptotal pl143 1 975 170",
|
example: "tw!tribe topod pl143 1 975 170",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "tw!tribe toppoints",
|
command: "tw!tribe toppoints",
|
||||||
|
@ -129,7 +129,7 @@ const adminCommands = [
|
||||||
command: " tw!showinternals",
|
command: " tw!showinternals",
|
||||||
commandSyntax: " tw!showinternals [group ID from tw!groups]",
|
commandSyntax: " tw!showinternals [group ID from tw!groups]",
|
||||||
description:
|
description:
|
||||||
"This command enables/disables notifications about self-conquers between tribes in one group.",
|
"This command enables/disables notifications about in-group/in-tribe conquering.",
|
||||||
example: "tw!showinternals 1",
|
example: "tw!showinternals 1",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -43,16 +43,28 @@ const IndexPage = ({ location, pageContext }) => {
|
||||||
botInviteUrl
|
botInviteUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ss: file(relativePath: { eq: "ss.png" }) {
|
allSs: allFile(filter: { absolutePath: { regex: "/screenshots/" } }) {
|
||||||
|
edges {
|
||||||
|
node {
|
||||||
|
relativePath
|
||||||
childImageSharp {
|
childImageSharp {
|
||||||
|
id
|
||||||
fluid(maxWidth: 593, quality: 100) {
|
fluid(maxWidth: 593, quality: 100) {
|
||||||
...GatsbyImageSharpFluid
|
...GatsbyImageSharpFluid_withWebp
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`);
|
`);
|
||||||
const t = translations[pageContext.langKey];
|
const t = translations[pageContext.langKey];
|
||||||
|
console.log(data.allSs);
|
||||||
|
const ss = data.allSs.edges.find(edge => {
|
||||||
|
console.log(edge);
|
||||||
|
if (edge.node.relativePath.includes(pageContext.langKey)) return edge;
|
||||||
|
return null;
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout lang={pageContext.langKey} pathname={location.pathname}>
|
<Layout lang={pageContext.langKey} pathname={location.pathname}>
|
||||||
|
@ -95,7 +107,7 @@ const IndexPage = ({ location, pageContext }) => {
|
||||||
<Grid item xs={12} md={5}>
|
<Grid item xs={12} md={5}>
|
||||||
<Image
|
<Image
|
||||||
className={classes.image}
|
className={classes.image}
|
||||||
fluid={data.ss.childImageSharp.fluid}
|
fluid={ss.node.childImageSharp.fluid}
|
||||||
alt={data.site.siteMetadata.title}
|
alt={data.site.siteMetadata.title}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
BIN
src/images/screenshots/en.png
Normal file
BIN
src/images/screenshots/en.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Reference in New Issue
Block a user