Skip to content

Commit

Permalink
Revert "chore: force static on kit comm and tools"
Browse files Browse the repository at this point in the history
This reverts commit e4a5f8b.
  • Loading branch information
desoindx committed Dec 4, 2024
1 parent e4a5f8b commit 3b3d7f2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/(public)/doc/kit-communication/page.tsx
Original file line number Diff line number Diff line change
@@ -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₂.',
Expand Down
2 changes: 1 addition & 1 deletion app/(public)/outils/[tool]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
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'
Expand All @@ -10,7 +11,6 @@ import { devTools, smallTools } from 'components/cards/tools'
import Suggestion from 'components/layout/Suggestion'

const tools = [...devTools, ...smallTools]
export const dynamic = 'force-static'

export async function generateStaticParams() {
return [
Expand Down
3 changes: 1 addition & 2 deletions app/(public)/outils/comparateur/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
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<Metadata> {
Expand Down
1 change: 0 additions & 1 deletion src/components/layout/Block.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
margin: auto;
padding-top: 4rem;
position: relative;
outline: none;
}

.description {
Expand Down

0 comments on commit 3b3d7f2

Please sign in to comment.