Skip to content

Commit a4e167a

Browse files
Remove email signup CTA and mark Flavortown as ended in hero (#2298)
Flavortown has ended, so the landing hero should no longer recruit signups. Replace the hero tagline with "Flavortown has ended.", remove the main email signup form (and Get Started button), and drop the active "refer teens for prizes" line. The sign-in link is kept (relabeled) so existing participants can still log in. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 19a93fd commit a4e167a

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

app/views/landing/sections/_hero.html.erb

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,12 @@
6868
<% if @landing_variant == "challenger" %>
6969
Ship a space-related project by April 30th! Submit it to this sidequest to qualify for space-themed prizes in the shop.
7070
<% else %>
71-
Code personal projects. Win free prizes.
71+
Flavortown has ended.
7272
<% end %>
7373
</h3>
7474

7575
<div class="rsvp-form">
76-
<%= form_with url: submit_email_path, method: :post, local: true do |form| %>
77-
<div class="input-red">
78-
<div>
79-
<%= inline_svg_tag "icons/mail.svg" %>
80-
<%= form.email_field :email, placeholder: "Enter your email...", autocomplete: "off", required: true %>
81-
</div>
82-
</div>
83-
84-
<%= form.button type: "submit", class: "btn btn--red btn--striped" do %>
85-
<div>Get Started</div>
86-
<% end %>
87-
<% end %>
88-
<%= button_to "or, sign back in", "/auth/hack_club", method: :post, form_class: "sign-back-in-link", class: "link-btn" %>
76+
<%= button_to "Sign in", "/auth/hack_club", method: :post, form_class: "sign-back-in-link", class: "link-btn" %>
8977
<% if Rails.env.development? && current_user.blank? %>
9078
<%= button_to "dev login",
9179
"/dev_login",
@@ -100,8 +88,6 @@
10088
<% else %>
10189
<h4>Ages 13-18. <u>Dec 22</u> to <u>April 30</u>.</h4>
10290
<% end %>
103-
<h5>19 or older? Get the same prizes by <a href="https://docs.google.com/document/d/e/2PACX-1vRxWWFVm0pr4042oYljyPAdwb5pH7sdRiwfPw4i01PVs436MfiAFJnKtGoyWwRkXIlB6PlIaVyTQbvO/pub" target="_blank">referring teens</a>.</h5>
104-
10591
<%= image_tag image_url("icons/chevrons-red-down.svg"), class: "carat", size: 48, alt: "" %>
10692
</div>
10793

0 commit comments

Comments
 (0)