aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/mentions-legales.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-06 19:27:45 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-06 19:30:06 +0100
commit722ec20bad64d8c69b173c163011d37ad0b55591 (patch)
tree0470e54f758d9383fff3fdb4c9b685faa3bde6ae /src/pages/mentions-legales.tsx
parent1494985a636fe22417615648062f17bc82c35655 (diff)
chore: move Main grid to its children
This way I can use full width background for some blocks.
Diffstat (limited to 'src/pages/mentions-legales.tsx')
-rw-r--r--src/pages/mentions-legales.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pages/mentions-legales.tsx b/src/pages/mentions-legales.tsx
index d8dfe49..ea98e20 100644
--- a/src/pages/mentions-legales.tsx
+++ b/src/pages/mentions-legales.tsx
@@ -11,6 +11,7 @@ import LegalNoticeContent, {
} from '@content/pages/legal-notice.mdx';
import PostHeader from '@components/PostHeader/PostHeader';
import { ArticleMeta } from '@ts/types/articles';
+import styles from '@styles/pages/Page.module.scss';
const LegalNotice: NextPageWithLayout = () => {
const dates = {
@@ -28,12 +29,14 @@ const LegalNotice: NextPageWithLayout = () => {
<title>{seo.legalNotice.title}</title>
<meta name="description" content={seo.legalNotice.description} />
</Head>
- <article>
+ <article
+ className={`${styles.article} ${styles['article--no-comments']}`}
+ >
<PostHeader intro={intro} meta={pageMeta} title={meta.title} />
- <aside>
+ <aside className={styles.toc}>
<ToC />
</aside>
- <div>
+ <div className={styles.body}>
<LegalNoticeContent />
</div>
</article>