Skip to content

Commit

Permalink
CM-1001: Change A-Z list page URL and title (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumi-oxd authored Oct 12, 2023
1 parent 470cf9c commit f65cfd9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/gatsby/src/components/search/parkLinksModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ParkLinksModal = ({ data: { openModal, setOpenModal } }) => {
variant="outlined"
className="bcgov-button bcgov-normal-white link-button"
>
<Link to="/parks">A–Z</Link>
<Link to="/parks">A–Z park list</Link>
</Button>
<Button
variant="outlined"
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby/src/pages/find-a-park.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ export default function FindAPark({ location, data }) {
<div className="col-12 park-links">
<h3 className="subtitle mb-2">More ways to find a park</h3>
<div>
<GatsbyLink to="/parks">A–Z list</GatsbyLink>
<GatsbyLink to="/parks">A–Z park list</GatsbyLink>
<br />
<a
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import React, { useState } from "react"
import { graphql, useStaticQuery, Link as GatsbyLink } from "gatsby"
import { Breadcrumbs, Link } from "@mui/material"

import Header from "../components/header"
import Footer from "../components/footer"
import Seo from "../components/seo"
import ScrollToTop from "../components/scrollToTop"
import Header from "../../components/header"
import Footer from "../../components/footer"
import Seo from "../../components/seo"
import ScrollToTop from "../../components/scrollToTop"

import "../styles/listPage.scss"
import "../../styles/listPage.scss"

const ParkLink = ({ park }) => {

Expand Down Expand Up @@ -80,7 +80,7 @@ const ParksPage = () => {
Find a Park
</Link>,
<div key="3" className="breadcrumb-text">
A–Z
A–Z park list
</div>,
]

Expand All @@ -97,7 +97,7 @@ const ParksPage = () => {
</div>
<div className="static-content-container">
<h1 className="header-title">
A–Z park listing
A–Z park list
</h1>
</div>

Expand Down Expand Up @@ -154,5 +154,5 @@ const ParksPage = () => {
export default ParksPage

export const Head = () => (
<Seo title="A–Z park listing" />
<Seo title="A–Z park list" />
)

0 comments on commit f65cfd9

Please sign in to comment.