Skip to content

Commit

Permalink
Final presentation bugfixes (#55)
Browse files Browse the repository at this point in the history
* Bugfix: Missing change from rename

* add missing buttons

---------

Co-authored-by: Daniel <[email protected]>
  • Loading branch information
ishaan-upadhyay and TheDannyG authored Aug 10, 2023
1 parent 2134f32 commit 128fc43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion citrus/app/(users)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function RootLayout({
height={200}
/>
<nav className='ml-auto my-auto mr-10'>
<ul className='flex text-xl space-x-20'>
<ul className='flex text-xl space-x-10'>
<li className='flex-1'>
<a href="/">Home</a>
</li>
Expand All @@ -45,6 +45,12 @@ export default async function RootLayout({
<li className='flex-1'>
<a href="/profile">Profile</a>
</li>
<li className='flex-none'>
<a href="/myExperiences">My Events</a>
</li>
<li className='flex-1'>
<a href="/connect-with-people">People</a>
</li>
<li className='flex-1'>
<a href="/groups">Chats</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion citrus/components/EventCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function EventCard({ eventName, eventDescription, eventLocation,
<p>{eventLocation}</p>
</a>
<div className="justify-center flex">
{(path.includes("organizer") || (session?.user && session.user.name === eventUserID && path.endsWith('user'))) ? <ManagementTools eventID={eventID} isUser={eventUserID !== null} /> : null}
{(path.includes("organizer") || (session?.user && session.user.name === eventUserID && path.endsWith('myExperiences'))) ? <ManagementTools eventID={eventID} isUser={eventUserID !== null} /> : null}
</div>
</div>
);
Expand Down

1 comment on commit 128fc43

@vercel
Copy link

@vercel vercel bot commented on 128fc43 Aug 10, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.