From d0a76b8fa6d55a1b3237896c10ce14ad75b633e2 Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Thu, 17 Oct 2024 09:50:17 +0200 Subject: [PATCH] feat(customerCases): add title links to customer cases on landing page --- src/components/customerCases/CustomerCases.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/customerCases/CustomerCases.tsx b/src/components/customerCases/CustomerCases.tsx index 9049e4748..c1dd27bf7 100644 --- a/src/components/customerCases/CustomerCases.tsx +++ b/src/components/customerCases/CustomerCases.tsx @@ -1,3 +1,5 @@ +import Link from "next/link"; + import LinkButton from "src/components/linkButton/LinkButton"; import Text from "src/components/text/Text"; import { sharedCustomerCasesLink } from "src/components/utils/linkTypes"; @@ -30,7 +32,9 @@ const CustomerCases = async ({ customerCasesPage }: CustomerCasesProps) => { {sharedCustomerCases && sharedCustomerCases.data.length > 0 ? ( sharedCustomerCases.data.map((customerCase) => (
- {customerCase.basicTitle} + + {customerCase.basicTitle} + {customerCase.description && ( {customerCase.description} )}