delete LICENSE, update package.json and 404 page

This commit is contained in:
Dawid Wysokiński 2020-06-28 11:51:01 +02:00
parent 66962bd6a9
commit c81872a24b
4 changed files with 34 additions and 38 deletions

22
LICENSE
View File

@ -1,22 +0,0 @@
The MIT License (MIT)
Copyright (c) 2015 gatsbyjs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,6 +1,6 @@
module.exports = {
siteMetadata: {
title: `Tribal Wars Bot`,
title: `TWHelp Discord Bot`,
description: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce
condimentum finibus finibus. In blandit at sapien sit amet pellentesque.
Integer a massa et nulla posuere volutpat vitae et diam. Praesent eget

View File

@ -1,9 +1,9 @@
{
"name": "gatsby-starter-default",
"name": "dcbot-website",
"private": true,
"description": "A simple starter to get up and developing quickly with Gatsby",
"description": "Tribal Wars Discord Bot website",
"version": "0.1.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"author": "Dawid Wysokiński <xyztojajestem@gmail.com>",
"dependencies": {
"@material-ui/core": "^4.10.2",
"@material-ui/styles": "^4.10.0",
@ -30,7 +30,6 @@
"keywords": [
"gatsby"
],
"license": "MIT",
"scripts": {
"build": "gatsby build",
"develop": "gatsby develop",

View File

@ -1,14 +1,33 @@
import React from "react"
import React from "react";
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 Layout from "../components/Layout/Layout";
import SEO from "../components/SEO";
const NotFoundPage = () => (
<Layout>
<SEO title="404: Not found" />
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
</Layout>
)
const useStyles = makeStyles(() => ({
container: {
display: "flex",
flexDirection: "column",
justifyContent: "center",
textAlign: "center",
},
}));
export default NotFoundPage
const NotFoundPage = () => {
const classes = useStyles();
return (
<Layout>
<SEO title="404: Not found" />
<Container className={classes.container}>
<Typography variant="h1">404</Typography>
<Typography variant="h3">
You just hit a route that doesn&#39;t exist.
</Typography>
</Container>
</Layout>
);
};
export default NotFoundPage;