Skip to content

Commit

Permalink
Club Mission
Browse files Browse the repository at this point in the history
  • Loading branch information
owlester12 committed Oct 13, 2024
1 parent b4ea850 commit c232a58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/components/ClubCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ const ClubCard = ({ club, fullWidth }: ClubCardProps): ReactElement => {
const { name, active, approved, subtitle, tags, enables_subscription, code } =
club
const img = club.image_url
const textDescription = shorten(subtitle || 'This club has no description.')
const textDescription = shorten(
subtitle || 'This club has not provided a mission statement.',
)

return (
<CardWrapper className={fullWidth ? '' : 'column is-half-desktop'}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/ClubPage/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Props = {
const Description = ({ club }: Props): ReactElement => (
<Wrapper>
<div style={{ width: '100%' }}>
<StrongText>Description</StrongText>
<StrongText>Club Mission</StrongText>
<div
className="content"
dangerouslySetInnerHTML={{
Expand Down

0 comments on commit c232a58

Please sign in to comment.