2024-10-24 22:37:06 +00:00
|
|
|
<div
|
|
|
|
class="cover{{#if @site.cover_image}} image-loading{{/if}}{{#match @custom.publication_cover_style "Half screen"}} half{{/match}} gh-outer"
|
|
|
|
style="overflow: visible"
|
|
|
|
>
|
2024-10-24 23:14:35 +00:00
|
|
|
<div id="rose-ash-scripts"></div>
|
2024-02-12 12:39:05 +00:00
|
|
|
{{#if @site.cover_image}}
|
|
|
|
<img class="cover-image u-object-fit" src="{{@site.cover_image}}" alt="{{@site.title}}">
|
|
|
|
{{/if}}
|
|
|
|
|
2024-10-24 22:26:17 +00:00
|
|
|
<div
|
|
|
|
class="cover-content"
|
|
|
|
style="z-index:11"
|
|
|
|
>
|
2024-02-12 12:39:05 +00:00
|
|
|
{{#if @site.description}}
|
|
|
|
<div class="cover-description">
|
|
|
|
{{#unless @member}}
|
|
|
|
{{#if @custom.email_signup_text}}
|
|
|
|
{{@custom.email_signup_text}}
|
|
|
|
{{else}}
|
|
|
|
{{@site.description}}
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
{{@site.description}}
|
|
|
|
{{/unless}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if @site.members_enabled}}
|
|
|
|
{{#unless @site.members_invite_only}}
|
|
|
|
{{#unless @member}}
|
|
|
|
<form class="form-wrapper cover-form" data-members-form>
|
|
|
|
<input class="auth-email" type="email" data-members-email placeholder="Your email address" required="true" autocomplete="false">
|
|
|
|
<button class="form-button" type="submit" aria-label="Submit">
|
|
|
|
<span class="default">Subscribe</span>
|
|
|
|
<span class="loader">{{> "icons/loader"}}</span>
|
|
|
|
<span class="success">Email sent</span>
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
{{/unless}}
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
2024-10-24 18:47:49 +00:00
|
|
|
<div
|
2024-10-24 22:08:16 +00:00
|
|
|
style="z-index:11;"
|
2024-10-24 18:47:49 +00:00
|
|
|
hx-get="anything/shop/cycle/"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-trigger="load, every 15s"
|
|
|
|
hx-headers='{"rose-ash-shop-layout-disable": "yes"}'
|
|
|
|
>
|
2024-10-24 22:08:16 +00:00
|
|
|
</div>
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<button class="button-icon cover-arrow">
|
|
|
|
{{> "icons/caret-down"}}
|
|
|
|
</button>
|
|
|
|
</div>
|