+ You don't have permission to manage roles. +
++ Define roles, choose which pages each role can open, and assign roles to members. +
+No roles to show.
+ )} ++ {total} member{total === 1 ? "" : "s"} +
+ ++ Add your own roles. Member is the fixed default. +
++ Pick the pages this role is allowed to open. +
+Select a role to edit its pages.
+ )} + + {selectedRole && routesLoading &&{user?.fullName ?? "Unnamed user"}
+{user?.email}
+
+ {loading ? (
+
+
Signing you in...
; +} \ No newline at end of file diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx new file mode 100644 index 0000000..b3eb44a --- /dev/null +++ b/src/pages/login/index.tsx @@ -0,0 +1,84 @@ +"use client"; + +import type { NextPage } from "next"; +import { loginWithGoogle } from "@/lib/supabase/actions/auth.actions"; + +const Login: NextPage = () => { + return ( ++ Sign in to continue to your account +
++ By continuing, you agree to our{" "} + + Terms of Service + {" "} + and{" "} + + Privacy Policy + + . +
+