diff --git a/src/app/datasets/[id]/page.tsx b/src/app/datasets/[id]/page.tsx index 2df9c4eb..98aeec66 100644 --- a/src/app/datasets/[id]/page.tsx +++ b/src/app/datasets/[id]/page.tsx @@ -1,6 +1,7 @@ // SPDX-FileCopyrightText: 2024 PNED G.I.E. // // SPDX-License-Identifier: Apache-2.0 + import Error from "@/app/error"; import Chips from "@/components/Chips"; import PageContainer from "@/components/PageContainer"; @@ -18,31 +19,35 @@ export default async function Page({ params }: { params: { id: string } }) { const dataset = await datasetGet(id); return ( - -
-
- - {dataset.title} - - + +
+
+
+ + {dataset.title} + + +
+

{dataset.description}

+ {dataset.themes?.length > 0 && ( + Themes + )} + x.label) || []} /> + {dataset.keywords?.length > 0 && ( + Keywords + )} + keyword.label) || []} + /> + {dataset.distributions.length > 0 && ( + Distributions + )} +
-

{dataset.description}

- {dataset.themes?.length > 0 && ( - Themes - )} - x.label) || []} /> - {dataset.keywords?.length > 0 && ( - Keywords - )} - keyword.label) || []} - /> - {dataset.distributions.length > 0 && ( - Distributions - )} - +
-
); } catch (error) {