diff --git a/app/(public)/doc/kit-communication/page.tsx b/app/(public)/doc/kit-communication/page.tsx index bffb6c6e5..cf6871225 100644 --- a/app/(public)/doc/kit-communication/page.tsx +++ b/app/(public)/doc/kit-communication/page.tsx @@ -1,8 +1,8 @@ import { Metadata } from 'next' -import React from 'react' import KitCommunication from 'components/kit/KitCommunication' import Suggestion from 'components/layout/Suggestion' +export const dynamic = 'force-static' export const metadata: Metadata = { title: 'Kit de communication | Impact CO₂', description: 'Tout ce qu’il faut pour communiquer sur Impact CO₂.', diff --git a/app/(public)/outils/[tool]/page.tsx b/app/(public)/outils/[tool]/page.tsx index 2c66a6575..ce2f090b9 100644 --- a/app/(public)/outils/[tool]/page.tsx +++ b/app/(public)/outils/[tool]/page.tsx @@ -1,6 +1,5 @@ import { Metadata, ResolvingMetadata } from 'next' import { notFound } from 'next/navigation' -import React from 'react' import { categories } from 'data/categories' import Category from 'components/outils/CategoryPage' import Outil from 'components/outils/Outil' diff --git a/app/(public)/outils/comparateur/page.tsx b/app/(public)/outils/comparateur/page.tsx index 64440bd58..05df0b179 100644 --- a/app/(public)/outils/comparateur/page.tsx +++ b/app/(public)/outils/comparateur/page.tsx @@ -1,9 +1,10 @@ import { Metadata } from 'next' -import React from 'react' import ComparateurPage from 'components/outils/comparateur/ComparateurPage' import { metaDescriptions, metaTitles } from 'utils/meta' import Suggestion from 'components/layout/Suggestion' +export const dynamic = 'force-static' + export async function generateMetadata(props: { searchParams: Promise<{ [key: string]: string | string[] | undefined }> }): Promise { diff --git a/src/components/layout/Block.module.css b/src/components/layout/Block.module.css index e7344e024..7f32cce29 100644 --- a/src/components/layout/Block.module.css +++ b/src/components/layout/Block.module.css @@ -2,6 +2,7 @@ margin: auto; padding-top: 4rem; position: relative; + outline: none; } .description {