Skip to content

Fixed #337 - [UI] Improved attendee count section#355

Open
Alien501 wants to merge 3 commits intodjangoindia:mainfrom
Alien501:issue_337_fix
Open

Fixed #337 - [UI] Improved attendee count section#355
Alien501 wants to merge 3 commits intodjangoindia:mainfrom
Alien501:issue_337_fix

Conversation

@Alien501
Copy link
Copy Markdown

@Alien501 Alien501 commented Apr 5, 2025

Closes #337

Changes

  • Modified the header section
  • Modified attendee count card
  • Revamped page design

Type of change

  • Bug fix
  • Feature update
  • Breaking change
  • Documentation update

Flags

Demo

  • image
  • image
  • image

How has this been tested?

  • Checked for different mobile screens

Author Checklist

  • Code has been commented, particularly in hard-to-understand areas
  • Changes generate no new warnings
  • Vital changes have been captured in unit and/or integration tests
  • New and existing unit tests pass locally with my changes
  • Documentation has been extended, if necessary
  • Merging to main from fork:branchname

Additional context

</Button>
</Link>
)}
<div className='font-sans'>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this class here ?

<p className='mb-6 text-gray-700'>
Registration ends:{' '}
<span className='font-semibold'>
{dayjsWithTZ(registration_end_date).format('DD MMMM, YYYY')}{' '}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{dayjsWithTZ(registration_end_date).format('DD MMMM, YYYY')}{' '}
{dayjsWithTZ(registration_end_date).format('DD MMMM, YYYY')}


{registration_end_date ? (
<p className='mb-6 text-gray-700'>
Registration ends:{' '}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Registration ends:{' '}
Registration ends:


<div
className='prose prose-lg mb-16 max-w-none text-gray-700'
dangerouslySetInnerHTML={{ __html: sanitizedDescription }}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets avoid using dangerouslySetInnerHTML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI] Improved attendee count section

2 participants