aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(landing)/page.tsx
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-05-25 23:02:47 -0500
committerDhravya <[email protected]>2024-05-25 23:02:47 -0500
commitbbe83ab76f2882ec78c6f2b7db77cedf62b50036 (patch)
tree9a1c0ebbefde38d9186b1c3d5cbeeb20085b8717 /apps/web/app/(landing)/page.tsx
parentre-added license, readme, etc. (diff)
downloadsupermemory-v2-refactor.tar.xz
supermemory-v2-refactor.zip
added kartik's codev2-refactor
Diffstat (limited to 'apps/web/app/(landing)/page.tsx')
-rw-r--r--apps/web/app/(landing)/page.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/web/app/(landing)/page.tsx b/apps/web/app/(landing)/page.tsx
index 36f0ce8d..e3201912 100644
--- a/apps/web/app/(landing)/page.tsx
+++ b/apps/web/app/(landing)/page.tsx
@@ -6,6 +6,7 @@ import { Toaster } from "@repo/ui/src/shadcn/toaster";
import Features from "./Features";
import Footer from "./footer";
import { auth } from "../helpers/server/auth";
+import { redirect } from "next/navigation";
export const runtime = "edge";
@@ -14,8 +15,12 @@ export default async function Home() {
console.log(user);
+ if (user) {
+ // await redirect("/home")
+ }
+
return (
- <main className="dark flex min-h-screen flex-col items-center overflow-x-hidden px-2 md:px-0">
+ <main className="flex min-h-screen flex-col items-center overflow-x-hidden px-2 md:px-0">
<Navbar />
{/* Background gradients */}