2022-09-02 17:19:53 +03:00
|
|
|
<section class="gh-dashboard-section gh-dashboard-explore-feed" {{did-insert this.load}}>
|
|
|
|
<article class="gh-dashboard-box">
|
2022-09-06 16:59:33 +03:00
|
|
|
<div class="gh-dashboard-resource-title">
|
2022-09-15 18:25:46 +03:00
|
|
|
<h4>Featured publications
|
|
|
|
{{#if this.meta.category_url}}
|
2022-09-16 08:35:52 +03:00
|
|
|
in <a class="gh-dasboard-explore-title-link" href={{this.meta.category_url}} target="_blank" rel="noopener noreferrer">{{this.meta.category}}</a>
|
2022-09-15 18:25:46 +03:00
|
|
|
{{/if}}
|
|
|
|
</h4>
|
2022-09-02 17:19:53 +03:00
|
|
|
<div>
|
2022-09-06 16:59:33 +03:00
|
|
|
<a href="https://ghost.org/explore/" target="_blank" rel="noopener noreferrer">Browse all</a>
|
2022-09-07 15:06:51 +03:00
|
|
|
<LinkTo @route="explore" class="gh-dashboard-explore-add">Add your site to Explore</LinkTo>
|
2022-09-02 17:19:53 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-resource-body">
|
|
|
|
<div class="gh-dashboard-columns">
|
|
|
|
{{#if (not (or this.loading this.error))}}
|
|
|
|
{{#each this.sites as |entry|}}
|
|
|
|
<a class="gh-dashboard-column gh-dashboard-explore-card" href={{entry.url}} target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="gh-dashboard-explore-header">
|
|
|
|
<div class="gh-dashboard-explore-icon">
|
|
|
|
<img src={{entry.icon}} alt={{entry.title}} />
|
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-explore-title gap-2">
|
|
|
|
<h5 class="truncate">{{entry.title}}</h5>
|
|
|
|
</div>
|
|
|
|
<p>{{entry.description}}</p>
|
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-explore-footer text-xs md:text-sm mt-5 gap-3 font-medium">
|
|
|
|
<p class="truncate">{{entry.pretty_url}}</p>
|
|
|
|
{{#if entry.mrr}}
|
|
|
|
<div class="gh-dashboard-explore-mrr">{{entry.mrr}}</div>
|
|
|
|
{{else if entry.members}}
|
|
|
|
<div class="gh-dashboard-explore-members">{{entry.members}}</div>
|
|
|
|
{{else}}
|
2022-09-07 15:06:51 +03:00
|
|
|
<div class="gh-dashboard-explore-visit">Visit →</div>
|
2022-09-02 17:19:53 +03:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{{else}}
|
|
|
|
<div class="gh-dashboard-list-empty">
|
|
|
|
<p>No sites yet.</p>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</section>
|