logged out chat modal, call to action

This commit is contained in:
2026-04-22 21:05:53 +02:00
parent 52e0a65113
commit 64bd5c429e
7 changed files with 75 additions and 45 deletions

View File

@@ -1,7 +1,6 @@
'use client'
import Link from 'next/link'
import { MessageCircle } from 'lucide-react'
import { Show } from '@clerk/nextjs'
import { Button } from '~/components/ui/button'
import { usePathname } from 'next/navigation'
export default function ChatFAB() {
@@ -10,15 +9,13 @@ export default function ChatFAB() {
return (
<>
{!isChat &&
<Show when="signed-in">
<div className="fixed bottom-6 right-6 z-50">
<Button asChild size="icon" className="h-14 w-14 rounded-full shadow-lg">
<Link href="/assistant">
<MessageCircle className="h-6 w-6" />
</Link>
</Button>
</div>
</Show>
<div className="fixed bottom-6 right-6 z-50">
<Button asChild size="icon" className="h-14 w-14 rounded-full shadow-lg">
<Link href="/assistant">
<MessageCircle className="h-6 w-6" />
</Link>
</Button>
</div>
}
</>
)