lasthourcloud/resources/views/livewire/layout-popups.blade.php

31 lines
1.8 KiB
PHP
Raw Normal View History

<div>
@if (data_get(auth()->user(), 'is_notification_sponsorship_enabled'))
2024-03-01 18:37:31 -08:00
<div class="toast">
<div class="flex flex-col text-white rounded alert bg-coolgray-200">
<span>Like Last Hour Cloud? <a href="https://lasthourhosting.org/" class="underline text-warning">Please
consider sharing about us!</a></span>
<span>Your support enables us to keep creating services that support sharing the Gospel of Jesus Christ. 1 John 2:18</span>
<x-forms.button class="bg-coolgray-400" wire:click='disableSponsorship'>Disable This Popup</x-forms.button>
</div>
2024-03-01 18:37:31 -08:00
</div>
@endif
@if (currentTeam()->serverOverflow())
2024-03-01 18:37:31 -08:00
<x-banner :closable=false>
<div><span class="font-bold text-red-500">WARNING:</span> The number of active servers exceeds the limit
covered by your payment. If not resolved, some of your servers <span class="font-bold text-red-500">will
be deactivated</span>. Visit <a href="{{ route('subscription.show') }}" class="text-white underline">/subscription</a> to update your subscription or remove some servers.
</div>
</x-banner>
@endif
@if (!currentTeam()->isAnyNotificationEnabled())
2024-03-01 18:37:31 -08:00
<div class="toast">
<div class="flex flex-col text-white rounded alert bg-coolgray-200">
<span><span class="font-bold text-red-500">WARNING:</span> No notifications enabled.<br><br> It is highly recommended to enable at least
one
notification channel to receive important alerts.<br>Visit <a href="{{ route('notification.index') }}" class="text-white underline">/notification</a> to enable notifications.</span>
<x-forms.button class="bg-coolgray-400" wire:click='disableNotifications'>Disable This
Popup</x-forms.button>
</div>
2024-03-01 18:37:31 -08:00
</div>
@endif
2024-03-01 18:37:31 -08:00
</div>