From 0c1cdb15806212875e8715eec8cb09563d58b243 Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Tue, 27 Nov 2018 17:17:31 +0100 Subject: [PATCH] use background image for logo --- src/components/Logo.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/Logo.js b/src/components/Logo.js index 5083c2d..30ee04e 100644 --- a/src/components/Logo.js +++ b/src/components/Logo.js @@ -8,11 +8,12 @@ const styles = { top: '0px', right: '15%', width: '19%', + backgroundImage: `url("${doodleSignImageURL}")`, + maxWidth: '290px', + height: '140px', + backgroundSize: '100%', + backgroundRepeat: 'no-repeat', pointerEvents: 'none', // enable clicking through logo - '& img': { - width: '100%', - maxWidth: '290px' - } }, '@media (max-width: 555px)': { container: { @@ -22,8 +23,6 @@ const styles = { }; const Logo = ({ classes }) => ( -
- -
+
); export default injectSheet(styles)(Logo);