Prettified Code!

This commit is contained in:
gabek 2022-04-17 18:59:42 +00:00 committed by GitHub Action
parent efbe4bc3a3
commit 89a481ff66

View file

@ -357,24 +357,29 @@ export function NotifyButton({ serverName, onClick }) {
id="follow-button-popup" id="follow-button-popup"
class="text-gray-200 p-4 rounded-md" class="text-gray-200 p-4 rounded-md"
style=${{ display: showPopup ? 'block' : 'none' }} style=${{ display: showPopup ? 'block' : 'none' }}
> >
<div class="flex justify-between items-center mb-2"> <div class="flex justify-between items-center mb-2">
<div class="font-bold">Stay updated!</div> <div class="font-bold">Stay updated!</div>
<button <button
class="popout-close-button rounded-md p-1 color-gray-500" class="popout-close-button rounded-md p-1 color-gray-500"
onClick=${notifyPopupDismissedClicked} onClick=${notifyPopupDismissedClicked}
> >
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <svg
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"> class="w-6 h-6"
</path> fill="none"
</svg> stroke="currentColor"
</button> viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M6 18L18 6M6 6l12 12"
></path>
</svg>
</button>
</div> </div>
<button <button onClick=${buttonClicked} class="text-left hover:underline">
onClick=${buttonClicked}
class="text-left hover:underline"
>
<div>Click and never miss future streams!</div> <div>Click and never miss future streams!</div>
</button> </button>
</div> </div>