Skip to content

Commit

Permalink
fix: past townhall slides button changed to be conditionally rendered (
Browse files Browse the repository at this point in the history
…#751)

* fix: added word-break to prevent overflowing text on event cards

* feat: results button/link added to townhall page

* fix: "Results" button changed to "Survey Results"

* fix: added conditional rendering to past townhall slides button

* fix: indentation issues
  • Loading branch information
Kevin-D23 authored Jan 29, 2025
1 parent 939fd62 commit 5beb283
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions pages/town-hall.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,22 +314,24 @@ function TownHall() {
<h3>{pastTownHall.title + ' // ' + pastTownHall.date}</h3>
<p>{pastTownHall.description}</p>
<ul className="list-unstyled">
<li style={inlineButtonListStyle}>
<Link href={pastTownHall.slides}>
<a
className="button"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon
icon={faFileAlt}
fixedWidth
aria-hidden={true}
/>{' '}
Form Summaries and Slides
</a>
</Link>
</li>{' '}
{pastTownHall.slides && (
<li style={inlineButtonListStyle}>
<Link href={pastTownHall.slides}>
<a
className="button"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon
icon={faFileAlt}
fixedWidth
aria-hidden={true}
/>{' '}
Form Summaries and Slides
</a>
</Link>
</li>
)}{' '}
<li style={inlineButtonListStyle}>
<Link href={pastTownHall.notes}>
<a
Expand Down

0 comments on commit 5beb283

Please sign in to comment.