Skip to content

Commit

Permalink
Merge pull request #711 from google/feature/587-remove-developer-beta
Browse files Browse the repository at this point in the history
Remove developer beta
  • Loading branch information
felixarntz authored Oct 29, 2019
2 parents c28fa93 + 919e06c commit 58658e9
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 94 deletions.
11 changes: 4 additions & 7 deletions assets/js/components/logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
import SvgIcon from 'GoogleUtil/svg-icon';
const { __ } = wp.i18n;

const Logo = ( props ) => {
const { beta = true } = props;

const Logo = () => {
return (
<div className="googlesitekit-logo" aria-hidden="true">
<SvgIcon
Expand All @@ -34,13 +32,12 @@ const Logo = ( props ) => {
width="32"
/>
<SvgIcon
id={ beta ? 'logo-sitekit-beta' : 'logo-sitekit' }
id="logo-sitekit"
className={ `
googlesitekit-logo__logo-sitekit
${ beta ? 'googlesitekit-logo__logo-sitekit--beta' : '' }
` }
height={ beta ? '28' : '26' }
width={ beta ? '206' : '99' }
height="26"
width="99"
/>
<span className="screen-reader-text">
{ __( 'Site Kit by Google Logo', 'google-site-kit' ) }
Expand Down
23 changes: 0 additions & 23 deletions assets/sass/components/global/_googlesitekit-logo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,6 @@
}
}

.googlesitekit-logo__logo-sitekit--beta,
.googlesitekit-svg-logo-sitekit-beta {
fill: currentColor;
height: 18px;
margin-left: $grid-gap-phone / 2;
margin-top: 2px;
vertical-align: middle;
width: 132px;

@media (min-width: $bp-tablet) {
height: 28px;
margin-left: $grid-gap-phone;
width: 206px;
}
}

&--mini {

.googlesitekit-logo__logo-g,
Expand All @@ -77,12 +61,5 @@
margin-left: $grid-gap-phone / 4;
width: 78px;
}

.googlesitekit-logo__logo-sitekit--beta,
.googlesitekit-svg-logo-sitekit-beta {
height: 17px;
margin-left: $grid-gap-phone / 2;
width: 102px;
}
}
}
15 changes: 0 additions & 15 deletions assets/svg/logo-g-beta.svg

This file was deleted.

Loading

0 comments on commit 58658e9

Please sign in to comment.