import RotatingIcons from "./RotatingIcons"; import Hero from "./Hero"; import { Navbar } from "./Navbar"; import Cta from "./Cta"; import { Toaster } from "@repo/ui/shadcn/toaster"; import Features from "./Features"; import Footer from "./footer"; import { auth } from "@/server/auth"; import Services from "./Features/index"; import { Showcases } from "./Showcase"; import BackgroundPlus from "./GridPatterns/PlusGrid"; import { redirect } from "next/navigation"; export const runtime = "edge"; export default async function Home() { const user = await auth(); if (user) { await redirect("/home"); } return ( <> {/* Background gradients */} {/* a blue gradient line that's slightly tilted with blur (a lotof blur)*/} {/* */} {/* */} {/* Hero section */} {/* Features section */} > ); }