diff --git a/package.json b/package.json index 5a857207..084b4256 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sofarsounds/maestro", - "version": "7.4.18", + "version": "7.4.19", "description": "The official sofar sounds react uikit library", "main": "dist/index.js", "scripts": { diff --git a/src/molecules/Footer/LogoWithSlogan.tsx b/src/molecules/Footer/LogoWithSlogan.tsx index ccf4c6ff..30f087ad 100644 --- a/src/molecules/Footer/LogoWithSlogan.tsx +++ b/src/molecules/Footer/LogoWithSlogan.tsx @@ -27,21 +27,29 @@ const Slogan = styled.div` export interface LogoWithSloganProps { href?: any; + logoWidthPx?: string; } -const LogoWithSlogan: React.SFC = ({ href }) => ( - - - {href ? ( - - - - ) : ( - - )} - Intimate gigs all around the world - - -); +const LogoWithSlogan: React.FC = ({ + href, + logoWidthPx +}) => { + const logoWidth = logoWidthPx ? logoWidthPx : '104px'; + + return ( + + + {href ? ( + + + + ) : ( + + )} + Intimate gigs all around the world + + + ); +}; export default LogoWithSlogan;