Skip to content

Commit

Permalink
add ResetButton to setup screen
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Oct 31, 2019
1 parent 34aee47 commit 434b9ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/components/setup/setup-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
import Header from 'GoogleComponents/header';
import Button from 'GoogleComponents/button';
import ResetButton from 'GoogleComponents/reset-button';
import Layout from 'GoogleComponents/layout/layout';
import Optin from 'GoogleComponents/optin';
import { sendAnalyticsTrackingEvent } from 'GoogleUtil';
Expand Down Expand Up @@ -118,13 +119,15 @@ class SetupUsingProxy extends Component {
</Fragment>
) }
<Button
className="googlesitekit-start-setup"
href={ proxySetupURL }
onClick={ () => {
sendAnalyticsTrackingEvent( 'plugin_setup', 'proxy_start_setup_landing_page' );
} }
>
{ __( 'Start setup', 'google-site-kit' ) }
</Button>
<ResetButton />
<Optin />
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions assets/sass/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
@import "components/dashboard/wizard/googlesitekit-wizard-progress";
@import "components/dashboard/wizard/googlesitekit-wizard-progress-step";
@import "components/dashboard/wizard/googlesitekit-wizard-step";
@import "components/dashboard/wizard/googlesitekit-wizard-setup";

// Setup
@import "components/setup/googlesitekit-setup";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.googlesitekit-wizard {

.googlesitekit-start-setup {
margin-right: 16px;
}
}

0 comments on commit 434b9ad

Please sign in to comment.