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() {
|
||||
return (
|
||||
<div>
|
||||
<p className='text-3xl font-bold text-indigo-500'>
|
||||
Hello Discord Clone
|
||||
</p>
|
||||
<Button>
|
||||
Click me
|
||||
</Button>
|
||||
<UserButton
|
||||
afterSignOutUrl="/"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user