Frontend: error page

This commit is contained in:
DarkCat09
2023-08-21 17:02:52 +04:00
parent 15772da2e8
commit f39f3d9225
5 changed files with 93 additions and 66 deletions

21
templates/error.ejs Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex, nofollow">
<title>txt. <%= title %></title>
<link rel="stylesheet" href="/static/common.css">
<link rel="stylesheet" href="/static/index.css">
</head>
<body>
<main>
<header>
<h1>txt<span class="dot-err">.</span></h1>
<p><%= description %></p>
</header>
<a href="/" class="button secondary">Home</a>
</main>
</body>
</html>

View File

@ -9,11 +9,12 @@
<title>txt. main page</title>
<link rel="stylesheet" href="/static/common.css">
<link rel="stylesheet" href="/static/index.css">
<link rel="stylesheet" href="/static/form.css">
</head>
<body>
<main>
<header>
<h1>txt<span>.</span></h1>
<h1>txt<span class="dot">.</span></h1>
<p><%= desc %></p>
</header>
<form action="/get" method="get" class="input-grid">