Skip to content

Commit

Permalink
Merge pull request #159 from ChtiJS/refacto/404
Browse files Browse the repository at this point in the history
refactor(404):change styles on 404
  • Loading branch information
nfroidure authored Dec 12, 2023
2 parents 49dea22 + 5f452a2 commit acd65ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 10 additions & 0 deletions src/pages/404.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.img {
height: 19rem;
width: 6rem;
border-radius: 15px;
}

.p {
text-align: center;
line-height: 100px;
}
16 changes: 3 additions & 13 deletions src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,17 @@ import Layout from '../layouts/main';
import ContentBlock from '../components/contentBlock';
import Heading1 from '../components/h1';
import Paragraph from '../components/p';
import styles from './404.module.scss';

const Page = () => (
<Layout title="Page non-trouvée">
<ContentBlock>
<Heading1>Ooops!</Heading1>
<p>
<img src={'/images/404.png'} alt={`404.png`} />
<p className={styles.p} >
<img className={styles.img} src={'/images/404.png'} alt={`404.png`} />
<Paragraph>La page que vous recherchez n’existe pas ou plus.</Paragraph>
</p>
</ContentBlock>
<style jsx>{`
img {
height: 19rem;
width: 6rem;
border-radius: 15px;
}
p {
text-align: center;
line-height: 100px;
}
`}</style>
</Layout>
);

Expand Down

0 comments on commit acd65ff

Please sign in to comment.