Footer signup

This commit is contained in:
Sodbileg Gansukh
2023-07-10 14:27:31 +08:00
parent 413e08cfb1
commit c5a1fce9d9
6 changed files with 50 additions and 19 deletions

View File

@@ -1,21 +1,31 @@
<footer class="gh-footer gh-outer">
<div class="gh-footer-inner gh-inner">
<span class="gh-footer-logo">
{{#if @site.logo}}
<img src="{{@site.logo}}" alt="{{@site.title}}">
{{else}}
{{@site.title}}
{{/if}}
</span>
<nav class="gh-footer-menu">
{{navigation type="secondary"}}
</nav>
<div class="gh-footer-copyright">
Powered by <a href="https://ghost.org/" target="_blank" rel="noopener">Ghost</a>
<div class="gh-footer-bar">
<span class="gh-footer-logo">
{{#if @site.logo}}
<img src="{{@site.logo}}" alt="{{@site.title}}">
{{else}}
{{@site.title}}
{{/if}}
</span>
<nav class="gh-footer-menu">
{{navigation type="secondary"}}
</nav>
<div class="gh-footer-copyright">
Powered by <a href="https://ghost.org/" target="_blank" rel="noopener">Ghost</a>
</div>
</div>
<section class="gh-footer-signup">
{{#if @custom.footer_signup_header}}
<h2 class="gh-footer-signup-header">{{@custom.footer_signup_header}}</h2>
{{/if}}
{{#if @custom.footer_signup_subhead}}
<p class="gh-footer-signup-subhead">{{@custom.footer_signup_subhead}}</p>
{{/if}}
<button class="gh-button">Subscribe</button>
</section>
</div>
</footer>

View File

@@ -22,7 +22,7 @@
{{/if}}
{{#if @site.members_enabled}}
{{#unless @member}}
<button>Subscribe</button>
<button class="gh-button">Subscribe</button>
{{/unless}}
{{/if}}
</section>