mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-07-25 14:19:52 +00:00
@ -17,14 +17,14 @@ export default class Error extends Component<Props, {}> {
|
||||
return (
|
||||
<main>
|
||||
<Head>
|
||||
<title>Pouet :D</title>
|
||||
<title key="title">{statusCode ? statusCode : '404'} Error - Markblog</title>
|
||||
</Head>
|
||||
<div className="errorContainer">
|
||||
<div>
|
||||
<h1>{statusCode ? statusCode : '404'}</h1>
|
||||
<h2>{statusCode ? codesTexts[statusCode] : codesTexts[404]}</h2>
|
||||
</div>
|
||||
<style jsx>{`
|
||||
.errorContainer {
|
||||
div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -32,10 +32,6 @@ export default class Error extends Component<Props, {}> {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.separator {
|
||||
border: 1px solid black
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 250px;
|
||||
margin: 10px;
|
||||
|
Reference in New Issue
Block a user