Skip to content

Commit 003f67e

Browse files
DrewProebstelDrew Proebstel
andauthored
Fyst 2266 update fyst pya homepage fileyourstatetaxes org after sunset (#6102)
* wip * wip * update home page and state landing page * add spanish date to warning * return accidentally deleted i18n * wip with stacked buttons * wip * remove uneeded changes to state pages * don't touch external link * center button text * correctly name flipper tag * hide about pages * update copy cand link * fix links * copy update --------- Co-authored-by: Drew Proebstel <[email protected]>
1 parent fa13a9c commit 003f67e

File tree

4 files changed

+108
-45
lines changed

4 files changed

+108
-45
lines changed

app/assets/stylesheets/application.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ body {
248248
@include sr-only;
249249
}
250250

251-
a[href^='http']:not([href*=request_domain i]) {
251+
a[href^='http']:not([href*=request_domain i]):not(.no-external) {
252252
@include external-link;
253253
}
254254

@@ -357,4 +357,13 @@ ol.with-bullets {
357357
}
358358
}
359359

360+
.button__icon {
361+
width: 1.6rem;
362+
height: 1.6rem;
363+
display: inline-block;
364+
margin-right: 0.6rem;
365+
vertical-align: middle;
366+
}
367+
368+
360369

app/views/state_file/state_file_pages/about_page.html.erb

Lines changed: 84 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,99 @@
11
<% title = t(".header") %>
22

3-
<div class="fyst-home-container">
4-
<div class="fyst-home-content">
5-
<h1 class="h1 strong"><%= title %></h1>
6-
7-
<% if app_time.before?(Rails.configuration.state_file_end_of_new_intakes) %>
8-
<div class="warning">
9-
<%= t("state_file.landing_page.edit.closing_soon_html") %>
10-
</div>
3+
<% if Flipper.enabled?(:fyst_sunset_pya_live) %>
4+
<div class="warning">
5+
<%= t(".closed_warning", tax_year: current_tax_year) %>
6+
</div>
7+
<h1 class="h1 strong"><%= title %></h1>
8+
<div class="spacing-below-25">
9+
<%= t(".closed_forever_subheader_html", faq_link: state_faq_path(us_state: 'us')) %>
10+
</div>
1111

12-
<div class="spacing-above-25">
13-
<p><%= t(".subheader_1_html", login_path: login_options_path) %></p>
14-
<p>
15-
<%= t(".subheader_2_html", login_path: login_options_path, faqs_path: state_faq_path(us_state: :us)) %>
16-
</p>
17-
<p><%= t(".subheader_3_html", login_path: login_options_path) %></p>
18-
</div>
12+
<%= link_to "https://pya.fileyourstatetaxes.org/#{I18n.locale}/year_select", class: "button button--primary button--icon button--wide spacing-below-15 no-external", id: "firstCta", role: "button", style: "display: flex; justify-content: center; align-items: center; text-align: center;" do %>
13+
<%= t(".download_your_return") %>
14+
<% end %>
1915

20-
<% if Flipper.enabled?(:get_your_pdf) %>
21-
<div data-testid="get-your-pdf-sign-in" class="spacing-below-25">
22-
<%= t(".looking_for_return_html", link: state_file_archived_intakes_edit_email_address_path )%>
16+
<div class="spacing-below-25">
17+
<%= link_to "https://www.getyourrefund.org/#{I18n.locale}", class: "button button--icon button--wide no-external", id: "firstCta", role: "button", style: "display: flex; justify-content: center; align-items: center; text-align: center;" do %>
18+
<%= image_tag("icons/uswds-launch.svg", alt: "", class: "button__icon") %>
19+
<%= t(".visit_gyr") %>
20+
<% end %>
21+
</div>
22+
<% else %>
23+
<div class="fyst-home-container">
24+
<div class="fyst-home-content">
25+
<% if Flipper.enabled?(:fyst_sunset_pya_live) %>
26+
<div class="warning">
27+
<%= t(".closed_warning", tax_year: current_tax_year) %>
2328
</div>
24-
<% else %>
29+
<% end %>
30+
<h1 class="h1 strong"><%= title %></h1>
31+
<% if Flipper.enabled?(:fyst_sunset_pya_live) %>
2532
<div class="spacing-below-25">
26-
<p class="text--bold"><%= t(".check_back_for_prior_year_returns") %></p>
27-
<%= link_to t(".faq_prior_year_returns"), state_faq_section_path(us_state: :az, section_key: "how_can_i_access_my_2023_state_tax_return") %>
33+
<%= t(".closed_forever_subheader_html", faq_link: state_faq_path(us_state: 'us')) %>
2834
</div>
29-
<% end %>
30-
31-
<div class="reveal">
32-
<button class="reveal__button"><%= t('.helper_heading_html') %></button>
33-
<div class="reveal__content">
34-
<%= t(".section1_html", faq_link: state_faq_path(us_state: 'us')) %>
35+
<div class="spacing-below-25">
36+
<%= link_to "https://pya.fileyourstatetaxes.org/#{I18n.locale}", class: "button button--primary button--icon button--full-width spacing-below-15", role: "button", id: "firstCta" do %>
37+
<%= t(".download_your_return") %>
38+
<% end %>
3539
</div>
36-
</div>
37-
<% else %>
38-
<div>
39-
<% if app_time.after?(Rails.configuration.state_file_end_of_in_progress_intakes) %>
40-
<%= t(".end_of_in_progress_intakes_subheader_html", sign_in_url: StateFile::StateFilePagesController.to_path_helper(action: :login_options)) %>
41-
<% else %>
42-
<%= t(".closed_subheader_html", sign_in_url: StateFile::StateFilePagesController.to_path_helper(action: :login_options)) %>
40+
41+
<%= link_to "https://getyourrefund.org/#{I18n.locale}", class: "button button--primary button--icon button--full-width", role: "button", id: "firstCta" do %>
42+
<%= t(".visit_gyr") %>
4343
<% end %>
44-
<p>
45-
<%= t(".looking_for_return_html", link: state_file_archived_intakes_edit_email_address_path )%>
46-
</p>
47-
<%= link_to questions_return_status_path(locale: I18n.locale), class: "button button--primary button--wide", role: "button", id: "firstCta" do %>
48-
<%= t(".download_return_button") %>
44+
<% else %>
45+
<% if app_time.before?(Rails.configuration.state_file_end_of_new_intakes) %>
46+
<div class="warning">
47+
<%= t("state_file.landing_page.edit.closing_soon_html") %>
48+
</div>
49+
50+
<div class="spacing-above-25">
51+
<p><%= t(".subheader_1_html", login_path: login_options_path) %></p>
52+
<p>
53+
<%= t(".subheader_2_html", login_path: login_options_path, faqs_path: state_faq_path(us_state: :us)) %>
54+
</p>
55+
<p><%= t(".subheader_3_html", login_path: login_options_path) %></p>
56+
</div>
57+
58+
<% if Flipper.enabled?(:get_your_pdf) %>
59+
<div data-testid="get-your-pdf-sign-in" class="spacing-below-25">
60+
<%= t(".looking_for_return_html", link: state_file_archived_intakes_edit_email_address_path )%>
61+
</div>
62+
<% else %>
63+
<div class="spacing-below-25">
64+
<p class="text--bold"><%= t(".check_back_for_prior_year_returns") %></p>
65+
<%= link_to t(".faq_prior_year_returns"), state_faq_section_path(us_state: :az, section_key: "how_can_i_access_my_2023_state_tax_return") %>
66+
</div>
67+
<% end %>
68+
69+
<div class="reveal">
70+
<button class="reveal__button"><%= t('.helper_heading_html') %></button>
71+
<div class="reveal__content">
72+
<%= t(".section1_html", faq_link: state_faq_path(us_state: 'us')) %>
73+
</div>
74+
</div>
75+
<% else %>
76+
<div>
77+
<% if app_time.after?(Rails.configuration.state_file_end_of_in_progress_intakes) %>
78+
<%= t(".end_of_in_progress_intakes_subheader_html", sign_in_url: StateFile::StateFilePagesController.to_path_helper(action: :login_options)) %>
79+
<% else %>
80+
<%= t(".closed_subheader_html", sign_in_url: StateFile::StateFilePagesController.to_path_helper(action: :login_options)) %>
81+
<% end %>
82+
<p>
83+
<%= t(".looking_for_return_html", link: state_file_archived_intakes_edit_email_address_path )%>
84+
</p>
85+
<%= link_to questions_return_status_path(locale: I18n.locale), class: "button button--primary button--wide", role: "button", id: "firstCta" do %>
86+
<%= t(".download_return_button") %>
87+
<% end %>
88+
</div>
4989
<% end %>
50-
</div>
51-
<% end %>
90+
<% end %>
91+
</div>
92+
<%= image_tag 'questions/welcome.svg', class: 'fyst-home-image', alt: '' %>
5293
</div>
53-
<%= image_tag 'questions/welcome.svg', class: 'fyst-home-image', alt: '' %>
54-
</div>
94+
<% end %>
5595

56-
<% unless acts_like_production? %>
96+
<% unless acts_like_production? || Flipper.enabled?(:fyst_sunset_pya_live)%>
5797
<section>
5898
<% StateFile::StateInformationService.active_state_codes.each do |state_code| %>
5999
<%= link_to "Start Test #{state_code.upcase}",

config/locales/en.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4718,11 +4718,17 @@ en:
47184718
state_file_pages:
47194719
about_page:
47204720
check_back_for_prior_year_returns: Check back at the start of filing season to download your 2023 Arizona or New York State tax return.
4721+
closed_forever_subheader_html: |
4722+
<strong>FileYourStateTaxes</strong> integrated with IRS Direct File to help you complete your state tax return for free, and is now closed.<br/><br/>
4723+
If you filed with us in 2025 or 2024, you can download a copy of your state return. For more information on accessing your federal and state refunds, <a href=%{faq_link}>visit our FAQs</a><br /><br />
4724+
For support in filing your federal and state taxes for free, visit GetYourRefund.
47214725
closed_subheader_html: |
47224726
<strong>FileYourStateTaxes</strong> integrates with IRS Direct File to help you complete your state tax return for free.<br/><br/>
47234727
We're closed for the tax season. Unfortunately, you can no longer file your state return with us this year.<br /><br />
47244728
<strong>Was the state return you filed with FileYourStateTaxes rejected?</strong> <a href="%{sign_in_url}">Sign in here</a> to correct and resubmit your return.<br /><br />
4729+
closed_warning: FileYourStateTaxes closed on October 31, 2025 and was not renewed for the 2026 season.
47254730
download_return_button: Download your 2024 return
4731+
download_your_return: Download your return
47264732
end_of_in_progress_intakes_subheader_html: |
47274733
<strong>FileYourStateTaxes</strong> integrates with IRS Direct File to help you complete your state tax return for free.<br/><br/>
47284734
We're closed for the tax season. Unfortunately, you can no longer file your state return with us this year.<br /><br />
@@ -4750,6 +4756,7 @@ en:
47504756
<strong>In 2025, this service will support filing state tax returns in Arizona, Idaho, North Carolina, New Jersey, and Maryland.</strong>
47514757
subheader_2_html: To start filing your federal return, go to <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/?utm_source=CA-Nonprofit&utm_medium=email&utm_campaign=gyr&utm_id=directfile&utm_content=QRcode">directfile.irs.gov.</a> For any questions about IRS Direct File’s closure, <a href='%{faqs_path}'>visit our FAQs.</a>
47524758
subheader_3_html: "<strong>Already started your state taxes with us and need to complete them?</strong> <a href=%{login_path}>Sign in here</a> to continue filing."
4759+
visit_gyr: Visit GetYourRefund
47534760
card_postscript:
47544761
responses_saved_html: Your responses are saved. You can come back and log in to your account at <a href="https://fileyourstatetaxes.org">fileyourstatetaxes.org</a> anytime.
47554762
coming_soon:

config/locales/es.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4690,11 +4690,17 @@ es:
46904690
state_file_pages:
46914691
about_page:
46924692
check_back_for_prior_year_returns: Vuelve a consultar al inicio de la temporada de impuestos para descargar tu declaración estatal de Arizona o Nueva York de 2023.
4693+
closed_forever_subheader_html: |
4694+
<strong>FileYourStateTaxes</strong> se integraba con el servicio Direct File del IRS para ayudarte a completar tu declaración de impuestos estatal sin costo, y este servicio ya no está activo.<br/><br/>
4695+
Si presentaste tu declaración con nosotros en 2025 o 2024, puedes descargar una copia de tu declaración estatal. Para obtener más información sobre cómo acceder a tus reembolsos federales y estatales, <a href=%{faq_link}>visita nuestras Preguntas Frecuentes</a><br /><br />
4696+
Para recibir ayuda para presentar tus impuestos federales y estatales sin costo, visita GetYourRefund.
46934697
closed_subheader_html: |
46944698
<strong>FileYourStateTaxes</strong> se conecta con el servicio Direct File del IRS para ayudarte a completar tu declaración de impuestos estatal sin costo.<br/><br/>
46954699
Nuestro servicio ya está cerrado para esta temporada de impuestos. Desafortunadamente, ya no puedes presentar tu declaración estatal con nosotros este año.<br /><br />
46964700
<strong>¿La declaración estatal que presentaste con FileYourStateTaxes fue rechazada?</strong> <a href="%{sign_in_url}">Inicia sesión aquí</a> para corregir y volver a enviar tu declaración.<br /><br />
4701+
closed_warning: FileYourStateTaxes cerró el 31 de octubre de 2025 y no fue renovado para la temporada de impuestos 2026.
46974702
download_return_button: Descarga tu 2024 declaración
4703+
download_your_return: Descarga tu declaración
46984704
end_of_in_progress_intakes_subheader_html: |
46994705
<strong>FileYourStateTaxes</strong> se conecta con el servicio Direct File del IRS para ayudarte a completar tu declaración de impuestos estatal sin costo.<br/><br/>
47004706
Nuestro servicio ya está cerrado para esta temporada de impuestos. Desafortunadamente, ya no puedes presentar tu declaración estatal con nosotros este año.<br /><br />
@@ -4722,6 +4728,7 @@ es:
47224728
<strong>En 2025, este servicio funcionará para presentar los impuestos estatales en Arizona, Idaho, Carolina del Norte, Nueva Jersey y Maryland.</strong>
47234729
subheader_2_html: Para declarar tus declaración de impuestos federales, visita <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/?utm_source=CA-Nonprofit&utm_medium=email&utm_campaign=gyr&utm_id=directfile&utm_content=QRcode">directfile.irs.gov.</a> Si tienes cualquier pregunta sobre el cierre de IRS Direct File, visita <a href='%{faqs_path}'>nuestra sección de Preguntas Frecuentes.</a>
47244730
subheader_3_html: "<strong>¿Ya comenzaste tu declaración de impuestos estatales con nosotros y necesitas completarlos?</strong> <a href=%{login_path}>Inicia sesión aquí</a> para continuar con la declaración."
4731+
visit_gyr: Visita GetYourRefund
47254732
card_postscript:
47264733
responses_saved_html: Tus respuestas fueron guardadas. Puedes regresar e iniciar sesión en tu cuenta en <a href="https://fileyourstatetaxes.org">fileyourstatetaxes.org</a> en cualquier momento.
47274734
coming_soon:

0 commit comments

Comments
 (0)