mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added TheBrowser card to Dashboard
This commit is contained in:
parent
f6fe6127ca
commit
0c1be1c132
@ -169,22 +169,39 @@
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost {
|
||||
flex-direction: row;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 32px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost h2 {
|
||||
font-size: 2.4rem;
|
||||
line-height: 1.2em;
|
||||
.gh-dashboard-box.blogpost .content {
|
||||
padding: 32px 28px 32px 32px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost p {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost img {
|
||||
max-width: 200px;
|
||||
margin-right: 32px;
|
||||
.gh-dashboard-box.blogpost .thumbnail {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.thebrowser .thumbnail {
|
||||
background-position: top right;
|
||||
}
|
||||
|
||||
.gh-dashboard-box .content a {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.gh-dashboard-box .content a:hover {
|
||||
color: var(--green-d2);
|
||||
}
|
||||
|
||||
/* Charts */
|
||||
@ -757,14 +774,17 @@
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
grid-template-columns: unset;
|
||||
grid-template-rows: auto auto;
|
||||
grid-gap: 24px;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost img {
|
||||
max-width: 100%;
|
||||
margin-right: 0;
|
||||
margin-bottom: 20px;
|
||||
.gh-dashboard-box.blogpost .thumbnail {
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.gh-dashboard-box.blogpost .content {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -158,12 +158,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-dashboard-container">
|
||||
<div class="gh-dashboard-box blogpost">
|
||||
<img src="assets/img/dashboard-feature-image.jpeg">
|
||||
<div class="gh-dashboard-box blogpost thebrowser">
|
||||
<div class="thumbnail" style="background-image: url(assets/img/dashboard/the-browser.png);"></div>
|
||||
<div class="content">
|
||||
<h2>Should you launch a newsletter referral program?</h2>
|
||||
<p>Plus some actionable ideas to create a sustainable growth machine for your newsletter business!</p>
|
||||
<a href="https://ghost.org/blog/newsletter-referral-programs/" target="_blank" rel="noopener noreferrer">Read article</a>
|
||||
<h2>Discover writing worth reading.</h2>
|
||||
<p>Looking for inspiration to build a paid publication and newsletter with tens of thousands of subscribers?</p>
|
||||
<p><strong>The Browser</strong> is one of the most successful sites running on Ghost, giving people interesting things to ponder and fascinating ideas to discuss at dinner.</p>
|
||||
<a href="https://thebrowser.com/" target="_blank" rel="noopener noreferrer">Check it out →</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
BIN
ghost/admin/public/assets/img/dashboard/the-browser.png
Normal file
BIN
ghost/admin/public/assets/img/dashboard/the-browser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
Loading…
Reference in New Issue
Block a user