diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-20 22:50:15 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-20 22:50:15 +0100 |
| commit | 66df8d753bb8f9cadfcd1e23d24d1d8727664e00 (patch) | |
| tree | 15cbc6f7db339ffea9d5be176d360bbac15dbcf1 /src/pages | |
| parent | f4ffab2585bc6aedfc696c62f71d058a0eac0274 (diff) | |
chore: add sharing widget to single project view
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/projet/[slug].tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pages/projet/[slug].tsx b/src/pages/projet/[slug].tsx index ce5dd66..e497481 100644 --- a/src/pages/projet/[slug].tsx +++ b/src/pages/projet/[slug].tsx @@ -2,7 +2,7 @@ import { getLayout } from '@components/Layouts/Layout'; import PostHeader from '@components/PostHeader/PostHeader'; import ProjectSummary from '@components/ProjectSummary/ProjectSummary'; import Sidebar from '@components/Sidebar/Sidebar'; -import { ToC } from '@components/Widgets'; +import { Sharing, ToC } from '@components/Widgets'; import { config } from '@config/website'; import styles from '@styles/pages/Page.module.scss'; import { @@ -106,6 +106,9 @@ const Project: NextPageWithLayout<ProjectProps> = ({ <ProjectSummary slug={id} title={title} cover={cover} meta={meta} /> <ProjectContent /> </div> + <Sidebar position="right"> + <Sharing title={title} excerpt={intro} /> + </Sidebar> </article> </> ); |
