Skip to content

Commit

Permalink
Issue #287 State Taxes | Re-Label Link (#490)
Browse files Browse the repository at this point in the history
* Issue #287 State Taxes | Re-Label Link

Renamed Sate Tax Information link.
Updated state Tax Information route
Add redirect to new state tax information route.

* Add redirect to the specific state tax information

* Undo redirect as it breaks the build

* Redirect list updated

* Updated redirect list to fix build

* Updated links to match new path

* Undo merge issue

* Fixed incorrect label

* Updating link to new path

* Updated the redirects to point to the new path.
  • Loading branch information
felder101 authored Mar 29, 2024
1 parent 1dbd1d3 commit 39d5a38
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 71 deletions.
4 changes: 2 additions & 2 deletions src/components/Callout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const baseUrl = import.meta.env.BASE_URL;
</div>
<div class="grid-row grid-gap margin-y-2">
<div class="tablet:grid-col-6 margin-top-1">
<a href={`${baseUrl}smarttax/state-tax-forms`}>
<a href={`${baseUrl}smarttax/tax-information-by-state`}>
<img
src={callout_map}
alt="A map of the contiguous United States with Utah highlighted in a darker color than the rest of the states, with Alaska, Hawaii, and U.S territories also shown."
Expand All @@ -47,7 +47,7 @@ const baseUrl = import.meta.env.BASE_URL;
territories.
</p>
<p>
<a class="usa-link" href={`${baseUrl}smarttax/state-tax-forms`}
<a class="usa-link" href={`${baseUrl}smarttax/tax-information-by-state`}
>Go to tax information</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/StateTaxSelection.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ states.sort((a, b) => a.data.name.localeCompare(b.data.name));
const state = dropdown.value;

