Merge branch 'master' into feat/organizations
This commit is contained in:
@@ -298,7 +298,7 @@ export default function ActivityPage() {
|
||||
<div className="rounded-xl border border-slate-200 bg-white px-8 py-6 shadow-sm">
|
||||
<p className="text-sm text-slate-600">Sign in to view the feed.</p>
|
||||
<SignInButton
|
||||
mode="modal"
|
||||
mode="redirect"
|
||||
forceRedirectUrl="/activity"
|
||||
signUpForceRedirectUrl="/activity"
|
||||
>
|
||||
|
||||
13
frontend/src/app/sign-in/[[...rest]]/page.tsx
Normal file
13
frontend/src/app/sign-in/[[...rest]]/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import { SignIn } from "@clerk/nextjs";
|
||||
|
||||
export default function SignInPage() {
|
||||
// Dedicated sign-in route for Cypress E2E.
|
||||
// Avoids modal/iframe auth flows and gives Cypress a stable top-level page.
|
||||
return (
|
||||
<main className="flex min-h-screen items-center justify-center bg-slate-50 p-6">
|
||||
<SignIn routing="path" path="/sign-in" forceRedirectUrl="/activity" />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user