Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Fix dark mode styling

Luke Vella040480b5bc7b
diff --git a/apps/web/src/app/[locale]/accept-invite/[inviteId]/page.tsx b/apps/web/src/app/[locale]/accept-invite/[inviteId]/page.tsx
index d941e12f9..6e08fa05b 100644
--- a/apps/web/src/app/[locale]/accept-invite/[inviteId]/page.tsx
+++ b/apps/web/src/app/[locale]/accept-invite/[inviteId]/page.tsx
@@ -1,7 +1,8 @@
import { prisma } from "@rallly/database";
+import { Card } from "@rallly/ui/card";
import { notFound } from "next/navigation";
-import { FullLogoLink } from "@/app/components/full-logo-link";
import { requireUser } from "@/auth/data";
+import { Logo } from "@/components/logo";
import { OptimizedAvatarImage } from "@/components/optimized-avatar-image";
import { Trans } from "@/components/trans";
import { SpaceIcon } from "@/features/space/components/space-icon";
@@ -46,8 +47,8 @@ export default async function JoinPage({
return (
<div className="flex h-dvh flex-col items-center gap-12 py-12">
- <FullLogoLink />
- <div className="flex w-full max-w-sm flex-col rounded-xl border bg-white p-12 text-center shadow-xs">
+ <Logo />
+ <Card className="flex w-full max-w-sm flex-col p-12 text-center">
<div className="mx-auto mb-4">
<SpaceIcon
src={invite.space.image ?? undefined}
@@ -99,7 +100,7 @@ export default async function JoinPage({
<AcceptInviteButton spaceId={invite.spaceId} />
)}
</div>
- </div>
+ </Card>
</div>
);
}
diff --git a/apps/web/src/app/components/full-logo-link.tsx b/apps/web/src/app/components/full-logo-link.tsx
deleted file mode 100644
index b39fd57b6..000000000
--- a/apps/web/src/app/components/full-logo-link.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import Link from "next/link";
-import Logo from "@/assets/logo.svg";
-
-export function FullLogoLink() {
- return (
- <Link
- className="inline-block transition-transform active:translate-y-1"
- href="/"
- >
- <Logo className="h-7" />
- </Link>
- );
-}