Skip to content

Commit

Permalink
🔀 Merge pull request #54 from Ayush272002/sid-visual-fixes
Browse files Browse the repository at this point in the history
✨ New enhancements
  • Loading branch information
siddharth-shringarpure authored Oct 27, 2024
2 parents ef6aa99 + f297f20 commit aa788d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/events/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ const EventsPage: React.FC = () => {
</p>
<p className="text-gray-600">{event.location}</p>
<p className="text-gray-800 font-semibold">
${event.ticketPrice}
${event.ticketPrice.toFixed(2)}
</p>
<p className="text-gray-600">Host: {event.eventHost}</p>
</div>
Expand Down
3 changes: 0 additions & 3 deletions components/custom/EventDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ const EventDescription: React.FC<EventDescriptionProps> = ({
<br />
{eventDetails.host}
</p>
<p><b>Location:</b><br />{eventDetails.location}</p><br />
<p><b>Date:</b><br />{eventDate}</p><br />
<p><b>Host:</b><br />{eventDetails.host}</p>
{eventDetails.ticketsSold / eventDetails.capacity >= 0.9 && (
<div className="mt-2 p-2 bg-yellow-300 text-black rounded">
Limited Tickets Remaining!
Expand Down

0 comments on commit aa788d8

Please sign in to comment.