Ghost/ghost/admin/app/components/dashboard/dashboard-v5.hbs
James Morris a46d01ca5f Implemented a more fleshed out resources section for new Dashboard
refs: https://github.com/TryGhost/Team/issues/1556

- working implementation of all the parts of the dashboard
- now includes the what's new section again
- has dynamic, yet basic, newsletters
2022-04-26 11:33:34 +01:00

50 lines
1.7 KiB
Handlebars

<section class="gh-dashboard5-layout" {{did-insert this.onInsert}}>
{{#if this.isLoading }}
<GhLoadingSpinner />
{{else}}
{{#if this.areMembersEnabled}}
{{#if this.hasPaidTiers}}
<Dashboard::V5::Charts::Overview />
{{/if}}
<Dashboard::V5::Charts::Anchor />
{{/if}}
{{#if this.areNewslettersEnabled}}
<Dashboard::V5::Charts::Engagement />
{{/if}}
<Dashboard::V5::Charts::Recents />
{{!-- <div class="gh-dashboard5-split"> --}}
{{!-- <Dashboard::V5::Resources::Multi /> --}}
{{!-- <Dashboard::V5::Resources::Community /> --}}
{{!-- </div> --}}
{{!-- <Dashboard::V5::Resources::Triple /> --}}
{{!-- <div class="gh-dashboard5-split"> --}}
{{!-- <Dashboard::V5::Resources::Community /> --}}
{{!-- <Dashboard::V5::Reso÷urces::WhatsNew /> --}}
{{!-- </div> --}}
{{!-- <Dashboard::V5::Resources::WhatsNew /> --}}
{{!-- <Dashboard::V5::Resources::StaffPicks /> --}}
{{!-- <Dashboard::V5::Resources::Newsletter /> --}}
{{/if}}
</section>
<section class="gh-dashboard5-breakout">
<div class="gh-dashboard5-inner">
<div class="gh-dashboard5-split">
<Dashboard::V5::Resources::Resources />
<Dashboard::V5::Resources::WhatsNew />
</div>
<div class="gh-dashboard5-split">
<Dashboard::V5::Resources::Newsletter />
<Dashboard::V5::Resources::StaffPicks />
</div>
<Dashboard::V5::Resources::Community />
</div>
</section>
<Dashboard::V5::Prototype::ControlPanel />