added userbutton for logout and profile

This commit is contained in:
Bob Burningham 2023-10-07 13:15:12 -07:00
parent 11ef6daf23
commit e46ff98377

View File

@ -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>
) )
} }