{{ if .telegramEnabled }}
<div id="modal-telegram" class="modal">
    <div class="card relative mx-auto my-[10%] w-4/5 lg:w-1/3">
        <span class="heading mb-4">{{ .strings.linkTelegram }}</span>
        <p class="content mb-4">{{ .strings.sendPIN }}</p>
        <p class="text-center text-2xl mb-2 pin"></p>
        <a class="subheading link link-center" href="{{ .telegramURL }}" target="_blank">
            <span class="shield ~info mr-4">
                <span class="icon">
                    <i class="ri-telegram-line"></i>
                </span>
            </span>
            &#64;<span class="username">{{ .telegramUsername }}</span>
        </a>
        <span class="button ~info @low full-width center mt-4" id="telegram-waiting">{{ .strings.success }}</span>
    </div>
</div>
{{ end }}
