aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/recherche
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-14 12:14:35 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-14 12:20:29 +0100
commit7c7a0a3c243b94b9344e18a37f686c600ec7b962 (patch)
treec7826fb9cf967c82ff16bc038fd4cb66ccbcd7a8 /src/pages/recherche
parentc1ce65e75f6cf5514e7eee9541ff8a8eacc04822 (diff)
chore: change posts list styles
Diffstat (limited to 'src/pages/recherche')
-rw-r--r--src/pages/recherche/index.tsx12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx
index ece76eb..c8a7b9b 100644
--- a/src/pages/recherche/index.tsx
+++ b/src/pages/recherche/index.tsx
@@ -13,7 +13,9 @@ import Head from 'next/head';
import { useRouter } from 'next/router';
import { useEffect, useState } from 'react';
import useSWRInfinite from 'swr/infinite';
-import styles from '@styles/pages/Listing.module.scss';
+import Sidebar from '@components/Sidebar/Sidebar';
+import { ThematicsList, TopicsList } from '@components/Widget';
+import styles from '@styles/pages/Page.module.scss';
const Search: NextPageWithLayout = () => {
const [query, setQuery] = useState('');
@@ -73,7 +75,9 @@ const Search: NextPageWithLayout = () => {
<title>{head.title}</title>
<meta name="description" content={head.description} />
</Head>
- <article className={styles.wrapper}>
+ <article
+ className={`${styles.article} ${styles['article--no-comments']}`}
+ >
<PostHeader title={title} />
<div className={styles.body}>
<PostsList data={data} showYears={false} />
@@ -84,6 +88,10 @@ const Search: NextPageWithLayout = () => {
>{t`Load more?`}</Button>
)}
</div>
+ <Sidebar>
+ <ThematicsList title={t`Thematics`} />
+ <TopicsList title={t`Topics`} />
+ </Sidebar>
</article>
</>
);