From f7ce6f0a07aac62df2b4d02623a9807e82c3bafd Mon Sep 17 00:00:00 2001 From: Maximus <ten.maksim97@gmail.com> Date: Sat, 20 Aug 2022 10:34:08 +0300 Subject: [PATCH] delete unnecessary logotype --- src/components/Logotype.tsx | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/components/Logotype.tsx diff --git a/src/components/Logotype.tsx b/src/components/Logotype.tsx deleted file mode 100644 index a699268..0000000 --- a/src/components/Logotype.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react'; -import {ReactComponent as SVGLogotype} from 'assets/svg/logotype.svg'; -import { Link } from 'react-router-dom'; - -type Props = { - name?: string; -} - -/** - * Horizontal variant of logotype component - * @param {string} name Name of service to attach to logotype - * @return {React.ReactNode} - */ -export default function Logotype({name}: Props): JSX.Element { - return ( - <div className="inline-flex flex-row flex-nowrap items-center"> - <div className="flex-none"> - <Link to="/"> - <SVGLogotype className="w-8 h-8 mr-2" /> - </Link> - </div> - <div className="flex-initial text-2xl font-bold"> - {name ?? ''} {process.env.REACT_APP_CMS_APP_NAME?.toLowerCase()} - </div> - </div> - ); -}