From aba81cbdd68579203ab797abe8eb9e9e0220cdeb Mon Sep 17 00:00:00 2001 From: David Glymph Date: Fri, 9 Aug 2024 11:54:44 -0400 Subject: [PATCH] make logo switch to YOBOKOP when DEPLOYMENT=YOBOKOP env var --- src/components/Logo.jsx | 290 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 269 insertions(+), 21 deletions(-) diff --git a/src/components/Logo.jsx b/src/components/Logo.jsx index b7c81977..f68f1e04 100644 --- a/src/components/Logo.jsx +++ b/src/components/Logo.jsx @@ -1,48 +1,139 @@ import React from 'react'; -const Logo = (props) => ( - +const RobokopLogo = (props) => ( + - - - - - - + + + + + + - - - - - - + + + + + + - + - + - + - + - + - + @@ -51,4 +142,161 @@ const Logo = (props) => ( ); -export default Logo; +const YobokopLogo = (props) => ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); + +export default process.env.DEPLOYMENT === 'YOBOKOP' ? YobokopLogo : RobokopLogo;