if (state) {
const target=`${import.meta.env.BASE_URL}smarttax/state-tax-forms/${state.toLowerCase()}`
const target=`${import.meta.env.BASE_URL}smarttax/tax-information-by-state/${state.toLowerCase()}`
window.location.href = target;
}
e.preventDefault();
Expand Down
121 changes: 61 additions & 60 deletions src/config/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,66 +40,66 @@ const redirects = {
"/content/gsa-smartpay-vendors": "/merchants",
"/content/accepting-gsa-smartpay-payment-solution": "/merchants",
"/content/card-driven-strategic-sourcing": "/merchants",
"/smarttax": "/smarttax/state-tax-forms",
"/content/state-tax-information": "/smarttax/state-tax-forms",
"/content/specific-state-tax-information": "/smarttax/state-tax-forms",
"/content/about-smarttax": "/smarttax/state-tax-forms",
"/statetax/alabama": "/smarttax/state-tax-forms/alabama",
"/statetax/alaska": "/smarttax/state-tax-forms/alaska",
"/statetax/american-samoa": "/smarttax/state-tax-forms/american-samoa",
"/statetax/arizona": "/smarttax/state-tax-forms/arizona",
"/statetax/arkansas": "/smarttax/state-tax-forms/arkansas",
"/statetax/california": "/smarttax/state-tax-forms/california",
"/statetax/colorado": "/smarttax/state-tax-forms/colorado",
"/statetax/connecticut": "/smarttax/state-tax-forms/connecticut",
"/statetax/delaware": "/smarttax/state-tax-forms/delaware",
"/statetax/district-columbia": "/smarttax/state-tax-forms/district-of-columbia",
"/statetax/florida": "/smarttax/state-tax-forms/florida",
"/statetax/georgia": "/smarttax/state-tax-forms/georgia",
"/statetax/guam": "/smarttax/state-tax-forms/guam",
"/statetax/hawaii": "/smarttax/state-tax-forms/hawaii",
"/statetax/idaho": "/smarttax/state-tax-forms/idaho",
"/statetax/illinois": "/smarttax/state-tax-forms/illinois",
"/statetax/indiana": "/smarttax/state-tax-forms/indiana",
"/statetax/iowa": "/smarttax/state-tax-forms/iowa",
"/statetax/kansas": "/smarttax/state-tax-forms/kansas",
"/statetax/kentucky": "/smarttax/state-tax-forms/kentucky",
"/statetax/louisiana": "/smarttax/state-tax-forms/louisiana",
"/statetax/maine": "/smarttax/state-tax-forms/maine",
"/statetax/maryland": "/smarttax/state-tax-forms/maryland",
"/statetax/massachusetts": "/smarttax/state-tax-forms/massachusetts",
"/statetax/michigan": "/smarttax/state-tax-forms/michigan",
"/statetax/minnesota": "/smarttax/state-tax-forms/minnesota",
"/statetax/mississippi": "/smarttax/state-tax-forms/mississippi",
"/statetax/missouri": "/smarttax/state-tax-forms/missouri",
"/statetax/montana": "/smarttax/state-tax-forms/montana",
"/statetax/nebraska": "/smarttax/state-tax-forms/nebraska",
"/statetax/nevada": "/smarttax/state-tax-forms/nevada",
"/statetax/new-hampshire": "/smarttax/state-tax-forms/new-hampshire",
"/statetax/new-jersey": "/smarttax/state-tax-forms/new-jersey",
"/statetax/new-mexico": "/smarttax/state-tax-forms/new-mexico",
"/statetax/new-york": "/smarttax/state-tax-forms/new-york",
"/statetax/north-carolina": "/smarttax/state-tax-forms/north-carolina",
"/statetax/north-dakota": "/smarttax/state-tax-forms/north-dakota",
"/statetax/northern-mariana-islands": "/smarttax/state-tax-forms/northern-mariana-islands",
"/statetax/ohio": "/smarttax/state-tax-forms/ohio",
"/statetax/oklahoma": "/smarttax/state-tax-forms/oklahoma",
"/statetax/oregon": "/smarttax/state-tax-forms/oregon",
"/statetax/pennsylvania": "/smarttax/state-tax-forms/pennsylvania",
"/statetax/puerto-rico": "/smarttax/state-tax-forms/puerto-rico",
"/statetax/rhode-island": "/smarttax/state-tax-forms/rhode-island",
"/statetax/south-carolina": "/smarttax/state-tax-forms/south-carolina",
"/statetax/south-dakota": "/smarttax/state-tax-forms/south-dakota",
"/statetax/tennessee": "/smarttax/state-tax-forms/tennessee",
"/statetax/texas": "/smarttax/state-tax-forms/texas",
"/statetax/utah": "/smarttax/state-tax-forms/utah",
"/statetax/vermont": "/smarttax/state-tax-forms/vermont",
"/statetax/virgin-islands": "/smarttax/state-tax-forms/virgin-islands",
"/statetax/virginia": "/smarttax/state-tax-forms/virginia",
"/statetax/washington": "/smarttax/state-tax-forms/washington",
"/statetax/west-virginia": "/smarttax/state-tax-forms/west-virginia",
"/statetax/wisconsin": "/smarttax/state-tax-forms/wisconsin",
"/statetax/wyoming": "/smarttax/state-tax-forms/wyoming",
"/smarttax": "/smarttax/tax-information-by-state",
"/content/state-tax-information": "/smarttax/tax-information-by-state",
"/content/specific-state-tax-information": "/smarttax/tax-information-by-state",
"/content/about-smarttax": "/smarttax/tax-information-by-state",
"/statetax/alabama": "/smarttax/tax-information-by-state/alabama",
"/statetax/alaska": "/smarttax/tax-information-by-state/alaska",
"/statetax/american-samoa": "/smarttax/tax-information-by-state/american-samoa",
"/statetax/arizona": "/smarttax/tax-information-by-state/arizona",
"/statetax/arkansas": "/smarttax/tax-information-by-state/arkansas",
"/statetax/california": "/smarttax/tax-information-by-state/california",
"/statetax/colorado": "/smarttax/tax-information-by-state/colorado",
"/statetax/connecticut": "/smarttax/tax-information-by-state/connecticut",
"/statetax/delaware": "/smarttax/tax-information-by-state/delaware",
"/statetax/district-columbia": "/smarttax/tax-information-by-state/district-of-columbia",
"/statetax/florida": "/smarttax/tax-information-by-state/florida",
"/statetax/georgia": "/smarttax/tax-information-by-state/georgia",
"/statetax/guam": "/smarttax/tax-information-by-state/guam",
"/statetax/hawaii": "/smarttax/tax-information-by-state/hawaii",
"/statetax/idaho": "/smarttax/tax-information-by-state/idaho",
"/statetax/illinois": "/smarttax/tax-information-by-state/illinois",
"/statetax/indiana": "/smarttax/tax-information-by-state/indiana",
"/statetax/iowa": "/smarttax/tax-information-by-state/iowa",
"/statetax/kansas": "/smarttax/tax-information-by-state/kansas",
"/statetax/kentucky": "/smarttax/tax-information-by-state/kentucky",
"/statetax/louisiana": "/smarttax/tax-information-by-state/louisiana",
"/statetax/maine": "/smarttax/tax-information-by-state/maine",
"/statetax/maryland": "/smarttax/tax-information-by-state/maryland",
"/statetax/massachusetts": "/smarttax/tax-information-by-state/massachusetts",
"/statetax/michigan": "/smarttax/tax-information-by-state/michigan",
"/statetax/minnesota": "/smarttax/tax-information-by-state/minnesota",
"/statetax/mississippi": "/smarttax/tax-information-by-state/mississippi",
"/statetax/missouri": "/smarttax/tax-information-by-state/missouri",
"/statetax/montana": "/smarttax/tax-information-by-state/montana",
"/statetax/nebraska": "/smarttax/tax-information-by-state/nebraska",
"/statetax/nevada": "/smarttax/tax-information-by-state/nevada",
"/statetax/new-hampshire": "/smarttax/tax-information-by-state/new-hampshire",
"/statetax/new-jersey": "/smarttax/tax-information-by-state/new-jersey",
"/statetax/new-mexico": "/smarttax/tax-information-by-state/new-mexico",
"/statetax/new-york": "/smarttax/tax-information-by-state/new-york",
"/statetax/north-carolina": "/smarttax/tax-information-by-state/north-carolina",
"/statetax/north-dakota": "/smarttax/tax-information-by-state/north-dakota",
"/statetax/northern-mariana-islands": "/smarttax/tax-information-by-state/northern-mariana-islands",
"/statetax/ohio": "/smarttax/tax-information-by-state/ohio",
"/statetax/oklahoma": "/smarttax/tax-information-by-state/oklahoma",
"/statetax/oregon": "/smarttax/tax-information-by-state/oregon",
"/statetax/pennsylvania": "/smarttax/tax-information-by-state/pennsylvania",
"/statetax/puerto-rico": "/smarttax/tax-information-by-state/puerto-rico",
"/statetax/rhode-island": "/smarttax/tax-information-by-state/rhode-island",
"/statetax/south-carolina": "/smarttax/tax-information-by-state/south-carolina",
"/statetax/south-dakota": "/smarttax/tax-information-by-state/south-dakota",
"/statetax/tennessee": "/smarttax/tax-information-by-state/tennessee",
"/statetax/texas": "/smarttax/tax-information-by-state/texas",
"/statetax/utah": "/smarttax/tax-information-by-state/utah",
"/statetax/vermont": "/smarttax/tax-information-by-state/vermont",
"/statetax/virgin-islands": "/smarttax/tax-information-by-state/virgin-islands",
"/statetax/virginia": "/smarttax/tax-information-by-state/virginia",
"/statetax/washington": "/smarttax/tax-information-by-state/washington",
"/statetax/west-virginia": "/smarttax/tax-information-by-state/west-virginia",
"/statetax/wisconsin": "/smarttax/tax-information-by-state/wisconsin",
"/statetax/wyoming": "/smarttax/tax-information-by-state/wyoming",
"/content/recognizing-your-account": "/smarttax/recognizing-your-account",
"/content/legal-history": "/smarttax/legal-history",
"/content/policies": "/policies-and-audits/policies",
Expand Down Expand Up @@ -179,6 +179,7 @@ const redirects = {
"/gsa-smartpay-program-support": "/contact",
"/content/agency-bank-information": "/contact/banks-contact",
"/content/bank-customer-service-centers": "/contact/banks-contact",
"/smarttax/state-tax-forms": "/smarttax/tax-information-by-state"
}

// Process the redirects by prefixing the site's base path if there is one.
Expand Down
6 changes: 3 additions & 3 deletions src/content/nav/menu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
href: stakeholders/account-holders
- title: Merchants
href: merchants/
- title: State Tax Information
- title: State Taxes
submenu:
- title: State Tax Forms
href: smarttax/state-tax-forms
- title: Tax Information by State
href: smarttax/tax-information-by-state
- title: Tax Resources
href: smarttax/resources
- title: Recognizing Charge Cards
Expand Down
2 changes: 1 addition & 1 deletion src/content/smarttax/recognizing-your-account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ All CBA GSA SmartPay Travel cards/accounts should be exempt from state sales tax

Some IBA GSA SmartPay Travel cards/accounts may be exempt from state taxes in select states.

Review state tax exemption information on the [State Tax Forms page](https://smartpay.gsa.gov/smarttax/state-tax-forms/). To receive state tax exemption, forms, official business travel documentation, and/or a federal government identification may be required.
Review state tax exemption information on the [Tax Information by State page](https://smartpay.gsa.gov/smarttax/tax-information-by-state/). To receive state tax exemption, forms, official business travel documentation, and/or a federal government identification may be required.

## Purchase Cards/Accounts
In accordance with the Federal Acquisition Regulation (FAR), the GSA SmartPay Purchase card/account is the preferred method to purchase and pay for micro-purchases (FAR Part 13.201). For purchases above the micro-purchase threshold, the purchase card/account may be used as an ordering and payment mechanism, but not as a contracting mechanism.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: State Tax Forms
title: Tax Information by State
description: Find out about state sales tax with information from each state taxation authority.
intro: "State tax exemptions provided to GSA SmartPay card/account holders vary by state."
order: 0
Expand Down
2 changes: 1 addition & 1 deletion src/pages/smarttax/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { Content, headings } = await entry.render();
<PageLayout title={entry.data.title} description={entry.data.description}>
<!-- One of two sidenav's only shown in desktop breakpoints. -->
<SideNav
title="State Tax Information"
title="State Taxes"
parent_path="smarttax/"
pages={entries}
headings={headings}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const { Content, headings } = await entry.render();
<SinglePageSideNav
title={entry.data.name}
headings={headings}
parent_nav_path = "smarttax/state-tax-forms"
parent_nav_text = "Return to State Tax Forms"
parent_nav_path = "smarttax/tax-information-by-state"
parent_nav_text = "Return to Tax Information by State"
classList = "usa-layout-docs__sidenav display-none desktop:display-block desktop:grid-col-4"
/>
<main id="main-content" class="desktop:grid-col-8 usa-prose usa-layout-docs">
Expand Down

0 comments on commit 39d5a38

Please sign in to comment.