Skip to content

Commit

Permalink
Updated 404 page (#571)
Browse files Browse the repository at this point in the history
Co-authored-by: Zinovii Dmytriv <[email protected]>
  • Loading branch information
zdmytriv and Zinovii Dmytriv authored Mar 22, 2023
1 parent a0e4520 commit 4ed0a12
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/theme/NotFound.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import React from 'react';
import Translate, {translate} from '@docusaurus/Translate';
import {PageMetadata} from '@docusaurus/theme-common';
import Layout from '@theme/Layout';
export default function NotFound() {
return (
<>
<PageMetadata
title={translate({
id: 'theme.NotFound.title',
message: 'Page Not Found',
})}
/>
<Layout>
<main className="container margin-vert--xl">
<div className="row">
<div className="col col--6 col--offset-3">
<h1 className="hero__title">
<Translate
id="theme.NotFound.title"
description="The title of the 404 page">
Page Not Found
</Translate>
</h1>
<p>
<Translate
id="theme.NotFound.p1"
description="The first paragraph of the 404 page">
We could not find what you were looking for.
</Translate>
</p>
</div>
</div>
</main>
</Layout>
</>
);
}

0 comments on commit 4ed0a12

Please sign in to comment.