Skip to content

Commit

Permalink
Fix club edit card, fix lint, extend Mission Statement branding changes
Browse files Browse the repository at this point in the history
  • Loading branch information
julianweng committed Oct 18, 2024
1 parent 0026954 commit 0697fee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
3 changes: 2 additions & 1 deletion frontend/components/ClubEditPage/ClubEditCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ export default function ClubEditCard({
terms != null ? terms.map((term) => term.value).join(',') : null,
},
{
name: 'mission',
name: 'description',
label: 'Club Mission',
required: true,
placeholder: `Type your ${OBJECT_NAME_SINGULAR} mission here!`,
type: 'html',
Expand Down
5 changes: 2 additions & 3 deletions frontend/components/EmbedOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ const EmbedOption = (props: Props): ReactElement => {
<h1>Embed Content</h1>
<p>
You can use this tool to embed multimedia content into your club
mission. If you run into any issues using the tool, please
contact <Contact />. Here are examples of some of the things you can
embed.
mission. If you run into any issues using the tool, please contact{' '}
<Contact />. Here are examples of some of the things you can embed.
</p>
<div className="content mb-3">
<ul>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/club/[club]/renew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const RenewPage = (props: RenewPageProps): ReactElement => {
name: 'University Affiliation',
content: (
<div>
The club description must clearly state that the group is a student
The club mission must clearly state that the group is a student
organization at the University.
</div>
),
Expand Down
8 changes: 4 additions & 4 deletions frontend/pages/rank.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,13 @@ const Rank = (): ReactElement => (
],
},
{
name: `${OBJECT_NAME_TITLE} Description`,
name: `${OBJECT_NAME_TITLE} Mission`,
description: (
<>
Adding a description helps students learn more about whether or
Adding a club mission helps students learn more about whether or
not a {OBJECT_NAME_SINGULAR} is a good fit for them.{' '}
{OBJECT_NAME_TITLE} without a description will therefore appear
lower on the homepage. Longer and more detailed descriptions are
{OBJECT_NAME_TITLE} without a club mission will therefore appear
lower on the homepage. Longer and more detailed club missions are
awarded bonus points.
</>
),
Expand Down
2 changes: 1 addition & 1 deletion frontend/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const SITE_ORIGIN = publicRuntimeConfig.SITE_ORIGIN
export const API_BASE_URL = `${SITE_ORIGIN}/api`

export const EMPTY_DESCRIPTION =
'<span style="color:#666">This club has not added a description yet.</span>'
'<span style="color:#666">This club has not added a club mission yet.</span>'
export const LOGIN_URL = `${API_BASE_URL}/accounts/login/`
export const LOGOUT_URL = `${API_BASE_URL}/accounts/logout/`

Expand Down

0 comments on commit 0697fee

Please sign in to comment.