feat: tg bot link

This commit is contained in:
2025-05-12 02:36:20 +03:00
parent d0cb13a7f1
commit 2d2d5699a3

View File

@@ -185,7 +185,12 @@ const ModalSettings: FunctionComponent<ModalWindowProps> = ({ isOpen, setIsOpen,
</div> </div>
<div class={cn({ hidden: !enableNotification })}> <div class={cn({ hidden: !enableNotification })}>
<div class="flex flex-col items-start gap-2"> <div class="flex flex-col items-start gap-2">
<span class="ms-5 text-sm">Telegram ID</span> <span class="ms-5 text-sm">
Telegram ID. Для работы перейдите в бота{" "}
<a href="https://t.me/antihvost_notif_bot" class="font-medium text-blue-600 hover:underline">
@antihvost_notif_bot
</a>
</span>
<div class="flex w-full flex-row items-center rounded-[4rem] px-5 py-3 leading-8 ring-2 ring-[rgba(206,232,251,0.7)]"> <div class="flex w-full flex-row items-center rounded-[4rem] px-5 py-3 leading-8 ring-2 ring-[rgba(206,232,251,0.7)]">
<input class="flex-1 outline-0" {...register("tgId")} placeholder={tgId} /> <input class="flex-1 outline-0" {...register("tgId")} placeholder={tgId} />
<XCircleIcon class="size-6 cursor-pointer" onClick={() => setValue("tgId", "")} /> <XCircleIcon class="size-6 cursor-pointer" onClick={() => setValue("tgId", "")} />