-
diff --git a/ghost/admin/app/components/dashboard/v5/charts/recents.hbs b/ghost/admin/app/components/dashboard/v5/charts/recents.hbs
new file mode 100644
index 0000000000..7fe8f674ca
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/charts/recents.hbs
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+ {{#if this.postsTabSelected}}
+
+
+
+ {{#each this.posts as |post|}}
+
+
+
+ {{post.title}}
+
+
+
+ {{!-- DEMO {{format-number 3294}} --}}
+ {{format-number post.email.emailCount}}
+
+
+
+ {{!-- DEMO 75% --}}
+ {{!-- DEMO --}}
+ {{post.email.openRate}}%
+
+
+
+
+ {{else}}
+
+
No published posts yet.
+
+ {{/each}}
+
+
+
+ {{else}}
+
+
+
+ {{#let (members-event-fetcher filter=(members-event-filter excludeEmailEvents=true) pageSize=5) as |eventsFetcher|}}
+ {{#if eventsFetcher.isError}}
+
+
There was an error loading events
+ {{#if eventsFetcher.errorMessage}}
+
{{eventsFetcher.errorMessage}}
+ {{/if}}
+
+ {{/if}}
+
+ {{#if eventsFetcher.isLoading}}
+
+ {{else}}
+ {{#if eventsFetcher.data}}
+ {{#each eventsFetcher.data as |event|}}
+ {{#let (parse-member-event event) as |parsedEvent|}}
+
+
+
+
+ {{parsedEvent.subject}}
+
+
+
+ {{!-- ICON {{svg-jar parsedEvent.icon}} --}}
+
+ {{parsedEvent.action}}
+ {{parsedEvent.object}}
+ {{parsedEvent.info}}
+
+
+
+ {{!-- FROM TIME {{moment-from-now parsedEvent.timestamp}} --}}
+ {{moment-format event.timestamp "D MMM YYYY HH:mm"}}
+
+
+ {{/let}}
+ {{/each}}
+ {{else}}
+
+ {{/if}}
+ {{/if}}
+ {{/let}}
+
+
+
+ {{/if}}
+
+
diff --git a/ghost/admin/app/components/dashboard/v5/charts/recents.js b/ghost/admin/app/components/dashboard/v5/charts/recents.js
new file mode 100644
index 0000000000..f8478b6886
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/charts/recents.js
@@ -0,0 +1,53 @@
+import Component from '@glimmer/component';
+import {action} from '@ember/object';
+import {inject as service} from '@ember/service';
+import {tracked} from '@glimmer/tracking';
+
+export default class Recents extends Component {
+ @service store;
+ @service feature;
+ @service session;
+ @service settings;
+
+ @tracked selected = 'posts';
+
+ @tracked posts = [];
+
+ @action
+ async loadPosts() {
+ this.posts = await this.store.query('post', {limit: 5, filter: 'status:published', order: 'published_at desc'});
+ }
+
+ @action
+ changeTabToPosts() {
+ this.selected = 'posts';
+ }
+
+ @action
+ changeTabToActivity() {
+ this.selected = 'activity';
+ }
+
+ get postsTabSelected() {
+ return (this.selected === 'posts');
+ }
+
+ get activityTabSelected() {
+ return (this.selected === 'activity');
+ }
+
+ get shouldDisplay() {
+ if (this.feature.improvedOnboarding) {
+ return true;
+ }
+
+ const isOwner = this.session.user?.isOwnerOnly;
+ const hasCompletedLaunchWizard = this.settings.get('editorIsLaunchComplete');
+
+ if (isOwner && !hasCompletedLaunchWizard) {
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/ghost/admin/app/components/dashboard/v5/resources/community.hbs b/ghost/admin/app/components/dashboard/v5/resources/community.hbs
new file mode 100644
index 0000000000..0bf1e66a99
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/resources/community.hbs
@@ -0,0 +1,15 @@
+
diff --git a/ghost/admin/app/components/dashboard/v5/resources/community.js b/ghost/admin/app/components/dashboard/v5/resources/community.js
new file mode 100644
index 0000000000..7a1ffcc181
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/resources/community.js
@@ -0,0 +1,12 @@
+import Component from '@glimmer/component';
+import {action} from '@ember/object';
+import {tracked} from '@glimmer/tracking';
+
+export default class Community extends Component {
+ @tracked loading = null;
+
+ @action
+ load() {
+ this.loading = true;
+ }
+}
diff --git a/ghost/admin/app/components/dashboard/v5/resources/help.hbs b/ghost/admin/app/components/dashboard/v5/resources/help.hbs
deleted file mode 100644
index cbdd6a710d..0000000000
--- a/ghost/admin/app/components/dashboard/v5/resources/help.hbs
+++ /dev/null
@@ -1,28 +0,0 @@
-
diff --git a/ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.hbs b/ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.hbs
deleted file mode 100644
index 0f3403726d..0000000000
--- a/ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.hbs
+++ /dev/null
@@ -1,25 +0,0 @@
-
diff --git a/ghost/admin/app/components/dashboard/v5/resources/newsletter.hbs b/ghost/admin/app/components/dashboard/v5/resources/newsletter.hbs
new file mode 100644
index 0000000000..74b53c6518
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/resources/newsletter.hbs
@@ -0,0 +1,38 @@
+
+
+
+
+ {{#if (not (or this.loading this.error))}}
+
+ {{#each this.newsletters as |entry|}}
+
+
{{entry.title}}
+
+ {{/each}}
+
+ {{/if}}
+
+ {{!-- --}}
+
+
\ No newline at end of file
diff --git a/ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.js b/ghost/admin/app/components/dashboard/v5/resources/newsletter.js
similarity index 93%
rename from ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.js
rename to ghost/admin/app/components/dashboard/v5/resources/newsletter.js
index b8101073f4..6a1b6a5547 100644
--- a/ghost/admin/app/components/dashboard/v5/resources/latest-newsletters.js
+++ b/ghost/admin/app/components/dashboard/v5/resources/newsletter.js
@@ -6,9 +6,9 @@ import {tracked} from '@glimmer/tracking';
const API_URL = 'https://resources.ghost.io/resources';
const API_KEY = 'b30afc1721f5d8d021ec3450ef';
-const NEWSLETTER_COUNT = 10;
+const NEWSLETTER_COUNT = 3;
-export default class LatestNewsletters extends Component {
+export default class Newsletter extends Component {
@tracked loading = null;
@tracked error = null;
@tracked newsletters = null;
diff --git a/ghost/admin/app/components/dashboard/v5/resources/resources.hbs b/ghost/admin/app/components/dashboard/v5/resources/resources.hbs
new file mode 100644
index 0000000000..bbd086cbd1
--- /dev/null
+++ b/ghost/admin/app/components/dashboard/v5/resources/resources.hbs
@@ -0,0 +1,20 @@
+
diff --git a/ghost/admin/app/components/dashboard/v5/resources/help.js b/ghost/admin/app/components/dashboard/v5/resources/resources.js
similarity index 78%
rename from ghost/admin/app/components/dashboard/v5/resources/help.js
rename to ghost/admin/app/components/dashboard/v5/resources/resources.js
index 923da8908a..d42e56ba5e 100644
--- a/ghost/admin/app/components/dashboard/v5/resources/help.js
+++ b/ghost/admin/app/components/dashboard/v5/resources/resources.js
@@ -2,7 +2,7 @@ import Component from '@glimmer/component';
import {action} from '@ember/object';
import {tracked} from '@glimmer/tracking';
-export default class Help extends Component {
+export default class Resources extends Component {
@tracked loading = null;
@action
diff --git a/ghost/admin/app/components/dashboard/v5/resources/staff-picks.hbs b/ghost/admin/app/components/dashboard/v5/resources/staff-picks.hbs
index 0b6c0c5143..32cb9665cd 100644
--- a/ghost/admin/app/components/dashboard/v5/resources/staff-picks.hbs
+++ b/ghost/admin/app/components/dashboard/v5/resources/staff-picks.hbs
@@ -1,25 +1,30 @@
-
- {{#if (not (or this.loading this.error))}}
-
-
Staff picks
-
-
- {{#each this.staffPicks as |entry|}}
-
- {{else}}
-
- {{svg-jar "no-data-list"}}
-
No staff picks yet.
-
- {{/each}}
-
-
- {{/if}}
-
+
+
+
+ {{#if (not (or this.loading this.error))}}
+
+
+ {{#each this.staffPicks as |entry|}}
+
+ {{else}}
+
+ {{svg-jar "no-data-list"}}
+
No staff picks yet.
+
+ {{/each}}
+
+
+ {{/if}}
+
+
+
diff --git a/ghost/admin/app/components/dashboard/v5/resources/staff-picks.js b/ghost/admin/app/components/dashboard/v5/resources/staff-picks.js
index d9ddb4c5bd..e8e8b8eeca 100644
--- a/ghost/admin/app/components/dashboard/v5/resources/staff-picks.js
+++ b/ghost/admin/app/components/dashboard/v5/resources/staff-picks.js
@@ -5,7 +5,7 @@ import {task} from 'ember-concurrency';
import {tracked} from '@glimmer/tracking';
const RSS_FEED_URL = 'https://zapier.com/engine/rss/678920/ghoststaffpicks';
-const LIMIT = 5;
+const LIMIT = 3;
export default class StaffPicks extends Component {
@tracked loading = null;
diff --git a/ghost/admin/app/components/dashboard/v5/resources/whats-new.hbs b/ghost/admin/app/components/dashboard/v5/resources/whats-new.hbs
index ea3ac12d7e..68a79b899e 100644
--- a/ghost/admin/app/components/dashboard/v5/resources/whats-new.hbs
+++ b/ghost/admin/app/components/dashboard/v5/resources/whats-new.hbs
@@ -1,24 +1,28 @@
-
- {{#if (not (or this.loading this.error))}}
-
-
- {{/if}}
-
+ {{/if}}
+
+
diff --git a/ghost/admin/app/styles/layouts/dashboard-v5.css b/ghost/admin/app/styles/layouts/dashboard-v5.css
index 4c7b8cbe88..84d472a65d 100644
--- a/ghost/admin/app/styles/layouts/dashboard-v5.css
+++ b/ghost/admin/app/styles/layouts/dashboard-v5.css
@@ -69,15 +69,16 @@ Dashboard v5 Layout */
.gh-dashboard5-layout {
display: grid;
grid-gap: 24px;
- grid-template-columns: 1fr 1fr 1fr 1fr;
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
grid-template-rows: auto auto auto auto auto;
grid-template-areas:
- "overview overview overview overview"
- "anchor anchor anchor anchor"
- "engagement engagement engagement engagement"
- "recent-posts recent-posts recent-posts recent-posts"
- "recent-activity recent-activity recent-activity recent-activity"
- "help help help help";
+ "overview overview overview overview overview overview"
+ "anchor anchor anchor anchor anchor anchor"
+ "engagement engagement engagement engagement engagement engagement"
+ "recents recents recents recents recents recents"
+ "resources resources resources resources community community";
+ /* "resources resources resources resources staff-picks staff-picks" */
+ /* "newsletter newsletter newsletter newsletter community community"; */
}
.gh-dashboard5-rows {
@@ -102,6 +103,14 @@ Dashboard v5 Layout */
display: flex;
}
+.gh-dashboard5-section-main {
+ margin-right: 16px; /* grid layout adjustments */
+}
+
+.gh-dashboard5-section-aside {
+ margin-left: -16px; /* grid layout adjustments */
+}
+
.gh-dashboard5-title {
display: flex;
flex-direction: row;
@@ -116,10 +125,25 @@ Dashboard v5 Layout */
padding: 0;
}
+.gh-dashboard5-subtitle {
+ display: flex;
+ flex-direction: row;
+ margin: 0 0 20px;
+}
+
+.gh-dashboard5-subtitle h4 {
+ font-size: 1.2rem;
+ font-weight: 600;
+ text-transform: uppercase;
+ color: var(--white);
+ margin: 0;
+ padding: 0;
+}
+
.gh-dashboard5-box {
flex: 1;
border: 1px solid var(--whitegrey);
- padding: 24px;
+ padding: 28px 24px 24px;
border-radius: 6px;
display: flex;
flex-direction: column;
@@ -131,6 +155,18 @@ Dashboard v5 Layout */
background: #fcfcfc;
}
+.gh-dashboard5-box.is-image {
+ background: transparent;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: cover;
+ /* background-image: url(img/get-started.jpg); */
+ background-image: url(img/abstract-2.jpg);
+
+ color: var(--white);
+ padding-top: 32px;
+}
+
.gh-dashboard5-columns {
flex: 1;
padding: 0;
@@ -157,6 +193,22 @@ Dashboard v5 Layout */
padding-right: 0;
}
+.gh-dashboard5-tabs {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: flex-start;
+}
+
+.gh-dashboard5-tab {
+ opacity: 0.33;
+ margin: 0 24px 0 0;
+}
+
+.gh-dashboard5-tab.is-selected {
+ opacity: 1;
+}
+
.gh-dashboard5-hero {
flex: 1;
display: flex;
@@ -298,7 +350,7 @@ Dashboard v5 Metric */
.gh-dashboard5-metric-label {
align-items: center;
font-size: 1.4rem;
- font-weight: 700;
+ font-weight: 600;
line-height: 1em;
margin: 0 0 10px;
padding: 0;
@@ -335,7 +387,7 @@ Dashboard v5 Metric */
}
.gh-dashboard5-metric.is-large .gh-dashboard5-metric-value {
- font-size: 3.2rem;
+ font-size: 3rem;
margin-bottom: 0;
}
@@ -351,6 +403,11 @@ Dashboard v5 Metric */
margin: 0 0 8px;
}
+.gh-dashboard5-metric-minivalue {
+ font-size: 1.5rem;
+ font-weight: 600;
+}
+
.gh-dashboard5-metric-extra {
text-transform: none;
font-weight: 500;
@@ -375,14 +432,14 @@ Dashboard v5 List */
.gh-dashboard5-list-header {
display: grid;
grid-template-columns: 55% 15% 30%;
- padding: 0 0 24px;
+ padding: 0 0 8px;
border-bottom: 1px solid var(--whitegrey);
}
.gh-dashboard5-list-title {
align-items: center;
font-size: 1.2rem;
- text-transform: uppercase;
+ /* text-transform: uppercase; */
font-weight: 500;
letter-spacing: .3px;
line-height: 1em;
@@ -390,6 +447,29 @@ Dashboard v5 List */
color: #7c8b9a;
white-space: nowrap;
padding: 0 24px 0 0;
+/*
+ align-items: center;
+ font-size: 1.4rem;
+ font-weight: 700;
+ line-height: 1em;
+ margin: 0 0 10px;
+ padding: 0;
+ color: #15171a;
+ white-space: nowrap;
+ letter-spacing: .2px;
+ font-size: 1.3rem;
+ font-weight: 500;
+ color: #626d79; */
+
+ /* border-bottom: 1px solid rgb(230, 233, 235); */
+ font-size: 1.1rem;
+ font-weight: 500;
+ letter-spacing: 0.1px;
+ color: var(--black);
+ /* padding: 10px 20px; */
+ padding: 0 20px 8px 0;
+ text-transform: uppercase;
+ white-space: nowrap;
}
.gh-dashboard5-list-body {
@@ -405,21 +485,12 @@ Dashboard v5 List */
display: grid;
grid-template-columns: 55% 15% 30%;
padding: 8px 0;
- border-bottom: 1px solid var(--whitegrey);
-}
-
-.gh-dashboard5-recent-activity .gh-dashboard5-list-item {
- grid-template-columns: 80% 20%;
}
.gh-dashboard5-list-item:nth-child(3) {
border-bottom: 0 none;
}
-.gh-dashboard5-list-item > span {
- padding: 0 24px 4px 0;
-}
-
.gh-dashboard5-list-item:last-child {
border-bottom: 0;
}
@@ -433,24 +504,18 @@ Dashboard v5 List */
align-items: center;
}
-.gh-dashboard5-list-item > span {
- font-size: 1.8rem;
- font-weight: 600;
- display: flex;
- justify-content: flex-start;
- align-items: center;
-}
-
.gh-dashboard5-list-item svg {
width: 26px;
height: 26px;
- margin: 0 0.75rem 0 0;
+ margin: 0 0.5rem 0 -4px;
}
-.gh-dashboard5-list-item > a > span {
- color: var(--midgrey);
- padding: 0 0 0 0.5rem;
- white-space: nowrap;
+.gh-dashboard5-list-item-sub {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: flex-start;
+ min-height: 32px;
}
.gh-dashboard5-list-footer {
@@ -458,6 +523,22 @@ Dashboard v5 List */
padding: 20px 0 0;
}
+.gh-dashboard5-list-date {
+ font-size: 1.3rem;
+ color: var(--midlightgrey);
+ text-align: right;
+ padding: 3px 0 0 0;
+ white-space: nowrap;
+}
+
+.gh-dashboard5-list-author {
+ font-size: 1.3rem;
+ color: var(--midlightgrey);
+ text-align: right;
+ padding: 3px 0 0 0;
+ white-space: nowrap;
+}
+
/* ---------------------------------
Dashboard v5 Section Overview */
@@ -471,6 +552,11 @@ Dashboard v5 Section Overview */
padding: 24px;
}
+.gh-dashboard5-overview .gh-dashboard5-box {
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+
.gh-dashboard5-overview .gh-dashboard5-area > div {
flex: 1;
border-right: 1px solid var(--whitegrey);
@@ -493,7 +579,7 @@ Dashboard v5 Section Anchor */
}
.gh-dashboard5-anchor .gh-dashboard5-box {
- padding: 28px 24px 8px;
+ padding-bottom: 8px;
}
.gh-dashboard5-anchor .gh-dashboard5-stats {
@@ -575,6 +661,20 @@ Dashboard v5 Section Anchor */
margin-top: 48px;
}
+.gh-dashboard5-anchor .gh-dashboard5-mix .gh-dashboard5-select {
+ top: -8px;
+ right: -18px;
+}
+
+.gh-dashboard5-anchor .gh-dashboard5-mix .gh-dashboard5-chart {
+ margin-top: 40px;
+}
+
+.gh-dashboard5-anchor .gh-dashboard5-mrr .gh-dashboard5-chart {
+ margin-top: 0;
+}
+
+
/* ---------------------------------
Dashboard v5 Section Engagement */
@@ -583,47 +683,11 @@ Dashboard v5 Section Engagement */
position: relative;
}
-.gh-dashboard5-engagement .gh-dashboard5-box {
- padding-top: 28px;
-}
-
.gh-dashboard5-engagement .gh-dashboard5-columns {
padding-top: 32px;
}
-/* ---------------------------------
-Dashboard v5 Section Email */
-
-.gh-dashboard5-email {
- grid-area: email;
-}
-
-.gh-dashboard5-email .gh-dashboard5-box {
- padding-top: 28px;
-}
-
-
-/* ---------------------------------
-Dashboard v5 Section Email Open Rate */
-
-.gh-dashboard5-email-open-rate {
- grid-area: email-open-rate;
-}
-
-.gh-dashboard5-email-open-rate .gh-dashboard5-box {
- padding-top: 28px;
-}
-
-.gh-dashboard5-email-open-rate .gh-dashboard5-chart {
- margin: 28px 0 0;
-}
-
-.gh-dashboard5-email-open-rate .gh-dashboard5-chart-ticks {
- padding: 0 16px 0 0;
-}
-
-
/* ---------------------------------
Dashboard v5 Section Recent Posts */
@@ -632,7 +696,6 @@ Dashboard v5 Section Recent Posts */
}
.gh-dashboard5-recent-posts .gh-dashboard5-box {
- padding: 28px 24px 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
@@ -671,6 +734,19 @@ Dashboard v5 Section Recent Posts */
padding-top: 12px;
}
+.gh-dashboard5-recent-posts .gh-dashboard5-list-item > span {
+ font-size: 1.8rem;
+ font-weight: 600;
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ padding: 0 24px 4px 0;
+}
+
+.gh-dashboard5-recent-posts .gh-dashboard5-list-header {
+ margin-top: 24px;
+}
+
/* ---------------------------------
Dashboard v5 Section Recent Activity */
@@ -680,7 +756,6 @@ Dashboard v5 Section Recent Activity */
}
.gh-dashboard5-recent-activity .gh-dashboard5-box {
- padding: 28px 24px 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
@@ -714,20 +789,267 @@ Dashboard v5 Section Recent Activity */
margin: 0 12px 0 0;
}
-.gh-dashboard5-recent-activity .gh-dashboard5-list-item > span.gh-dashboard-activity-time {
- font-size: 1.2rem;
- color: var(--midlightgrey);
- text-align: right;
- padding-right: 0;
- padding-top: 6px;
+.gh-dashboard5-recent-activity .gh-dashboard5-list-header,
+.gh-dashboard5-recent-activity .gh-dashboard5-list-item {
+ grid-template-columns: 80% 20%;
+}
+
+.gh-dashboard5-recent-activity .gh-dashboard5-list-item > a > span {
+ color: var(--midgrey);
+ padding: 0 0 0 0.5rem;
+ white-space: nowrap;
}
/* ---------------------------------
-Dashboard v5 Section Help */
+Dashboard v5 Section Recents */
-.gh-dashboard5-help {
- grid-area: help;
+.gh-dashboard5-recents {
+ grid-area: recents;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-box {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: stretch;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-title {
+ margin-bottom: 24px;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-item {
+ height: 100%;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-item a > span {
+ width: 80%;
+ overflow: hidden;
+ color: var(--darkgrey);
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-item a > span {
+ display: inline-block;
+ height: 57px;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-title:last-child,
+.gh-dashboard5-recents .gh-dashboard5-list-item .gh-dashboard5-list-item-sub:last-child {
+ margin-left: -6px; /* grid layout adjustments */
+}
+
+.gh-dashboard5-recents .gh-content-entry-title {
+ font-weight: 600;
+ font-size: 14px !important;
+ color: rgb(21, 23, 26);
+}
+
+.gh-dashboard5-recents .footer {
+ padding-top: 12px;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-item > span {
+ font-size: 1.8rem;
+ font-weight: 600;
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ padding: 0 24px 4px 0;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-header {
+ margin-top: 32px;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-loading {
+ min-height: 240px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.gh-dashboard5-recents .gh-dashboard5-list-title:last-child,
+.gh-dashboard5-recents .gh-dashboard5-list-item .gh-dashboard5-list-item-sub:last-child {
+ margin-left: -6px; /* grid layout adjustments */
+}
+
+.gh-dashboard5-recents-activity .gh-dashboard5-list-header,
+.gh-dashboard5-recents-activity .gh-dashboard5-list-item {
+ grid-template-columns: 35% 35% 30%;
+}
+
+.gh-dashboard5-recents-activity .gh-dashboard5-list-title:nth-child(2),
+.gh-dashboard5-recents-activity .gh-dashboard5-list-item .gh-dashboard5-list-item-sub:nth-child(2) {
+ margin-left: -4px; /* grid layout adjustments */
+}
+
+.gh-dashboard5-recents-activity .gh-dashboard5-list-item-sub:nth-child(2) > span {
+ text-transform: lowercase;
+ color: #626d79;
+ font-weight: 500;
+}
+
+.gh-dashboard5-recents-activity .gh-dashboard5-list-item-sub:nth-child(2) > span:first-letter {
+ text-transform: uppercase;
+}
+
+
+/* ---------------------------------
+Dashboard v5 Section What's New */
+
+.gh-dashboard5-whats-new {
+ grid-area: whats-new;
+}
+
+.gh-dashboard5-whats-new .gh-dashboard5-list-header,
+.gh-dashboard5-whats-new .gh-dashboard5-list-item {
+ grid-template-columns: 100%;
+}
+
+.gh-dashboard5-whats-new .gh-dashboard5-list-item a {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ font-size: 1.65rem;
+ font-weight: 600;
+ line-height: 1.4em;
+ margin-bottom: 8px;
+ color: var(--black);
+}
+
+.gh-dashboard5-whats-new .gh-dashboard5-list-date {
+ padding-top: 3px;
+}
+
+.gh-dashboard5-whats-new .gh-dashboard5-list-item:first-child .gh-dashboard5-list-link::after {
+ display: inline-block;
+ content: "New";
+ font-size: 1.2rem;
+ white-space: nowrap;
+ background: #30cf43;
+ text-transform: uppercase;
+ color: #fff;
+ line-height: 1;
+ border-radius: 2px;
+ margin-left: 8px;
+ margin-top: 1px;
+ padding: 3px 4px;
+}
+
+
+/* ---------------------------------
+Dashboard v5 Section Resources */
+
+.gh-dashboard5-resources {
+ grid-area: resources;
+}
+
+.gh-dashboard5-resources .gh-dashboard5-articles {
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: 1fr 1fr;
+ grid-template-rows: auto;
+ margin-top: 16px;
+}
+
+.gh-dashboard5-resources .gh-dashboard5-articles-footer {
+ margin-top: 20px;
+}
+
+.gh-dashboard5-resources .gh-members-help-card {
+ padding: 24px;
+}
+
+.gh-dashboard5-resources .gh-dashboard5-subtitle h4 {
+ color: var(--darkgrey);
+}
+
+.gh-dashboard5-resources .gh-dashboard5-box {
+ padding-top: 32px;
+}
+
+
+/* ---------------------------------
+Dashboard v5 Section Staff Picks */
+
+.gh-dashboard5-staff-picks {
+ grid-area: staff-picks;
+}
+
+.gh-dashboard5-staff-picks .gh-dashboard5-list-header,
+.gh-dashboard5-staff-picks .gh-dashboard5-list-item {
+ grid-template-columns: 100%;
+}
+
+.gh-dashboard5-staff-picks .gh-dashboard5-list-item a {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ font-size: 1.65rem;
+ font-weight: 600;
+ line-height: 1.4em;
+ margin-bottom: 8px;
+ color: var(--black);
+}
+
+
+/* ---------------------------------
+Dashboard v5 Section Latest Newsletters */
+
+.gh-dashboard5-newsletter {
+ grid-area: newsletter;
+}
+
+.gh-dashboard5-newsletter .gh-dashboard5-articles {
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: 1fr 1fr 1fr;
+ grid-template-rows: auto;
+ flex: 1;
+}
+
+.gh-dashboard5-newsletter .gh-dashboard5-article {
+ background: var(--purple);
+ border-radius: 6px;
+ padding: 24px;
+}
+
+.gh-dashboard5-newsletter .gh-dashboard5-article h5 {
+ color: var(--white);
+ font-size: 1.2rem;
+ padding: 0 32px 0 0;
+}
+
+
+/* ---------------------------------
+Dashboard v5 Section Community */
+
+.gh-dashboard5-community {
+ grid-area: community;
+}
+
+.gh-dashboard5-community .gh-dashboard5-list-body {
+ justify-content: flex-start;
+}
+
+.gh-dashboard5-community .gh-dashboard5-list-body p {
+ font-size: 3.4rem;
+ font-weight: 700;
+ line-height: 1.3em;
+ padding: 0 64px 0 0;
+}
+
+.gh-dashboard5-community .gh-dashboard5-list-footer {
+ border-color: transparent;
+}
+
+.gh-dashboard5-community .gh-dashboard5-list-footer a {
+ color: var(--white);
+ font-weight: 800;
}
@@ -742,39 +1064,41 @@ Dashboard v5 Misc */
border-bottom: 0;
}
-
-
-.gh-dashboard5-anchor .gh-dashboard5-mix .gh-dashboard5-select {
- top: -11px;
- right: -18px;
+.gh-dashboard5-list-footer a,
+.gh-dashboard5-articles-footer a {
+ font-weight: 600;
}
-.gh-dashboard5-anchor .gh-dashboard5-mix .gh-dashboard5-chart {
- margin-top: 40px;
+.gh-dashboard5-rate-bar {
+ flex: 1;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: flex-start;
}
-.gh-dashboard5-anchor .gh-dashboard5-mrr .gh-dashboard5-chart {
- margin-top: 0;
-}
-
-/* remove me */
-.prototype-bar {
- height: 5px;
+.gh-dashboard5-rate-amount {
+ height: 6px;
border-radius: 2.5px;
background: var(--whitegrey);
overflow: hidden;
position: relative;
display: block;
flex-grow: 1;
+ margin-left: 20px;
}
-.prototype-bar + span {
+.gh-dashboard5-rate-amount + span {
flex-shrink: 0;
padding-left: 15px;
}
-.prototype-bar > span {
- background: var(--purple);
+.gh-dashboard5-rate-amount > span {
+ /* background: var(--purple); */
+
+ background: rgb(213,184,255);
+ background: linear-gradient(90deg, rgba(213,184,255,1) 0%, rgba(142,66,255,1) 100%);
+
border-top-right-radius: 2.5px;
border-bottom-right-radius: 2.5px;
position: absolute;
diff --git a/ghost/admin/public/assets/img/abstract-2.jpg b/ghost/admin/public/assets/img/abstract-2.jpg
new file mode 100644
index 0000000000..cddebfa27c
Binary files /dev/null and b/ghost/admin/public/assets/img/abstract-2.jpg differ
diff --git a/ghost/admin/public/assets/img/abstract.jpg b/ghost/admin/public/assets/img/abstract.jpg
new file mode 100644
index 0000000000..bb290e3c24
Binary files /dev/null and b/ghost/admin/public/assets/img/abstract.jpg differ
diff --git a/ghost/admin/public/assets/img/community.jpg b/ghost/admin/public/assets/img/community.jpg
new file mode 100644
index 0000000000..2ed9f7285e
Binary files /dev/null and b/ghost/admin/public/assets/img/community.jpg differ