mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 15:07:33 +02:00
create error 404 pages
This commit is contained in:
@@ -53,5 +53,5 @@
|
||||
"testProviders": [
|
||||
"@japa/preset-adonis/TestsProvider"
|
||||
],
|
||||
"lastCompiledAt": "2023-11-25T22:31:57.991Z"
|
||||
"lastCompiledAt": "2023-11-26T20:24:05.841Z"
|
||||
}
|
||||
|
||||
@@ -1 +1,23 @@
|
||||
<p> It's a 404 </p>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,900" rel="stylesheet">
|
||||
<title>404 HTML Tempate by Colorlib</title>
|
||||
@entryPointStyles('errors/not-found.css')
|
||||
</head>
|
||||
<body>
|
||||
<div id="notfound">
|
||||
<div class="notfound">
|
||||
<div class="notfound-404">
|
||||
<h1>404</h1>
|
||||
</div>
|
||||
<h2>We are sorry, Page not found!</h2>
|
||||
<p>The page you are looking for might have been removed had its name changed or is temporarily unavailable.</p>
|
||||
<a href="#">Back To Homepage</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -34,8 +34,8 @@
|
||||
<button class="depli-nav" id="depli-nav">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 30 24">
|
||||
<rect width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="10" width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="20" width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="10" width="20" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="20" width="25" height="4" rx="2" ry="2" fill="#000" />
|
||||
</svg>
|
||||
</button>
|
||||
<img src="/logo.png" alt="">
|
||||
|
||||
-11874
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,107 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#notfound {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
#notfound .notfound {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.notfound {
|
||||
max-width: 920px;
|
||||
width: 100%;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 {
|
||||
position: absolute;
|
||||
height: 100px;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
-ms-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 h1 {
|
||||
font-family: 'Maven Pro', sans-serif;
|
||||
color: #ececec;
|
||||
font-weight: 900;
|
||||
font-size: 276px;
|
||||
margin: 0px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.notfound h2 {
|
||||
font-family: 'Maven Pro', sans-serif;
|
||||
font-size: 46px;
|
||||
color: #000;
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.notfound p {
|
||||
font-family: 'Maven Pro', sans-serif;
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.notfound a {
|
||||
font-family: 'Maven Pro', sans-serif;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
background: #189cf0;
|
||||
display: inline-block;
|
||||
padding: 16px 38px;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 40px;
|
||||
color: #fff;
|
||||
font-weight: 400;
|
||||
-webkit-transition: 0.2s all;
|
||||
transition: 0.2s all;
|
||||
}
|
||||
|
||||
.notfound a:hover {
|
||||
background-color: #fff;
|
||||
border-color: #189cf0;
|
||||
color: #189cf0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.notfound .notfound-404 h1 {
|
||||
font-size: 162px;
|
||||
}
|
||||
.notfound h2 {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1,23 @@
|
||||
<p> It's a 404 </p>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,900" rel="stylesheet">
|
||||
<title>404 HTML Tempate by Colorlib</title>
|
||||
@entryPointStyles('errors/not-found.css')
|
||||
</head>
|
||||
<body>
|
||||
<div id="notfound">
|
||||
<div class="notfound">
|
||||
<div class="notfound-404">
|
||||
<h1>404</h1>
|
||||
</div>
|
||||
<h2>We are sorry, Page not found!</h2>
|
||||
<p>The page you are looking for might have been removed had its name changed or is temporarily unavailable.</p>
|
||||
<a href="#">Back To Homepage</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -34,8 +34,8 @@
|
||||
<button class="depli-nav" id="depli-nav">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 30 24">
|
||||
<rect width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="10" width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="20" width="30" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="10" width="20" height="4" rx="2" ry="2" fill="#000" />
|
||||
<rect y="20" width="25" height="4" rx="2" ry="2" fill="#000" />
|
||||
</svg>
|
||||
</button>
|
||||
<img src="/logo.png" alt="">
|
||||
|
||||
Reference in New Issue
Block a user