diff --git a/report/www/pages/category/[category].tsx b/report/www/pages/category/[category].tsx index d2216fb6..44614d01 100644 --- a/report/www/pages/category/[category].tsx +++ b/report/www/pages/category/[category].tsx @@ -3,15 +3,24 @@ import Head from "next/head"; import uniq from "lodash.uniq"; import { Dashboard } from "../../src/components/Dashboard"; -import report from '@/report.json'; -import dashlordConfig from '@/config.json'; +import report from "@/report.json"; +import dashlordConfig from "@/config.json"; -const Tag = ({ report, tag }: { report: DashLordReport; tag: string }) => { +const Category = ({ + report, + category, +}: { + report: DashLordReport; + category: string; +}) => { return ( <> - Catégorie {tag} - {dashlordConfig.title} + + Catégorie {category} - {dashlordConfig.title} + +

Tableau de bord : {category}

); @@ -34,4 +43,4 @@ export const getStaticPaths: GetStaticPaths = async () => ({ fallback: false, }); -export default Tag; +export default Category; diff --git a/report/www/pages/index.tsx b/report/www/pages/index.tsx index 71ee9a97..b288f46e 100644 --- a/report/www/pages/index.tsx +++ b/report/www/pages/index.tsx @@ -11,6 +11,7 @@ const Home: NextPage = () => { {dashlordConfig.title} +

Tableau de bord

); diff --git a/report/www/pages/startup/[...id].tsx b/report/www/pages/startup/[...id].tsx index cabae426..014765a9 100644 --- a/report/www/pages/startup/[...id].tsx +++ b/report/www/pages/startup/[...id].tsx @@ -23,6 +23,7 @@ const PageStartup = ({ report, id }: { report: UrlReport[]; id: string }) => { {id} - {dashlordConfig.title} +

Tableau de bord : {id}

); diff --git a/report/www/pages/tag/[tag].tsx b/report/www/pages/tag/[tag].tsx index ef3cc1e1..1d2bd927 100644 --- a/report/www/pages/tag/[tag].tsx +++ b/report/www/pages/tag/[tag].tsx @@ -14,6 +14,7 @@ const Tag = ({ report, tag }: { report: DashLordReport; tag: string }) => { Tag {tag} - {dashlordConfig.title} +

Tableau de bord : {tag}

);