added userbutton for logout and profile
This commit is contained in:
parent
11ef6daf23
commit
e46ff98377
@ -1,14 +1,11 @@
|
|||||||
import { Button } from "@/components/ui/button"
|
import { UserButton } from "@clerk/nextjs";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<p className='text-3xl font-bold text-indigo-500'>
|
<UserButton
|
||||||
Hello Discord Clone
|
afterSignOutUrl="/"
|
||||||
</p>
|
/>
|
||||||
<Button>
|
</div>
|
||||||
Click me
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user