feat: user card styles
This commit is contained in:
@@ -102,9 +102,7 @@ export function FeedColumn({
|
||||
})
|
||||
}
|
||||
>
|
||||
<div className="flex justify-center py-2 mx-3 my-2 rounded-xl font-medium cursor-pointer bg-stone-300 text-zinc-600">
|
||||
<UserButton className="h-8" />
|
||||
</div>
|
||||
<UserButton className="h-12 mx-3 mb-2 mt-1" />
|
||||
<div className="flex text-zinc-500 w-full justify-between text-xl my-2 px-5">
|
||||
<TooltipProvider delayDuration={300}>
|
||||
{items.map((item, index) => (
|
||||
|
||||
@@ -19,7 +19,12 @@ export function UserButton({ className }: { className?: string }) {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={cn("h-20 flex items-center gap-2", className)}>
|
||||
<div
|
||||
className={cn(
|
||||
"h-20 flex items-center gap-2 justify-center py-2 px-5 rounded-xl font-medium cursor-pointer bg-stone-300 text-zinc-600",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<Avatar className="w-auto h-full aspect-square">
|
||||
<AvatarImage src={session?.user?.image || undefined} />
|
||||
<AvatarFallback>{session?.user?.name?.slice(0, 2)}</AvatarFallback>
|
||||
|
||||
@@ -24,7 +24,7 @@ export function Component() {
|
||||
|
||||
return (
|
||||
<div className="h-screen w-full flex items-center justify-center flex-col gap-10">
|
||||
<UserButton />
|
||||
<UserButton className="text-2xl bg-stone-100 px-10 py-4" />
|
||||
<h1 className="text-3xl font-bold">
|
||||
Successfully connected to ReadOK Account
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user