Skip to content

Commit

Permalink
Remove footer subscription form
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyubimov committed Oct 24, 2024
1 parent fded1fb commit e89cd47
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ iframe.instagram-media+script+ :not([id]) {

.read-more-wrap {
width: 100%;
padding: 4vmin;
padding: 10vmin 4vmin;
margin: 40px auto -40px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: var(--color-darkgrey);
Expand Down
17 changes: 0 additions & 17 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,6 @@ into the {body} tag of the default.hbs template --}}
</article>
</main>

{{!-- A signup call to action is displayed here, unless viewed as a logged-in member --}}
{{#match @custom.email_signup_for_logged_out_visitors "!=" "None"}}
{{#unless @member}}{{#if access}}
<section class="footer-cta {{#match @custom.email_signup_for_logged_out_visitors "Bottom of post"}}cta-alt{{/match}}">
<div class="inner">
{{#if @custom.email_signup_text}}<h2>{{@custom.email_signup_text}}</h2>{{/if}}
<a class="footer-cta-button" href="#/portal" data-portal>
<div class="footer-cta-input">Enter your email</div>
<span>Subscribe</span>
</a>
{{!-- ^ This looks like a form element, but it's just a link to Portal,
making the form validation and submission much simpler. --}}
</div>
</section>
{{/if}}{{/unless}}
{{/match}}


{{!-- Read more links, just above the footer --}}
{{#if @custom.show_recent_posts}}
Expand Down

0 comments on commit e89cd47

Please sign in to comment.