From 4237b9290d7d1cfc06795cae6c2c6bf6408591a7 Mon Sep 17 00:00:00 2001 From: Eric Tuvesson Date: Mon, 20 May 2024 22:38:57 +0200 Subject: [PATCH] fix: Logo TSX (#21) --- .../src/components/common/Logo/Logo.tsx | 189 ++++++++++++------ 1 file changed, 133 insertions(+), 56 deletions(-) diff --git a/packages/noodl-core-ui/src/components/common/Logo/Logo.tsx b/packages/noodl-core-ui/src/components/common/Logo/Logo.tsx index e2d0966..6bc07ef 100644 --- a/packages/noodl-core-ui/src/components/common/Logo/Logo.tsx +++ b/packages/noodl-core-ui/src/components/common/Logo/Logo.tsx @@ -1,6 +1,8 @@ -import { UnsafeStyleProps } from '@noodl-core-ui/types/global'; import classNames from 'classnames'; import React from 'react'; + +import { UnsafeStyleProps } from '@noodl-core-ui/types/global'; + import css from './Logo.module.scss'; export enum LogoVariant { @@ -43,12 +45,7 @@ export function Logo({ return (
@@ -60,42 +57,92 @@ export function Logo({ const DefaultIcon = React.memo(function () { return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); }); @@ -103,17 +150,37 @@ const DefaultIcon = React.memo(function () { const InvertedIcon = React.memo(function () { return ( - - - - - - - - - - - + + + + + + + + + + + ); }); @@ -121,8 +188,18 @@ const InvertedIcon = React.memo(function () { const GrayscaleIcon = React.memo(function () { return ( - - + + ); });