Add 404 page and robots.txt

This commit is contained in:
schmelczerandras 2020-09-28 17:02:59 +02:00
parent 6f145aead6
commit 4728ba47e7
6 changed files with 52 additions and 2 deletions

View file

@ -1,5 +1,7 @@
import './static/no-change/favicon.ico';
import './static/no-change/og-image.jpg';
import './static/no-change/robots.txt';
import './static/no-change/404.html';
import './styles.scss';
import { create } from './portfolio';

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Not found</title>
<meta name="theme-color" content="#b7455e" />
<meta name="viewport" content="initial-scale=1.0" />
<style>
html,
body {
height: 100%;
}
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #b7455e;
}
h1 {
font-family: "Roboto", "Helvetica Neue", sans-serif;
font-weight: 100;
font-size: 3rem;
color: white;
text-align: center;
padding: 0.5rem;
}
</style>
</head>
<body>
<h1>The requested resource cannot be found.</h1>
</body>
</html>

View file

@ -0,0 +1,2 @@
User-agent: *
Allow: /