diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index cb6d79582..be26d55ca 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -344,7 +344,7 @@ @if (isInstanceAdmin() || session('impersonating'))
  • - diff --git a/resources/views/components/popup.blade.php b/resources/views/components/popup.blade.php index ace85425d..abb888150 100644 --- a/resources/views/components/popup.blade.php +++ b/resources/views/components/popup.blade.php @@ -7,29 +7,34 @@ x-transition:leave="transition ease-in duration-300" x-transition:leave-start="translate-y-0" x-transition:leave-end="translate-y-full" x-init="setTimeout(() => { bannerVisible = true }, bannerVisibleAfter);" class="fixed bottom-0 right-0 w-full h-auto duration-300 ease-out sm:px-5 sm:pb-5 w-full z-999" x-cloak> -
    + @isset($customActions) + {{ $customActions }} + @else
    - @if (isset($icon)) - - @endif + class="flex lg:items-center flex-col justify-between w-full h-full max-w-4xl p-6 mx-auto bg-white border shadow-lg lg:border-t dark:border-coolgray-300 border-neutral-200 dark:bg-coolgray-100 lg:p-8 lg:flex-row sm:rounded-sm"> +
    + @if (isset($icon)) + + @endif -
    -

    - {{ $title }} -

    -

    {{ $description }}

    +
    +

    + {{ $title }} +

    +

    {{ $description }}

    +
    +
    - -
    + @endisset +
    diff --git a/resources/views/livewire/layout-popups.blade.php b/resources/views/livewire/layout-popups.blade.php index c4dfa5288..ffaba4e00 100644 --- a/resources/views/livewire/layout-popups.blade.php +++ b/resources/views/livewire/layout-popups.blade.php @@ -6,7 +6,6 @@ }, isDevelopment: {{ isDev() ? 'true' : 'false' }}, init() { - console.log(this.isDevelopment); this.popups.sponsorship = this.shouldShowMonthlyPopup('popupSponsorship'); this.popups.notification = this.shouldShowMonthlyPopup('popupNotification'); this.popups.realtime = localStorage.getItem('popupRealtime'); @@ -87,31 +86,51 @@ @endif @endauth - @if (instanceSettings()->is_sponsorship_popup_enabled) + @if (instanceSettings()->is_sponsorship_popup_enabled && !isCloud()) - - Would you like to help us to make more cool things? - - - - - -
    - We are already profitable, but we would like to scale even further. -
    Please - consider donating on one of the following platforms.

    GitHub - Sponsors (registration required)

    - OpenCollective (no registration - required) + +
    + +
    +
    Would you like to help us to + make more cool + things? +
    +
    + We are already profitable thanks to YOU + but...
    we + would + like to + make + more cool features for you. +
    +
    + For this we need your help to support our work financially. +
    +
    +
    + GitHub + Sponsors + Open + Collective + Stripe +
    + Maybe next time +
    +
    - - - Disable This Popup - +
    @endif diff --git a/resources/views/livewire/upgrade.blade.php b/resources/views/livewire/upgrade.blade.php index ed5da8190..570a8d1dc 100644 --- a/resources/views/livewire/upgrade.blade.php +++ b/resources/views/livewire/upgrade.blade.php @@ -27,8 +27,7 @@