From 039f5dc99767ef7a66cf6ebb3546c473243d85eb Mon Sep 17 00:00:00 2001
From: BrickheadJohnny
Date: Tue, 10 Dec 2024 16:54:18 +0100
Subject: [PATCH 1/4] feat: 3rd party auth flow
---
src/app/(dashboard)/explorer/page.tsx | 15 ++++++++++
src/app/layout.tsx | 13 +++++---
src/components/ConnectDiscord.tsx | 18 +++++++++++
src/components/ConnectResultToast.tsx | 43 +++++++++++++++++++++++++++
4 files changed, 85 insertions(+), 4 deletions(-)
create mode 100644 src/components/ConnectDiscord.tsx
create mode 100644 src/components/ConnectResultToast.tsx
diff --git a/src/app/(dashboard)/explorer/page.tsx b/src/app/(dashboard)/explorer/page.tsx
index 4359238757..81945dc3a2 100644
--- a/src/app/(dashboard)/explorer/page.tsx
+++ b/src/app/(dashboard)/explorer/page.tsx
@@ -1,4 +1,5 @@
import { AuthBoundary } from "@/components/AuthBoundary";
+import { ConnectDiscord } from "@/components/ConnectDiscord";
import { SignInButton } from "@/components/SignInButton";
import { Suspense } from "react";
import {
@@ -42,6 +43,20 @@ const Explorer = async () => {
+ {/* TODO: delete this before merging the PR */}
+
+
+ Connect Discord
+
+ You must sign in before connecting your Discord account
+ }
+ >
+
+
+
+
{children}
-
+
+
+
+