diff --git a/src/app/directory/[id]/page.tsx b/src/app/directory/[id]/page.tsx
index e603e5e9..51de93ad 100644
--- a/src/app/directory/[id]/page.tsx
+++ b/src/app/directory/[id]/page.tsx
@@ -1,10 +1,8 @@
-import ClubDocuments from '@src/components/ClubDocuments';
import Header from '@src/components/BaseHeader';
import OrgHeader from '@src/components/OrgHeader';
import OrgInfoSegment from '@src/components/OrgInfoSegment';
import OrgUpcomingEvents from '@src/components/OrgUpcomingEvents';
import { api } from '@src/trpc/server';
-import { PlusIcon } from '@src/icons/Icons';
import { db } from '@src/server/db';
import { eq } from 'drizzle-orm';
import { type Metadata } from 'next';
@@ -21,14 +19,6 @@ const OrganizationPage = async ({ params }: { params: { id: string } }) => {
-
-
-
Promo text
-
-
);
diff --git a/src/components/ClubDocuments.tsx b/src/components/ClubDocuments.tsx
deleted file mode 100644
index e2c53a24..00000000
--- a/src/components/ClubDocuments.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import React, { type FC } from 'react';
-
-const ClubDocuments: FC = () => {
- return (
-
-
Club Documents
-
- Here you can find all the documents related to this club. You can view
- them or download them.
-
-
- {[
- 'Constitution',
- 'Agreement',
- 'Voting',
- 'Random1',
- 'Random2',
- 'Random3',
- ].map((documentName) => (
-
- ))}
-
-
- );
-};
-
-const Document: FC<{ name: string }> = ({ name }) => {
- return (
-
- {/* Document Icon empty div for now*/}
-
-
{name}
-
-
-
-
-
- );
-};
-
-export default ClubDocuments;
diff --git a/src/components/ContactIcons.tsx b/src/components/ContactIcons.tsx
index 0fd7c5f0..b9601e80 100644
--- a/src/components/ContactIcons.tsx
+++ b/src/components/ContactIcons.tsx
@@ -120,34 +120,21 @@ export const Email = ({ className }: IconProps) => {
);
};
+const logoStyling = 'fill-slate-800 transition-colors group-hover:fill-white';
export const logo: logoProps = {
- discord: (
-
- ),
+ discord: ,
- youtube: (
-
- ),
+ youtube: ,
twitch: '/nebula-logo.png',
- facebook: (
-
- ),
+ facebook: ,
- twitter: (
-
- ),
+ twitter: ,
- instagram: (
-
- ),
- website: (
-
- ),
- email: (
-
- ),
+ instagram: ,
+ website: ,
+ email: ,
other: '/Jupiter.png',
} as const;
diff --git a/src/components/DirectoryOrgs.tsx b/src/components/DirectoryOrgs.tsx
index 3d96c939..882b0410 100644
--- a/src/components/DirectoryOrgs.tsx
+++ b/src/components/DirectoryOrgs.tsx
@@ -2,7 +2,6 @@ import { type FC } from 'react';
import Image from 'next/image';
import type { SelectClub as Club } from '@src/server/db/models';
import JoinButton from './JoinButton';
-import LikeButton from './LikeButton';
import Link from 'next/link';
import { type Session } from 'next-auth';
@@ -25,11 +24,6 @@ const OrgDirectoryCards: FC = ({ club, session, priority }) => {
priority={priority}
className="select-none object-cover"
/>
-
-
-
diff --git a/src/components/LikeButton.tsx b/src/components/LikeButton.tsx
deleted file mode 100644
index e2ee3e2d..00000000
--- a/src/components/LikeButton.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-'use client';
-import { useState } from 'react';
-import { HeartIcon, HeartOutline } from '../icons/Icons';
-
-const LikeButton = () => {
- const [liked, setLiked] = useState(false);
- return (
-
{
- setLiked(!liked);
- }}
- >
- {liked ? (
-
- ) : (
-
- )}
-
- );
-};
-export default LikeButton;
diff --git a/src/components/OrgHeader.tsx b/src/components/OrgHeader.tsx
index aa3cb227..4b17dcb0 100644
--- a/src/components/OrgHeader.tsx
+++ b/src/components/OrgHeader.tsx
@@ -6,7 +6,6 @@ import type {
} from '@src/server/db/models';
import JoinButton from './JoinButton';
import { getServerAuthSession } from '@src/server/auth';
-import LikeButton from './LikeButton';
import Link from 'next/link';
import { api } from '@src/trpc/server';
@@ -21,10 +20,14 @@ const OrgHeader = async ({ club }: { club: Club }) => {
@@ -70,12 +73,6 @@ const OrgHeader = async ({ club }: { club: Club }) => {
clubID={club.id}
isJoined={memberType !== undefined}
/>
-
>
)}
diff --git a/src/server/db/index.ts b/src/server/db/index.ts
index 7fd3b797..8f3bb80e 100644
--- a/src/server/db/index.ts
+++ b/src/server/db/index.ts
@@ -19,4 +19,6 @@ const schema = {
...admin,
};
-export const db = drizzle(postgres(env.DATABASE_URL), { schema });
+export const db = drizzle(postgres(env.DATABASE_URL, { prepare: false }), {
+ schema,
+});