From 71205098bd08ffcfe2c3528d13e3c20fab81e826 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 12 Apr 2024 17:04:11 +0300 Subject: [PATCH] feat(nimbus-logo): final style and navigation --- src/components/General/NimbusText.tsx | 6 ++++++ src/components/Logos/NimbusLogo.tsx | 11 ++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/General/NimbusText.tsx b/src/components/General/NimbusText.tsx index d11e62c2..33237881 100644 --- a/src/components/General/NimbusText.tsx +++ b/src/components/General/NimbusText.tsx @@ -1,4 +1,8 @@ +import { useNavigate } from 'react-router-dom' + const NimbusText = () => { + const navigate = useNavigate() + return ( { viewBox="0 0 80 17" fill="none" xmlns="http://www.w3.org/2000/svg" + style={{ cursor: 'pointer', marginLeft: '1px' }} + onClick={() => navigate('/')} > { - - - - {!subtitle && } - - + + + {!subtitle && } + {subtitle}