From 4b22cca8e5449f70f79d3197359c3613373753d5 Mon Sep 17 00:00:00 2001 From: Vincent Sagniez Date: Wed, 18 Dec 2024 14:32:39 +0100 Subject: [PATCH 1/4] Modif diverses blog --- src/app/blog/[slug]/components/AsideContent.tsx | 6 +----- src/app/blog/[slug]/page.tsx | 5 +---- src/layouts/Footer.tsx | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/app/blog/[slug]/components/AsideContent.tsx b/src/app/blog/[slug]/components/AsideContent.tsx index ea9773e96..cd79d4e1f 100644 --- a/src/app/blog/[slug]/components/AsideContent.tsx +++ b/src/app/blog/[slug]/components/AsideContent.tsx @@ -31,11 +31,7 @@ async function AsideContent() {
  • LinkedIn
  • X.com
  • Mastodon
  • -
  • Newsletter
  • - -
    -
    A voir egalement
    - +
  • Newsletter
  • Page Facebook du programme BAL
  • diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx index 3fabc326f..cf3ada150 100644 --- a/src/app/blog/[slug]/page.tsx +++ b/src/app/blog/[slug]/page.tsx @@ -4,7 +4,6 @@ import Tag from '@codegouvfr/react-dsfr/Tag' import Breadcrumb from '@/layouts/Breadcrumb' import Section from '@/components/Section' import HtmlViewer from '@/components/HtmlViewer' -import SharingBlock from '@/components/SharingBlock' import ResponsiveImage from '@/components/ResponsiveImage' import { getSinglePost } from '@/lib/blog' @@ -77,9 +76,7 @@ export default async function BlogPost({ params }: { params: { slug: string } })

    {excerpt}

    - - - + {featureImage && ( diff --git a/src/layouts/Footer.tsx b/src/layouts/Footer.tsx index 4b4711b22..95d8d3a4e 100644 --- a/src/layouts/Footer.tsx +++ b/src/layouts/Footer.tsx @@ -76,7 +76,7 @@ export default function Footer() { }, desc: ( <> - Recevez toutes les informations de la Base Adresse Nationale ! +
    Recevez toutes les informations de la Base Adresse Nationale !

    Découvrez nos dernières newsletters From cc5695a8e902f78c1b2bf06c7189b7246172d449 Mon Sep 17 00:00:00 2001 From: Vincent Sagniez Date: Wed, 18 Dec 2024 14:39:43 +0100 Subject: [PATCH 2/4] Error lint --- src/app/blog/[slug]/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx index cf3ada150..26fb5204b 100644 --- a/src/app/blog/[slug]/page.tsx +++ b/src/app/blog/[slug]/page.tsx @@ -76,7 +76,6 @@ export default async function BlogPost({ params }: { params: { slug: string } })

    {excerpt}

    - {featureImage && ( From d86f3b6f334406cc87d7a62bc3654109a2d487fe Mon Sep 17 00:00:00 2001 From: Vincent Sagniez Date: Wed, 18 Dec 2024 15:54:09 +0100 Subject: [PATCH 3/4] Suppression chapeau article --- src/app/blog/[slug]/page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx index 26fb5204b..5183a974d 100644 --- a/src/app/blog/[slug]/page.tsx +++ b/src/app/blog/[slug]/page.tsx @@ -22,7 +22,6 @@ export default async function BlogPost({ params }: { params: { slug: string } }) const blogPost = await getSinglePost(params.slug) || {} const { - excerpt, html: contentHtml, title, tags, @@ -73,9 +72,6 @@ export default async function BlogPost({ params }: { params: { slug: string } }) {readingTime &&
    Lecture {readingTime} minutes
    } -

    - {excerpt} -

    {featureImage && ( From 32596a1e924501b95ab79477d63f44444c8ac0d0 Mon Sep 17 00:00:00 2001 From: Vincent Sagniez Date: Thu, 19 Dec 2024 08:37:50 +0100 Subject: [PATCH 4/4] Modif texte facebook --- src/app/blog/[slug]/components/AsideContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/blog/[slug]/components/AsideContent.tsx b/src/app/blog/[slug]/components/AsideContent.tsx index cd79d4e1f..f9b3b36ae 100644 --- a/src/app/blog/[slug]/components/AsideContent.tsx +++ b/src/app/blog/[slug]/components/AsideContent.tsx @@ -32,7 +32,7 @@ async function AsideContent() {
  • X.com
  • Mastodon
  • Newsletter
  • -
  • Page Facebook du programme BAL
  • +
  • Facebook
  • )