diff --git a/app/globals.css b/app/globals.css
index 52a8d2d..69939b8 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -73,4 +73,16 @@
body {
@apply bg-background text-foreground;
}
+}
+
+.gradient-button-bg {
+ background: radial-gradient(circle at top, #a5b4fc, #3730a3); /* violet 300 -> 800 */
+}
+
+.gradient-button {
+ background: radial-gradient(circle at bottom, #312e81 0%, hsl(0 0% 3.9%) 100%); /* violet 900 -> bg */
+}
+
+.gradient-button-bg > div:hover {
+ background: radial-gradient(circle at bottom, #312e81 0%, hsl(0 0% 3.9%) 150%); /* violet 900 -> bg */
}
\ No newline at end of file
diff --git a/app/page.tsx b/app/page.tsx
index 755f76a..c7327ff 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,15 +1,23 @@
import Image from "next/image"
import Logo from "@/assets/logo.svg"
import XLogo from "@/assets/x.svg"
-import { Button } from "@/components/ui/button"
+import Button from "@/components/ui/customButton"
import { ChevronRight } from "lucide-react"
import Link from "next/link"
+import { currentUser } from "@clerk/nextjs"
+import { redirect } from "next/navigation"
+
+export default async function Home() {
+ const user = await currentUser()
+
+ if (user) {
+ redirect("/dashboard")
+ }
-export default function Home() {
return (
- {/*
+
+
A Collaborative, AI-Powered, Auto-Scaling Code Editor
diff --git a/assets/logo.svg b/assets/logo.svg
index 3fec864..b5c4b5e 100644
--- a/assets/logo.svg
+++ b/assets/logo.svg
@@ -1,27 +1,18 @@
-