From 7d06c61ddf94ee4d9d31a7cdaef76b01fc2e7ccc Mon Sep 17 00:00:00 2001 From: kralsolomon Date: Wed, 5 Jun 2024 08:13:56 +0500 Subject: [PATCH] +white theme fix(not everywhere) --- src/app/clubs/[clubID]/page.tsx | 17 ++++---- .../[clubID]/settings/_components/Events.tsx | 12 +++--- .../[clubID]/settings/_components/Members.tsx | 7 +--- .../settings/_components/RolesTab.tsx | 2 +- src/app/clubs/[clubID]/settings/page.tsx | 11 ++--- src/app/events/[eventID]/page.tsx | 28 ++++++++----- src/app/explore/clubs/page.tsx | 16 +++++--- src/app/explore/events/page.tsx | 2 +- src/app/page.tsx | 41 +++++++++++-------- src/app/user/[userID]/page.tsx | 29 +++++++------ src/components/NavBar.tsx | 32 +++++++++------ src/components/clubs/ClubEvent.tsx | 9 ++-- src/components/clubs/ClubMembersCard.tsx | 3 +- src/components/clubs/ClubPageButtons.tsx | 11 ++++- .../clubs/events/DialogViewClubInvites.tsx | 5 ++- .../clubs/roles/DialogCreateClubRole.tsx | 6 ++- src/components/clubs/settings/DangerZone.tsx | 6 +-- .../settings/DialogClubOwnershipTransfer.tsx | 7 +++- .../clubs/settings/DialogClubUpdateInfo.tsx | 5 ++- .../clubs/settings/DialogDeleteClub.tsx | 7 +++- .../clubs/settings/DialogUpdateClubBanner.tsx | 2 +- .../clubs/settings/DialogUpdateClubLogo.tsx | 2 +- .../clubs/settings/EventCreationComponent.tsx | 7 +++- src/components/ui/dropdown_for_logged_in.tsx | 5 ++- src/components/user/LoginForm.tsx | 5 ++- src/components/user/SignUpForm.tsx | 9 ++-- src/lib/eventStatusUtils.ts | 6 +-- 27 files changed, 179 insertions(+), 113 deletions(-) diff --git a/src/app/clubs/[clubID]/page.tsx b/src/app/clubs/[clubID]/page.tsx index c63dcfd..e99776e 100644 --- a/src/app/clubs/[clubID]/page.tsx +++ b/src/app/clubs/[clubID]/page.tsx @@ -72,31 +72,32 @@ function Page({ params }: { params: { clubID: number } }) { ) : (
-
+
{club?.name} -
-
+
+
-
+
- {club?.name} + {club?.name} {club?.description}
- + Club Events @@ -136,7 +137,7 @@ function Page({ params }: { params: { clubID: number } }) { )} - + Club Posts @@ -147,7 +148,7 @@ function Page({ params }: { params: { clubID: number } }) {

- + Club Achievements diff --git a/src/app/clubs/[clubID]/settings/_components/Events.tsx b/src/app/clubs/[clubID]/settings/_components/Events.tsx index f95273e..795b480 100644 --- a/src/app/clubs/[clubID]/settings/_components/Events.tsx +++ b/src/app/clubs/[clubID]/settings/_components/Events.tsx @@ -47,9 +47,9 @@ export default function EventsContent() { }, []) return ( -
+
-

Events

+

Events

{/*
*/} {/* */} @@ -77,7 +77,7 @@ export default function EventsContent() { return (

{event.title || 'No Title'}

@@ -100,10 +100,12 @@ export default function EventsContent() {

)} -
+
{isEventOrganizer(event) && ( - + )}
diff --git a/src/app/clubs/[clubID]/settings/_components/Members.tsx b/src/app/clubs/[clubID]/settings/_components/Members.tsx index 8ed190d..8711273 100644 --- a/src/app/clubs/[clubID]/settings/_components/Members.tsx +++ b/src/app/clubs/[clubID]/settings/_components/Members.tsx @@ -38,13 +38,10 @@ export default function Members({
- + )} @@ -71,34 +76,34 @@ export default function Home() {
-
- -

Discover Clubs

-

+

+ +

Discover Clubs

+

Explore a diverse range of clubs that cater to your interests, hobbies, and passions.

- + Browse Clubs
-
- -

Attend Events

-

+

+ +

Attend Events

+

Stay up-to-date with the latest club events and activities, and participate in them.

- + View Events
-
- -

Connect with Members

-

+

+ +

Connect with Members

+

Engage with other club members, share ideas, and build meaningful connections.

- + Join the Community
diff --git a/src/app/user/[userID]/page.tsx b/src/app/user/[userID]/page.tsx index f784d76..7c53508 100644 --- a/src/app/user/[userID]/page.tsx +++ b/src/app/user/[userID]/page.tsx @@ -10,7 +10,6 @@ import { toast } from 'sonner' import UserAvatar from '@/components/user/userAvatar' import { Skeleton } from '@/components/ui/skeleton' import Nav from '@/components/NavBar' -import DialogViewUserInvites from '@/components/user/DialogViewUserInvites' const UserPage = ({ params }: { params: { userID: number } }) => { const { user } = useUserStore() @@ -57,7 +56,7 @@ const UserPage = ({ params }: { params: { userID: number } }) => {