From 458ab834537ea0d11d613546b57ebb5d702e2f08 Mon Sep 17 00:00:00 2001 From: Bas Doppen Date: Fri, 28 Jun 2024 08:39:35 +0200 Subject: [PATCH 1/3] page header more compact --- .../src/app/[locale]/objects/[id]/gallery.tsx | 2 +- .../src/app/[locale]/objects/[id]/page.tsx | 34 +++++++++---------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/apps/researcher/src/app/[locale]/objects/[id]/gallery.tsx b/apps/researcher/src/app/[locale]/objects/[id]/gallery.tsx index 931a256d3..b3c2754f3 100644 --- a/apps/researcher/src/app/[locale]/objects/[id]/gallery.tsx +++ b/apps/researcher/src/app/[locale]/objects/[id]/gallery.tsx @@ -84,7 +84,7 @@ export default function Gallery({images, organizationName}: Props) { {images.length > 1 && ( - + {images.map(image => ( -
+
@@ -108,21 +108,19 @@ export default async function Details({params}: Props) {
))}
-
- -
- {organization && ( - <> -
{t('providerCurrentHolder')}
-
{organization.name}
-
- {organization.address?.addressLocality} -
- - {t('providerInfo')} - - - )} +
+ {organization && ( + <> + Data provider or current object holder:{' '} + + + {organization.name} + + + , {organization.address?.addressLocality} + + )} +
@@ -217,9 +215,9 @@ export default async function Details({params}: Props) { -