mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
🎂 fix: birthday icon (#2950)
* fix: tooltip and birthday icon * chore: update conditional render --------- Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
37ae484fbc
commit
9f0c1914a5
2 changed files with 11 additions and 9 deletions
|
|
@ -55,14 +55,16 @@ export default function Landing({ Header }: { Header?: ReactNode }) {
|
|||
className="h-2/3 w-2/3"
|
||||
size={41}
|
||||
/>
|
||||
<TooltipTrigger>
|
||||
{(startupConfig?.showBirthdayIcon ?? false) && (
|
||||
<BirthdayIcon className="absolute bottom-12 right-5" />
|
||||
)}
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="top" sideOffset={115} className="left-[20%]">
|
||||
{localize('com_ui_happy_birthday')}
|
||||
</TooltipContent>
|
||||
{!!startupConfig?.showBirthdayIcon && (
|
||||
<div>
|
||||
<TooltipTrigger>
|
||||
<BirthdayIcon className="absolute bottom-8 right-2.5" />
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="top" sideOffset={110} className="">
|
||||
{localize('com_ui_happy_birthday')}
|
||||
</TooltipContent>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{assistantName ? (
|
||||
<div className="flex flex-col items-center gap-0 p-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue