From 4da554f9c0f29bf5062436551f42238f43b09b19 Mon Sep 17 00:00:00 2001 From: ScriptSmith Date: Fri, 16 Aug 2024 16:15:13 +1000 Subject: [PATCH] Don't wrap description with link --- src/components/tool/guide/Guide.js | 40 ++++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/components/tool/guide/Guide.js b/src/components/tool/guide/Guide.js index b9e9684b..547162bd 100644 --- a/src/components/tool/guide/Guide.js +++ b/src/components/tool/guide/Guide.js @@ -11,30 +11,32 @@ import { createContext, useContext } from "react"; export function GuideHeader({ title, subtitle, logo, alt, link }) { return ( - - {alt} - - {title} - + <> + + {alt} + + {title} + + {subtitle && ( {subtitle} )} - + ); }