diff --git a/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx b/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx index 53d95220..3a48f679 100644 --- a/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx +++ b/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx @@ -4,6 +4,7 @@ import { auth, SignIn } from "@clerk/nextjs"; export default function Page() { const { userId } = auth(); + // TODO: we can improve the UX here. If user is logged in, (s)he will see the screen for a quick moment if (userId) { redirect("/app"); } diff --git a/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx b/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx index 4366ebcc..d47b3a72 100644 --- a/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx +++ b/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx @@ -4,6 +4,7 @@ import { auth, SignUp } from "@clerk/nextjs"; export default function Page() { const { userId } = auth(); + // TODO: we can improve the UX here. If user is logged in, (s)he will see the screen for a quick moment if (userId) { redirect("/app"); } diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/layout.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/layout.tsx index aecab5fc..80419c7d 100644 --- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/layout.tsx +++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/layout.tsx @@ -4,8 +4,8 @@ import { Shell } from "@/components/dashboard/shell"; import { AppHeader } from "@/components/layout/app-header"; import { AppMenu } from "@/components/layout/app-menu"; import { AppSidebar } from "@/components/layout/app-sidebar"; -import { Footer } from "@/components/layout/footer"; +// TODO: make the container min-h-screen and the footer below! export default function AppLayout({ children }: { children: React.ReactNode }) { return (
@@ -24,7 +24,6 @@ export default function AppLayout({ children }: { children: React.ReactNode }) {
-