-
Notifications
You must be signed in to change notification settings - Fork 2
/
todo.txt
52 lines (30 loc) · 1.06 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
icons green ==> black===> white
#e2f24b
//make freinds / teams up
// User model representing users of the system
model User {
id Int @id @default(autoincrement())
email String @unique
name String?
friends User[] @relation("Friends", references: [id])
saasAccount SaasAccount?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
// Define additional fields as needed
}
// SaasAccount model representing accounts in the SaaS platform
//custom sign OUT for demo login
import { useClerk } from "@clerk/clerk-react";
import { useRouter } from 'next/navigation'
const SignOutButton = () => {
const { signOut } = useClerk();
const router = useRouter()
return (
// Clicking on this button will sign out a user and reroute them to the "/" (home) page.
<button onClick={() => signOut(() => router.push("/"))}>
Sign out
</button>
);
};
// discord notion slack API routes change
from localhost (http not https) ===>> vercel