<%= image_tag "logo-color.png", class: "w-16 mb-6" %>
<% if Current.family.trialing? %>
<%= t("subscriptions.upgrade.trialing", count: Current.family.days_left_in_trial, days: Current.family.days_left_in_trial) %>
<% else %>
<%= t("subscriptions.upgrade.trial_over") %>
<% end %>
<%= t("subscriptions.upgrade.header.support") %>
<%= t("subscriptions.upgrade.header.sure") %>
<%= t("subscriptions.upgrade.header.today") %>
<%= t("subscriptions.upgrade.cta") %>
<%= form_with url: new_subscription_path, method: :get, class: "max-w-xs", data: { turbo: false } do |form| %>
<%= render "subscriptions/plan_choice", form: form, plan: "annual", checked: @plan == "annual" %>
<%= render "subscriptions/plan_choice", form: form, plan: "monthly", checked: @plan == "monthly" %>
<%= render DS::Button.new(
text: t("subscriptions.upgrade.contribute_and_support_sure"),
variant: "primary",
full_width: true
) %>
<%= t("subscriptions.upgrade.redirect_to_stripe") %>
<% end %>
<%= render "layouts/shared/footer" %>