Removed the Resources Banner from the Dashboard for improved onboarding

refs: https://github.com/TryGhost/Team/issues/1376
This commit is contained in:
James Morris 2022-03-08 18:37:17 +00:00
parent 3ae3e8142a
commit 2eba17fb9c

View File

@ -7,37 +7,6 @@
<div class="view-container gh-dashboard"> <div class="view-container gh-dashboard">
{{#if (and this.session.user.isAdmin (not (feature "dashboardHideGettingStarted")) (feature "improvedOnboarding"))}}
<section class="gh-dashboard-area lw-banner" {{css-transition "gh-dashboard-area"}} data-test-dashboard-getting-started>
<div class="gh-lw-banner" style="background-image:url(assets/img/launch-wizard-bg.png);">
<h1>Not sure where to start? We got you.</h1>
<p>
Dive into our tutorials and guides for people who are new to Ghost and setting
up a brand new publication. Find out how to customize your site, publish your
first post, send email newsletters and setup vour memberships.
</p>
<a class="gh-btn gh-btn-green" href="https://ghost.org/resources/building/" target="_blank" rel="noopener noreferrer"><span>View resources</span></a>
<div class="gh-dashboard-dismiss">
<GhDropdownButton
@dropdownName="getting-started-dismiss"
@classNames="gh-btn gh-btn-icon icon-only gh-dashboard-dismissbutton dark"
>
<span>
{{svg-jar "dotdotdot"}}
</span>
</GhDropdownButton>
<GhDropdown
@name="getting-started-dismiss"
@classNames="gh-dashboard-dismiss-dropdown dropdown-menu dropdown-triangle-top-right"
>
<button class="gh-btn" type="button" {{on "click" (toggle-feature "dashboardHideGettingStarted")}}><span>Dismiss</span></button>
</GhDropdown>
</div>
</div>
</section>
{{/if}}
{{#if (and this.session.user.isOwnerOnly (not this.settings.editorIsLaunchComplete) (not (feature "improvedOnboarding")))}} {{#if (and this.session.user.isOwnerOnly (not this.settings.editorIsLaunchComplete) (not (feature "improvedOnboarding")))}}
<section class="gh-dashboard-area lw-banner"> <section class="gh-dashboard-area lw-banner">
<div class="gh-lw-banner" style="background-image:url(assets/img/launch-wizard-bg.png);"> <div class="gh-lw-banner" style="background-image:url(assets/img/launch-wizard-bg.png);">
@ -61,7 +30,6 @@
<Dashboard::MembersGraphs /> <Dashboard::MembersGraphs />
{{/if}} {{/if}}
<section class="gh-dashboard-area mixed"> <section class="gh-dashboard-area mixed">
{{#unless this.settings.editorIsLaunchComplete}} {{#unless this.settings.editorIsLaunchComplete}}
<div class="gh-dashboard-container start-contents"> <div class="gh-dashboard-container start-contents">