Skip to content
Snippets Groups Projects
Commit ed949438 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

Merge branch 'UserProfile' into 'main'

userProfile with clerk

See merge request !5
parents e846dc1e 93a5b9f7
No related branches found
No related tags found
1 merge request!5userProfile with clerk
Pipeline #34411 passed
import { ClerkProvider, UserButton, UserProfile } from "@clerk/nextjs";
import { dark } from '@clerk/themes';
export default function User({ params }: { params: { userid: string } }) {
return (
<div>
<h1>User Profile Page WIP</h1>
<p>Unique UserName: {params.userid}</p>
</div>
<UserProfile appearance={{baseTheme:dark}}/>
)
}
\ No newline at end of file
......@@ -9,6 +9,7 @@
"version": "0.2.0",
"dependencies": {
"@clerk/nextjs": "^4.18.4",
"@clerk/themes": "^1.7.3",
"@prisma/client": "^4.14.1",
"@radix-ui/react-dropdown-menu": "^2.0.4",
"@radix-ui/react-slot": "^1.0.1",
......@@ -182,6 +183,17 @@
"react": ">=16"
}
},
"node_modules/@clerk/themes": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/@clerk/themes/-/themes-1.7.3.tgz",
"integrity": "sha512-1/F4c6IdPmXffeLt+UFEGgZ7L0OCRUmjt7YEMCb56CRNTgFSBut3KnxLJOkIdFWoVL30I9Ul6QhEf+TgUJDtdg==",
"engines": {
"node": ">=14"
},
"peerDependencies": {
"react": ">=16"
}
},
"node_modules/@clerk/types": {
"version": "3.39.0",
"resolved": "https://registry.npmjs.org/@clerk/types/-/types-3.39.0.tgz",
......
......@@ -12,6 +12,7 @@
},
"dependencies": {
"@clerk/nextjs": "^4.18.4",
"@clerk/themes": "^1.7.3",
"@prisma/client": "^4.14.1",
"@radix-ui/react-dropdown-menu": "^2.0.4",
"@radix-ui/react-slot": "^1.0.1",
......
-- CreateTable
CREATE TABLE "Message" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"author" TEXT,
"gameId" TEXT,
"title" TEXT,
"content" TEXT NOT NULL,
"sentAt" DATETIME DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment