refactor: use single quotes instead of double quotes
This commit is contained in:
parent
c07b147cbd
commit
bbe8869b61
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"arrowParens": "avoid",
|
||||
"semi": true
|
||||
"semi": true,
|
||||
"singleQuote": true
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
const siteUrl = "https://dcbot.tribalwarshelp.com";
|
||||
const siteUrl = 'https://dcbot.tribalwarshelp.com';
|
||||
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: `TWHelp Discord Bot`,
|
||||
description: `Discord bot for online game Tribalwars. | Real-time notifications about lost/conquered village.`,
|
||||
siteUrl,
|
||||
twhelpUrl: "https://tribalwarshelp.com",
|
||||
twhelpUrl: 'https://tribalwarshelp.com',
|
||||
botInviteUrl:
|
||||
"https://discord.com/oauth2/authorize?client_id=707859810900508703&scope=bot&permissions=8",
|
||||
languages: ["en", "pl"],
|
||||
author: "Dawid Wysokiński",
|
||||
'https://discord.com/oauth2/authorize?client_id=707859810900508703&scope=bot&permissions=8',
|
||||
languages: ['en', 'pl'],
|
||||
author: 'Dawid Wysokiński',
|
||||
},
|
||||
plugins: [
|
||||
`gatsby-plugin-react-helmet`,
|
||||
|
@ -37,25 +37,25 @@ module.exports = {
|
|||
`gatsby-theme-material-ui`,
|
||||
`gatsby-plugin-sitemap`,
|
||||
{
|
||||
resolve: "gatsby-plugin-robots-txt",
|
||||
resolve: 'gatsby-plugin-robots-txt',
|
||||
options: {
|
||||
host: siteUrl,
|
||||
sitemap: siteUrl + "/sitemap.xml",
|
||||
sitemap: siteUrl + '/sitemap.xml',
|
||||
env: {
|
||||
development: {
|
||||
policy: [{ userAgent: "*", disallow: ["/"] }],
|
||||
policy: [{ userAgent: '*', disallow: ['/'] }],
|
||||
},
|
||||
production: {
|
||||
policy: [{ userAgent: "*", allow: "/" }],
|
||||
policy: [{ userAgent: '*', allow: '/' }],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-i18n",
|
||||
resolve: 'gatsby-plugin-i18n',
|
||||
options: {
|
||||
langKeyDefault: "en",
|
||||
langKeyForNull: "en",
|
||||
langKeyDefault: 'en',
|
||||
langKeyForNull: 'en',
|
||||
useLangKeyLayout: false,
|
||||
prefixDefault: false,
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "dcbot-website",
|
||||
"private": true,
|
||||
"description": "Tribal Wars Discord Bot website",
|
||||
"description": "TWHelp Discord Bot website",
|
||||
"version": "0.1.0",
|
||||
"author": "Dawid Wysokiński <xyztojajestem@gmail.com>",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,40 +1,40 @@
|
|||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { AppBar, Toolbar, Typography, Container } from "@material-ui/core";
|
||||
import { Link } from "gatsby-theme-material-ui";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { AppBar, Toolbar, Typography, Container } from '@material-ui/core';
|
||||
import { Link } from 'gatsby-theme-material-ui';
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
appBar: {
|
||||
backgroundColor: "transparent",
|
||||
color: "#fff",
|
||||
boxShadow: "none",
|
||||
backgroundColor: 'transparent',
|
||||
color: '#fff',
|
||||
boxShadow: 'none',
|
||||
},
|
||||
copyright: {
|
||||
width: "100%",
|
||||
width: '100%',
|
||||
},
|
||||
}));
|
||||
|
||||
const locales = {
|
||||
en: {
|
||||
backgroundCredits: "I customized the wicked cool background at",
|
||||
backgroundCredits: 'I customized the wicked cool background at',
|
||||
},
|
||||
pl: {
|
||||
backgroundCredits: "Tło pochodzi z",
|
||||
backgroundCredits: 'Tło pochodzi z',
|
||||
},
|
||||
};
|
||||
|
||||
function Footer({ author, lang }) {
|
||||
const classes = useStyles();
|
||||
const translations = locales[lang] || locales["en"];
|
||||
const translations = locales[lang] || locales['en'];
|
||||
|
||||
return (
|
||||
<AppBar component="footer" position="static" className={classes.appBar}>
|
||||
<Container>
|
||||
<Toolbar disableGutters>
|
||||
<Typography align="center" className={classes.copyright}>
|
||||
{translations.backgroundCredits}{" "}
|
||||
{translations.backgroundCredits}{' '}
|
||||
<Link color="secondary" href="https://svgbackgrounds.com">
|
||||
svgbackgrounds.com
|
||||
</Link>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import React, { useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import routes from "@config/routes";
|
||||
import React, { useState } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import routes from '@config/routes';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import {
|
||||
AppBar,
|
||||
Toolbar,
|
||||
|
@ -10,24 +10,24 @@ import {
|
|||
Hidden,
|
||||
Menu,
|
||||
MenuItem,
|
||||
} from "@material-ui/core";
|
||||
import { Menu as MenuIcon } from "@material-ui/icons";
|
||||
import { Link, IconButton } from "gatsby-theme-material-ui";
|
||||
import LanguageSelector from "./LanguageSelector";
|
||||
} from '@material-ui/core';
|
||||
import { Menu as MenuIcon } from '@material-ui/icons';
|
||||
import { Link, IconButton } from 'gatsby-theme-material-ui';
|
||||
import LanguageSelector from './LanguageSelector';
|
||||
|
||||
const useStyles = makeStyles(theme => ({
|
||||
appBar: {
|
||||
backgroundColor: "transparent",
|
||||
color: "#fff",
|
||||
boxShadow: "none",
|
||||
backgroundColor: 'transparent',
|
||||
color: '#fff',
|
||||
boxShadow: 'none',
|
||||
},
|
||||
hidden: {
|
||||
"& > *:not(:last-child)": {
|
||||
'& > *:not(:last-child)': {
|
||||
marginRight: theme.spacing(1),
|
||||
},
|
||||
},
|
||||
link: {
|
||||
width: "100%",
|
||||
width: '100%',
|
||||
},
|
||||
}));
|
||||
|
||||
|
@ -35,7 +35,7 @@ function Header({ twhelpUrl, lang, languages, pathname }) {
|
|||
const [anchorEl, setAnchorEl] = useState(null);
|
||||
const classes = useStyles();
|
||||
const open = Boolean(anchorEl);
|
||||
const twhelpText = twhelpUrl.replace("http://", "").replace("https://", "");
|
||||
const twhelpText = twhelpUrl.replace('http://', '').replace('https://', '');
|
||||
|
||||
const handleMenuOpen = event => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
|
@ -75,13 +75,13 @@ function Header({ twhelpUrl, lang, languages, pathname }) {
|
|||
<Menu
|
||||
anchorEl={anchorEl}
|
||||
anchorOrigin={{
|
||||
vertical: "top",
|
||||
horizontal: "right",
|
||||
vertical: 'top',
|
||||
horizontal: 'right',
|
||||
}}
|
||||
keepMounted
|
||||
transformOrigin={{
|
||||
vertical: "top",
|
||||
horizontal: "right",
|
||||
vertical: 'top',
|
||||
horizontal: 'right',
|
||||
}}
|
||||
open={open}
|
||||
onClose={handleMenuClose}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import plFlag from "@images/flags/pl.svg";
|
||||
import usaFlag from "@images/flags/usa.svg";
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import plFlag from '@images/flags/pl.svg';
|
||||
import usaFlag from '@images/flags/usa.svg';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { Link } from "gatsby-theme-material-ui";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Link } from 'gatsby-theme-material-ui';
|
||||
|
||||
const flags = {
|
||||
pl: plFlag,
|
||||
|
@ -14,24 +14,24 @@ const flags = {
|
|||
const useStyles = makeStyles(theme => ({
|
||||
languageSelector: {
|
||||
flexGrow: 1,
|
||||
display: "flex",
|
||||
"& > *:not(:last-child)": {
|
||||
display: 'flex',
|
||||
'& > *:not(:last-child)': {
|
||||
marginRight: theme.spacing(1),
|
||||
},
|
||||
},
|
||||
flagWrapper: {
|
||||
cursor: "pointer",
|
||||
display: "flex",
|
||||
flexDirection: "row",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
cursor: 'pointer',
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
},
|
||||
flag: {
|
||||
width: "auto",
|
||||
height: "25px",
|
||||
transition: "all .2s",
|
||||
"&:hover": {
|
||||
transform: "scale(1.1)",
|
||||
width: 'auto',
|
||||
height: '25px',
|
||||
transition: 'all .2s',
|
||||
'&:hover': {
|
||||
transform: 'scale(1.1)',
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
@ -51,7 +51,7 @@ function LanguageSelector({ lang, languages, pathname }) {
|
|||
{languages.map(l => (
|
||||
<Link
|
||||
key={l}
|
||||
to={buildURL(l).replace(`/${languages[0]}/`, "/")}
|
||||
to={buildURL(l).replace(`/${languages[0]}/`, '/')}
|
||||
className={classes.flagWrapper}
|
||||
>
|
||||
<img className={classes.flag} src={flags[l]} alt={l} />
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
import React, { Fragment } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import { useStaticQuery, graphql } from "gatsby";
|
||||
import React, { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { useStaticQuery, graphql } from 'gatsby';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { CssBaseline } from "@material-ui/core";
|
||||
import Header from "./Header";
|
||||
import Footer from "./Footer";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { CssBaseline } from '@material-ui/core';
|
||||
import Header from './Header';
|
||||
import Footer from './Footer';
|
||||
|
||||
const useStyles = makeStyles(theme => ({
|
||||
main: {
|
||||
display: "flex",
|
||||
display: 'flex',
|
||||
},
|
||||
mainChild: {
|
||||
display: "flex",
|
||||
width: "100%",
|
||||
minHeight: "calc(100vh - 140px)",
|
||||
display: 'flex',
|
||||
width: '100%',
|
||||
minHeight: 'calc(100vh - 140px)',
|
||||
paddingTop: theme.spacing(2),
|
||||
paddingBottom: theme.spacing(3),
|
||||
},
|
||||
|
@ -55,7 +55,7 @@ const Layout = ({
|
|||
/>
|
||||
)}
|
||||
<main
|
||||
className={className ? classes.main + " " + className : classes.main}
|
||||
className={className ? classes.main + ' ' + className : classes.main}
|
||||
>
|
||||
<div className={classes.mainChild}>{children}</div>
|
||||
</main>
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
* See: https://www.gatsbyjs.org/docs/use-static-query/
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import { Helmet } from "react-helmet";
|
||||
import { useStaticQuery, graphql } from "gatsby";
|
||||
import seoBG from "@images/seo-bg.png";
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { useStaticQuery, graphql } from 'gatsby';
|
||||
import seoBG from '@images/seo-bg.png';
|
||||
|
||||
function SEO({ description, lang, meta, title, location }) {
|
||||
const { site } = useStaticQuery(
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
const pl = {
|
||||
HOME: "/pl/",
|
||||
COMMANDS_PAGE: "/pl/commands/",
|
||||
HOME: '/pl/',
|
||||
COMMANDS_PAGE: '/pl/commands/',
|
||||
};
|
||||
const en = {
|
||||
HOME: "/",
|
||||
COMMANDS_PAGE: "/commands/",
|
||||
HOME: '/',
|
||||
COMMANDS_PAGE: '/commands/',
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { Card, CardHeader, CardContent, Typography } from "@material-ui/core";
|
||||
import { Card, CardHeader, CardContent, Typography } from '@material-ui/core';
|
||||
|
||||
function Command({ command, commandSyntax, description, example }) {
|
||||
return (
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import React from "react";
|
||||
import translations from "./translations";
|
||||
import commands from "./commands";
|
||||
import React from 'react';
|
||||
import translations from './translations';
|
||||
import commands from './commands';
|
||||
|
||||
import { Container, Typography, Grid, Box } from "@material-ui/core";
|
||||
import Layout from "@components/Layout/Layout";
|
||||
import SEO from "@components/SEO";
|
||||
import Command from "./Command";
|
||||
import { Container, Typography, Grid, Box } from '@material-ui/core';
|
||||
import Layout from '@components/Layout/Layout';
|
||||
import SEO from '@components/SEO';
|
||||
import Command from './Command';
|
||||
|
||||
const CommandsPage = ({ location, pageContext }) => {
|
||||
const t = translations[pageContext.langKey];
|
||||
|
|
|
@ -1,149 +1,149 @@
|
|||
const commandsForEveryone = [
|
||||
{
|
||||
command: "tw!help",
|
||||
commandSyntax: "tw!help",
|
||||
description: "This command shows you all available commands.",
|
||||
example: "tw!help",
|
||||
command: 'tw!help',
|
||||
commandSyntax: 'tw!help',
|
||||
description: 'This command shows you all available commands.',
|
||||
example: 'tw!help',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topoda",
|
||||
command: 'tw!tribe topoda',
|
||||
commandSyntax:
|
||||
"tw!tribe topoda [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||
'tw!tribe topoda [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]',
|
||||
description:
|
||||
"This command generates a player list from selected tribes ordered by ODA.",
|
||||
example: "tw!tribe topoda pl143 1 975 170",
|
||||
'This command generates a player list from selected tribes ordered by ODA.',
|
||||
example: 'tw!tribe topoda pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topodd",
|
||||
command: 'tw!tribe topodd',
|
||||
commandSyntax:
|
||||
"tw!tribe topodd [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||
'tw!tribe topodd [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]',
|
||||
description:
|
||||
"This command generates a player list from selected tribes ordered by ODD.",
|
||||
example: "tw!tribe topodd pl143 1 975 170",
|
||||
'This command generates a player list from selected tribes ordered by ODD.',
|
||||
example: 'tw!tribe topodd pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topods",
|
||||
command: 'tw!tribe topods',
|
||||
commandSyntax:
|
||||
"tw!tribe topods [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||
'tw!tribe topods [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]',
|
||||
description:
|
||||
"This command generates a player list from selected tribes ordered by ODS.",
|
||||
example: "tw!tribe topods pl143 1 975 170",
|
||||
'This command generates a player list from selected tribes ordered by ODS.',
|
||||
example: 'tw!tribe topods pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topod",
|
||||
command: 'tw!tribe topod',
|
||||
commandSyntax:
|
||||
"tw!tribe topod [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||
'tw!tribe topod [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]',
|
||||
description:
|
||||
"This command generates a player list from selected tribes ordered by OD.",
|
||||
example: "tw!tribe topod pl143 1 975 170",
|
||||
'This command generates a player list from selected tribes ordered by OD.',
|
||||
example: 'tw!tribe topod pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe toppoints",
|
||||
command: 'tw!tribe toppoints',
|
||||
commandSyntax:
|
||||
"tw!tribe toppoints [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]",
|
||||
'tw!tribe toppoints [server] [page] [tribe_id1] [tribe_id2] ... [tribe_idn]',
|
||||
description:
|
||||
"This command generates a player list from selected tribes ordered by points.",
|
||||
example: "tw!tribe toppoints pl143 1 975 170",
|
||||
'This command generates a player list from selected tribes ordered by points.',
|
||||
example: 'tw!tribe toppoints pl143 1 975 170',
|
||||
},
|
||||
];
|
||||
|
||||
const adminCommands = [
|
||||
{
|
||||
command: "tw!addgroup",
|
||||
commandSyntax: "tw!addgroup",
|
||||
description: "This command adds a new observation group.",
|
||||
example: "tw!addgroup",
|
||||
command: 'tw!addgroup',
|
||||
commandSyntax: 'tw!addgroup',
|
||||
description: 'This command adds a new observation group.',
|
||||
example: 'tw!addgroup',
|
||||
},
|
||||
{
|
||||
command: "tw!groups",
|
||||
commandSyntax: "tw!addgroup",
|
||||
command: 'tw!groups',
|
||||
commandSyntax: 'tw!addgroup',
|
||||
description:
|
||||
"This command shows you a list of groups created by this server.",
|
||||
example: "tw!addgroup",
|
||||
'This command shows you a list of groups created by this server.',
|
||||
example: 'tw!addgroup',
|
||||
},
|
||||
{
|
||||
command: "tw!deletegroup",
|
||||
commandSyntax: "tw!deletegroup [group ID from tw!groups]",
|
||||
description: "This command deletes an observation group.",
|
||||
example: "tw!deletegroup 1",
|
||||
command: 'tw!deletegroup',
|
||||
commandSyntax: 'tw!deletegroup [group ID from tw!groups]',
|
||||
description: 'This command deletes an observation group.',
|
||||
example: 'tw!deletegroup 1',
|
||||
},
|
||||
{
|
||||
command: "tw!observe",
|
||||
commandSyntax: "tw!observe [group ID from tw!groups] [server] [tribe id]",
|
||||
description: "This command adds a tribe to the observation group.",
|
||||
example: "tw!observe 1 pl143 975 170",
|
||||
command: 'tw!observe',
|
||||
commandSyntax: 'tw!observe [group ID from tw!groups] [server] [tribe id]',
|
||||
description: 'This command adds a tribe to the observation group.',
|
||||
example: 'tw!observe 1 pl143 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!observations",
|
||||
commandSyntax: "tw!observations [group ID from tw!groups]",
|
||||
command: 'tw!observations',
|
||||
commandSyntax: 'tw!observations [group ID from tw!groups]',
|
||||
description:
|
||||
"This command shows a list of monitored tribes added to this group.",
|
||||
example: "tw!observations 1",
|
||||
'This command shows a list of monitored tribes added to this group.',
|
||||
example: 'tw!observations 1',
|
||||
},
|
||||
{
|
||||
command: "tw!deleteobservation",
|
||||
command: 'tw!deleteobservation',
|
||||
commandSyntax:
|
||||
"tw!deleteobservation [group ID from tw!groups] [id from tw!observations]",
|
||||
description: "This command removes a tribe from the observation group.",
|
||||
example: "tw!deleteobservation 1 pl143 975 170",
|
||||
'tw!deleteobservation [group ID from tw!groups] [id from tw!observations]',
|
||||
description: 'This command removes a tribe from the observation group.',
|
||||
example: 'tw!deleteobservation 1 pl143 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!conqueredvillages",
|
||||
commandSyntax: "tw!conqueredvillages [group ID from tw!groups]",
|
||||
command: 'tw!conqueredvillages',
|
||||
commandSyntax: 'tw!conqueredvillages [group ID from tw!groups]',
|
||||
description:
|
||||
"This command changes the channel on which notifications about conquered village will show. IMPORTANT! Run this command on the channel you want to display these notifications.",
|
||||
example: "tw!conqueredvillages 1",
|
||||
'This command changes the channel on which notifications about conquered village will show. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
||||
example: 'tw!conqueredvillages 1',
|
||||
},
|
||||
{
|
||||
command: "tw!lostvillages",
|
||||
commandSyntax: "tw!lostvillages [group ID from tw!groups]",
|
||||
command: 'tw!lostvillages',
|
||||
commandSyntax: 'tw!lostvillages [group ID from tw!groups]',
|
||||
description:
|
||||
"This command changes the channel on which notifications about lost village will show. IMPORTANT! Run this command on the channel you want to display these notifications.",
|
||||
example: "tw!lostvillages 2",
|
||||
'This command changes the channel on which notifications about lost village will show. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
||||
example: 'tw!lostvillages 2',
|
||||
},
|
||||
{
|
||||
command: "tw!disableconqueredvillages",
|
||||
commandSyntax: "tw!disableconqueredvillages [group ID from tw!groups]",
|
||||
description: "This command disable notifications about conquered villages.",
|
||||
example: "tw!disableconqueredvillages 1",
|
||||
command: 'tw!disableconqueredvillages',
|
||||
commandSyntax: 'tw!disableconqueredvillages [group ID from tw!groups]',
|
||||
description: 'This command disable notifications about conquered villages.',
|
||||
example: 'tw!disableconqueredvillages 1',
|
||||
},
|
||||
{
|
||||
command: "tw!disablelostvillages",
|
||||
commandSyntax: "tw!disablelostvillages [group ID from tw!groups]",
|
||||
description: "This command disable notifications about lost villages.",
|
||||
example: "tw!disablelostvillages 1",
|
||||
command: 'tw!disablelostvillages',
|
||||
commandSyntax: 'tw!disablelostvillages [group ID from tw!groups]',
|
||||
description: 'This command disable notifications about lost villages.',
|
||||
example: 'tw!disablelostvillages 1',
|
||||
},
|
||||
{
|
||||
command: " tw!showennobledbarbs",
|
||||
commandSyntax: " tw!showennobledbarbs [group ID from tw!groups]",
|
||||
command: ' tw!showennobledbarbs',
|
||||
commandSyntax: ' tw!showennobledbarbs [group ID from tw!groups]',
|
||||
description:
|
||||
"This command enables/disables notifications about ennobling barbarian villages.",
|
||||
example: "tw!showennobledbarbs 1",
|
||||
'This command enables/disables notifications about ennobling barbarian villages.',
|
||||
example: 'tw!showennobledbarbs 1',
|
||||
},
|
||||
{
|
||||
command: " tw!showinternals",
|
||||
commandSyntax: " tw!showinternals [group ID from tw!groups]",
|
||||
command: ' tw!showinternals',
|
||||
commandSyntax: ' tw!showinternals [group ID from tw!groups]',
|
||||
description:
|
||||
"This command enables/disables notifications about in-group/in-tribe conquering.",
|
||||
example: "tw!showinternals 1",
|
||||
'This command enables/disables notifications about in-group/in-tribe conquering.',
|
||||
example: 'tw!showinternals 1',
|
||||
},
|
||||
{
|
||||
command: " tw!changelanguage",
|
||||
commandSyntax: " tw!changelanguage [en | nl | pl]",
|
||||
description: "This command changes bot language.",
|
||||
example: "tw!changelanguage en",
|
||||
command: ' tw!changelanguage',
|
||||
commandSyntax: ' tw!changelanguage [en | nl | pl]',
|
||||
description: 'This command changes bot language.',
|
||||
example: 'tw!changelanguage en',
|
||||
},
|
||||
{
|
||||
command: " tw!coordstranslation",
|
||||
commandSyntax: " tw!coordstranslation [server]",
|
||||
description: "This command enables coords translation feature.",
|
||||
example: "tw!coordstranslation pl153",
|
||||
command: ' tw!coordstranslation',
|
||||
commandSyntax: ' tw!coordstranslation [server]',
|
||||
description: 'This command enables coords translation feature.',
|
||||
example: 'tw!coordstranslation pl153',
|
||||
},
|
||||
{
|
||||
command: " tw!disablecoordstranslation",
|
||||
commandSyntax: " tw!disablecoordstranslation",
|
||||
description: "This command disables coords translation feature.",
|
||||
example: "tw!disablecoordstranslation",
|
||||
command: ' tw!disablecoordstranslation',
|
||||
commandSyntax: ' tw!disablecoordstranslation',
|
||||
description: 'This command disables coords translation feature.',
|
||||
example: 'tw!disablecoordstranslation',
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import en from "./commands.en";
|
||||
import pl from "./commands.pl";
|
||||
import en from './commands.en';
|
||||
import pl from './commands.pl';
|
||||
|
||||
export default {
|
||||
en,
|
||||
|
|
|
@ -1,148 +1,148 @@
|
|||
const commandsForEveryone = [
|
||||
{
|
||||
command: "tw!help",
|
||||
commandSyntax: "tw!help",
|
||||
description: "Pokazuje wszystkie dostępne komendy.",
|
||||
example: "tw!help",
|
||||
command: 'tw!help',
|
||||
commandSyntax: 'tw!help',
|
||||
description: 'Pokazuje wszystkie dostępne komendy.',
|
||||
example: 'tw!help',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topatt",
|
||||
command: 'tw!tribe topatt',
|
||||
commandSyntax:
|
||||
"tw!tribe topatt [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]",
|
||||
'tw!tribe topatt [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]',
|
||||
description:
|
||||
"Generuje listę graczy z wybranych plemion i sortuje po pokonanych w ataku.",
|
||||
example: "tw!tribe topatt pl143 1 975 170",
|
||||
'Generuje listę graczy z wybranych plemion i sortuje po pokonanych w ataku.',
|
||||
example: 'tw!tribe topatt pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topdef",
|
||||
command: 'tw!tribe topdef',
|
||||
commandSyntax:
|
||||
"tw!tribe topdef [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]",
|
||||
'tw!tribe topdef [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]',
|
||||
description:
|
||||
"Generuje listę graczy z wybranych plemion i sortuje po pokonanych w obronie.",
|
||||
example: "tw!tribe topdef pl143 1 975 170",
|
||||
'Generuje listę graczy z wybranych plemion i sortuje po pokonanych w obronie.',
|
||||
example: 'tw!tribe topdef pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe topsupp",
|
||||
command: 'tw!tribe topsupp',
|
||||
commandSyntax:
|
||||
"tw!tribe topsupp [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]",
|
||||
'tw!tribe topsupp [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]',
|
||||
description:
|
||||
"Generuje listę graczy z wybranych plemion i sortuje po pokonanych jako wspierający.",
|
||||
example: "tw!tribe topsupp pl143 1 975 170",
|
||||
'Generuje listę graczy z wybranych plemion i sortuje po pokonanych jako wspierający.',
|
||||
example: 'tw!tribe topsupp pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe toptotal",
|
||||
command: 'tw!tribe toptotal',
|
||||
commandSyntax:
|
||||
"tw!tribe toptotal [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]",
|
||||
'tw!tribe toptotal [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]',
|
||||
description:
|
||||
"Generuje listę graczy z wybranych plemion i sortuje po pokonanych ogólnie.",
|
||||
example: "tw!tribe toptotal pl143 1 975 170",
|
||||
'Generuje listę graczy z wybranych plemion i sortuje po pokonanych ogólnie.',
|
||||
example: 'tw!tribe toptotal pl143 1 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!tribe toppoints",
|
||||
command: 'tw!tribe toppoints',
|
||||
commandSyntax:
|
||||
"tw!tribe toppoints [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]",
|
||||
'tw!tribe toppoints [serwer] [strona] [id_plemienia1] [id_plemienia2] ... [id_plemienia n]',
|
||||
description:
|
||||
"Generuje listę graczy z wybranych plemion i sortuje po punktach.",
|
||||
example: "tw!tribe toppoints pl143 1 975 170",
|
||||
'Generuje listę graczy z wybranych plemion i sortuje po punktach.',
|
||||
example: 'tw!tribe toppoints pl143 1 975 170',
|
||||
},
|
||||
];
|
||||
|
||||
const adminCommands = [
|
||||
{
|
||||
command: "tw!addgroup",
|
||||
commandSyntax: "tw!addgroup",
|
||||
description: "Dodaje nową grupę.",
|
||||
example: "tw!addgroup",
|
||||
command: 'tw!addgroup',
|
||||
commandSyntax: 'tw!addgroup',
|
||||
description: 'Dodaje nową grupę.',
|
||||
example: 'tw!addgroup',
|
||||
},
|
||||
{
|
||||
command: "tw!groups",
|
||||
commandSyntax: "tw!addgroup",
|
||||
command: 'tw!groups',
|
||||
commandSyntax: 'tw!addgroup',
|
||||
description:
|
||||
"Pokazuje listę grup dodanych przez administrację tego serwera Discord.",
|
||||
example: "tw!addgroup",
|
||||
'Pokazuje listę grup dodanych przez administrację tego serwera Discord.',
|
||||
example: 'tw!addgroup',
|
||||
},
|
||||
{
|
||||
command: "tw!deletegroup",
|
||||
commandSyntax: "tw!deletegroup [ID grupy z tw!groups]",
|
||||
description: "Usuwa grupę.",
|
||||
example: "tw!deletegroup 1",
|
||||
command: 'tw!deletegroup',
|
||||
commandSyntax: 'tw!deletegroup [ID grupy z tw!groups]',
|
||||
description: 'Usuwa grupę.',
|
||||
example: 'tw!deletegroup 1',
|
||||
},
|
||||
{
|
||||
command: "tw!observe",
|
||||
commandSyntax: "tw!observe [ID grupy z tw!groups] [serwer] [id plemienia]",
|
||||
description: "Dodaje plemię do grupy.",
|
||||
example: "tw!observe 1 pl143 975 170",
|
||||
command: 'tw!observe',
|
||||
commandSyntax: 'tw!observe [ID grupy z tw!groups] [serwer] [id plemienia]',
|
||||
description: 'Dodaje plemię do grupy.',
|
||||
example: 'tw!observe 1 pl143 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!observations",
|
||||
commandSyntax: "tw!observations [ID grupy z tw!groups]",
|
||||
description: "Pokazuje plemiona należące do wybranej grupy.",
|
||||
example: "tw!observations 1",
|
||||
command: 'tw!observations',
|
||||
commandSyntax: 'tw!observations [ID grupy z tw!groups]',
|
||||
description: 'Pokazuje plemiona należące do wybranej grupy.',
|
||||
example: 'tw!observations 1',
|
||||
},
|
||||
{
|
||||
command: "tw!deleteobservation",
|
||||
command: 'tw!deleteobservation',
|
||||
commandSyntax:
|
||||
"tw!deleteobservation [ID grupy z tw!groups] [id z tw!observations]",
|
||||
description: "Usuwa plemię z grupy.",
|
||||
example: "tw!deleteobservation 1 pl143 975 170",
|
||||
'tw!deleteobservation [ID grupy z tw!groups] [id z tw!observations]',
|
||||
description: 'Usuwa plemię z grupy.',
|
||||
example: 'tw!deleteobservation 1 pl143 975 170',
|
||||
},
|
||||
{
|
||||
command: "tw!conqueredvillages",
|
||||
commandSyntax: "tw!conqueredvillages [ID grupy z tw!groups]",
|
||||
command: 'tw!conqueredvillages',
|
||||
commandSyntax: 'tw!conqueredvillages [ID grupy z tw!groups]',
|
||||
description:
|
||||
"Zmienia kanał na którym będą się pojawiać informację o podbitych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.",
|
||||
example: "tw!conqueredvillages 1",
|
||||
'Zmienia kanał na którym będą się pojawiać informację o podbitych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
||||
example: 'tw!conqueredvillages 1',
|
||||
},
|
||||
{
|
||||
command: "tw!lostvillages",
|
||||
commandSyntax: "tw!lostvillages [ID grupy z tw!groups]",
|
||||
command: 'tw!lostvillages',
|
||||
commandSyntax: 'tw!lostvillages [ID grupy z tw!groups]',
|
||||
description:
|
||||
"Zmienia kanał na którym będą się pojawiać informację o straconych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.",
|
||||
example: "tw!lostvillages 2",
|
||||
'Zmienia kanał na którym będą się pojawiać informację o straconych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
||||
example: 'tw!lostvillages 2',
|
||||
},
|
||||
{
|
||||
command: "tw!disableconqueredvillages",
|
||||
commandSyntax: "tw!disableconqueredvillages [ID grupy z tw!groups]",
|
||||
description: "Wyłącza powiadomienia o podbitych wioskach w danej grupie.",
|
||||
example: "tw!disableconqueredvillages 1",
|
||||
command: 'tw!disableconqueredvillages',
|
||||
commandSyntax: 'tw!disableconqueredvillages [ID grupy z tw!groups]',
|
||||
description: 'Wyłącza powiadomienia o podbitych wioskach w danej grupie.',
|
||||
example: 'tw!disableconqueredvillages 1',
|
||||
},
|
||||
{
|
||||
command: "tw!disablelostvillages",
|
||||
commandSyntax: "tw!disablelostvillages [ID grupy z tw!groups]",
|
||||
description: "Wyłącza powiadomienia o straconych wioskach w danej grupie.",
|
||||
example: "tw!disablelostvillages 1",
|
||||
command: 'tw!disablelostvillages',
|
||||
commandSyntax: 'tw!disablelostvillages [ID grupy z tw!groups]',
|
||||
description: 'Wyłącza powiadomienia o straconych wioskach w danej grupie.',
|
||||
example: 'tw!disablelostvillages 1',
|
||||
},
|
||||
{
|
||||
command: " tw!showennobledbarbs",
|
||||
commandSyntax: " tw!showennobledbarbs [ID grupy z tw!groups]",
|
||||
command: ' tw!showennobledbarbs',
|
||||
commandSyntax: ' tw!showennobledbarbs [ID grupy z tw!groups]',
|
||||
description:
|
||||
"Włącza/wyłącza informacje o podbitych wioskach barbarzyńskich.",
|
||||
example: "tw!showennobledbarbs 1",
|
||||
'Włącza/wyłącza informacje o podbitych wioskach barbarzyńskich.',
|
||||
example: 'tw!showennobledbarbs 1',
|
||||
},
|
||||
{
|
||||
command: " tw!showinternals",
|
||||
commandSyntax: " tw!showinternals [ID grupy z tw!groups]",
|
||||
command: ' tw!showinternals',
|
||||
commandSyntax: ' tw!showinternals [ID grupy z tw!groups]',
|
||||
description:
|
||||
"Włącza/wyłącza notyfikacje o podbiciach plemion należących do jednej grupy.",
|
||||
example: "tw!showinternals 1",
|
||||
'Włącza/wyłącza notyfikacje o podbiciach plemion należących do jednej grupy.',
|
||||
example: 'tw!showinternals 1',
|
||||
},
|
||||
{
|
||||
command: " tw!changelanguage",
|
||||
commandSyntax: " tw!changelanguage [en | nl | pl]",
|
||||
description: "Zmienia język w którym są wyświetlane odpowiedzi od bota.",
|
||||
example: "tw!changelanguage pl",
|
||||
command: ' tw!changelanguage',
|
||||
commandSyntax: ' tw!changelanguage [en | nl | pl]',
|
||||
description: 'Zmienia język w którym są wyświetlane odpowiedzi od bota.',
|
||||
example: 'tw!changelanguage pl',
|
||||
},
|
||||
{
|
||||
command: " tw!coordstranslation",
|
||||
commandSyntax: " tw!coordstranslation [serwer]",
|
||||
description: "Włącza translator koordynat.",
|
||||
example: "tw!coordstranslation pl153",
|
||||
command: ' tw!coordstranslation',
|
||||
commandSyntax: ' tw!coordstranslation [serwer]',
|
||||
description: 'Włącza translator koordynat.',
|
||||
example: 'tw!coordstranslation pl153',
|
||||
},
|
||||
{
|
||||
command: " tw!disablecoordstranslation",
|
||||
commandSyntax: " tw!disablecoordstranslation",
|
||||
description: "Wyłącza translator koordynat.",
|
||||
example: "tw!disablecoordstranslation",
|
||||
command: ' tw!disablecoordstranslation',
|
||||
commandSyntax: ' tw!disablecoordstranslation',
|
||||
description: 'Wyłącza translator koordynat.',
|
||||
example: 'tw!disablecoordstranslation',
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
export default {
|
||||
title: "Commands",
|
||||
description: "List of commands offered by TWHelp Discord Bot with examples",
|
||||
title: 'Commands',
|
||||
description: 'List of commands offered by TWHelp Discord Bot with examples',
|
||||
commandsForEveryoneSection: {
|
||||
title: "For everyone",
|
||||
title: 'For everyone',
|
||||
},
|
||||
adminCommandsSection: {
|
||||
title: "For admins",
|
||||
title: 'For admins',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import en from "./translations.en";
|
||||
import pl from "./translations.pl";
|
||||
import en from './translations.en';
|
||||
import pl from './translations.pl';
|
||||
|
||||
export default {
|
||||
en,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
export default {
|
||||
title: "Komendy",
|
||||
title: 'Komendy',
|
||||
description:
|
||||
"Lista komend oferowanych przez TWHelp Discord Bot z przykładami",
|
||||
'Lista komend oferowanych przez TWHelp Discord Bot z przykładami',
|
||||
commandsForEveryoneSection: {
|
||||
title: "Dla wszystkich",
|
||||
title: 'Dla wszystkich',
|
||||
},
|
||||
adminCommandsSection: {
|
||||
title: "Dla adminów",
|
||||
title: 'Dla adminów',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import React from "react";
|
||||
import { graphql, useStaticQuery } from "gatsby";
|
||||
import routes from "@config/routes";
|
||||
import translations from "./translations";
|
||||
import React from 'react';
|
||||
import { graphql, useStaticQuery } from 'gatsby';
|
||||
import routes from '@config/routes';
|
||||
import translations from './translations';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import Image from "gatsby-image";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import Image from 'gatsby-image';
|
||||
import {
|
||||
Container,
|
||||
Typography,
|
||||
|
@ -12,24 +12,24 @@ import {
|
|||
Divider,
|
||||
ButtonGroup,
|
||||
Grid,
|
||||
} from "@material-ui/core";
|
||||
import { Link } from "gatsby-theme-material-ui";
|
||||
import Layout from "@components/Layout/Layout";
|
||||
import SEO from "@components/SEO";
|
||||
} from '@material-ui/core';
|
||||
import { Link } from 'gatsby-theme-material-ui';
|
||||
import Layout from '@components/Layout/Layout';
|
||||
import SEO from '@components/SEO';
|
||||
|
||||
const useStyles = makeStyles(theme => ({
|
||||
divider: {
|
||||
margin: theme.spacing(2, 0),
|
||||
backgroundColor: "#fff",
|
||||
backgroundColor: '#fff',
|
||||
},
|
||||
container: {
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
},
|
||||
image: {
|
||||
margin: "auto",
|
||||
borderRadius: "6px",
|
||||
maxWidth: "593px",
|
||||
margin: 'auto',
|
||||
borderRadius: '6px',
|
||||
maxWidth: '593px',
|
||||
},
|
||||
}));
|
||||
|
||||
|
@ -43,7 +43,9 @@ const IndexPage = ({ location, pageContext }) => {
|
|||
botInviteUrl
|
||||
}
|
||||
}
|
||||
screenshots: allFile(filter: { absolutePath: { regex: "/screenshots/" } }) {
|
||||
screenshots: allFile(
|
||||
filter: { absolutePath: { regex: "/screenshots/" } }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
relativePath
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
export default {
|
||||
title: "Home",
|
||||
title: 'Home',
|
||||
description:
|
||||
"Discord bot for the online game Tribalwars. | Real-time notifications about lost/conquered village.",
|
||||
'Discord bot for the online game Tribalwars. | Real-time notifications about lost/conquered village.',
|
||||
header: {
|
||||
title: "Observe your tribe ennoblements!",
|
||||
title: 'Observe your tribe ennoblements!',
|
||||
description:
|
||||
"This bot notifies you of conquered/lost village in near real-time.",
|
||||
inviteBot: "Invite bot to your server",
|
||||
commands: "Commands",
|
||||
'This bot notifies you of conquered/lost village in near real-time.',
|
||||
inviteBot: 'Invite bot to your server',
|
||||
commands: 'Commands',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import en from "./translations.en";
|
||||
import pl from "./translations.pl";
|
||||
import en from './translations.en';
|
||||
import pl from './translations.pl';
|
||||
|
||||
export default {
|
||||
en,
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
export default {
|
||||
title: "Strona główna",
|
||||
title: 'Strona główna',
|
||||
description:
|
||||
"Bot na Discorda dla gry Plemiona. | Notyfikacje o podbiciu/stracie wioski w czasie rzeczywistym.",
|
||||
'Bot na Discorda dla gry Plemiona. | Notyfikacje o podbiciu/stracie wioski w czasie rzeczywistym.',
|
||||
header: {
|
||||
title: "Obserwuj podboje swojego plemienia!",
|
||||
title: 'Obserwuj podboje swojego plemienia!',
|
||||
description:
|
||||
"Ten bot powiadamia Ciebie o podbitej/straconej wiosce w czasie rzeczywistym.",
|
||||
inviteBot: "Zaproś bota na swój serwer",
|
||||
commands: "Komendy",
|
||||
'Ten bot powiadamia Ciebie o podbitej/straconej wiosce w czasie rzeczywistym.',
|
||||
inviteBot: 'Zaproś bota na swój serwer',
|
||||
commands: 'Komendy',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import { createMuiTheme, responsiveFontSizes } from "@material-ui/core/styles";
|
||||
import { createMuiTheme, responsiveFontSizes } from '@material-ui/core/styles';
|
||||
|
||||
const theme = createMuiTheme({
|
||||
palette: {
|
||||
type: "dark",
|
||||
type: 'dark',
|
||||
},
|
||||
overrides: {
|
||||
MuiCssBaseline: {
|
||||
"@global": {
|
||||
'@global': {
|
||||
body: {
|
||||
backgroundColor: "#000",
|
||||
backgroundColor: '#000',
|
||||
backgroundImage: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E")`,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
import React from "react";
|
||||
import React from 'react';
|
||||
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { Container, Typography } from "@material-ui/core";
|
||||
import { Link } from "gatsby-theme-material-ui";
|
||||
import Layout from "@components/Layout/Layout";
|
||||
import SEO from "@components/SEO";
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Container, Typography } from '@material-ui/core';
|
||||
import { Link } from 'gatsby-theme-material-ui';
|
||||
import Layout from '@components/Layout/Layout';
|
||||
import SEO from '@components/SEO';
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
container: {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
textAlign: "center",
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center',
|
||||
textAlign: 'center',
|
||||
},
|
||||
layout: {
|
||||
minHeight: "100vh",
|
||||
minHeight: '100vh',
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import CommandsPage from "@features/CommandsPage/CommandsPage";
|
||||
import CommandsPage from '@features/CommandsPage/CommandsPage';
|
||||
|
||||
export default CommandsPage;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import CommandsPage from "@features/CommandsPage/CommandsPage";
|
||||
import CommandsPage from '@features/CommandsPage/CommandsPage';
|
||||
|
||||
export default CommandsPage;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import IndexPage from "@features/IndexPage/IndexPage";
|
||||
import IndexPage from '@features/IndexPage/IndexPage';
|
||||
|
||||
export default IndexPage;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import IndexPage from "@features/IndexPage/IndexPage";
|
||||
import IndexPage from '@features/IndexPage/IndexPage';
|
||||
|
||||
export default IndexPage;
|
||||
|
|
Reference in New Issue