Skip to content

Commit

Permalink
CMS-441: Update show more highlights button wording (#1502)
Browse files Browse the repository at this point in the history
* CMS-441: Update show more highlights button wording

* CMS-441: Update show more highlights button wording in the Camping section
  • Loading branch information
ayumi-oxd authored Oct 24, 2024
1 parent 2eda77b commit b00a277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions src/gatsby/src/components/park/campingDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,9 @@ export const CampingType = ({ camping, parkOperation }) => {
}}
>
{expanded ?
<>
Show less about {camping?.campingType?.campingTypeName.toLowerCase()}
<FontAwesomeIcon icon={faChevronUp} className="ml-1" />
</>
<>Show less <FontAwesomeIcon icon={faChevronUp} /></>
:
<>
Show more about {camping?.campingType?.campingTypeName.toLowerCase()}
<FontAwesomeIcon icon={faChevronDown} className="ml-1" />
</>
<>Show more <FontAwesomeIcon icon={faChevronDown} /></>
}
</button>
}
Expand Down
4 changes: 2 additions & 2 deletions src/gatsby/src/components/park/parkOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export default function ParkOverview({ data: parkOverview, type }) {
}}
>
{expanded ?
<>Show less highlights <FontAwesomeIcon icon={faChevronUp} /></>
<>Show less <FontAwesomeIcon icon={faChevronUp} /></>
:
<>Show more highlights <FontAwesomeIcon icon={faChevronDown} /></>
<>Show more <FontAwesomeIcon icon={faChevronDown} /></>
}
</button>
}
Expand Down

0 comments on commit b00a277

Please sign in to comment.