37 lines
1.4 KiB
PHP
Raw Normal View History

2022-06-01 10:15:55 +03:00
@if (! empty($modules) && ! empty($modules[0]))
@foreach ($modules as $item)
{!! $item !!}
@endforeach
@else
<div class="w-full lg:h-48 px-6 bg-dark-blue rounded-lg flex flex-col lg:flex-row justify-between items-center my-8">
<div class="w-full lg:w-1/2 flex flex-col self-end py-6">
2022-07-28 13:50:42 +03:00
<div
2022-11-02 12:14:16 +03:00
class="lg:h-28"
2022-07-28 13:50:42 +03:00
x-data="{
text: '',
textArray : ['{{ trans('modules.premium_banner') }}'],
textIndex: 0,
charIndex: 0,
typeSpeed: 100,
}"
x-init="setInterval(function(){
let current = $data.textArray[ $data.textIndex ];
$data.text = current.substring(0, $data.charIndex);
$data.charIndex += 1;
}, $data.typeSpeed);"
>
<h1 class="text-lg lg:text-7xl font-semibold text-white" x-text="text"></h1>
</div>
2022-06-01 10:15:55 +03:00
2022-08-03 14:04:32 +03:00
<x-link href="https://akaunting.com/plans" class="text-white transition-all hover:underline" override="class">
2022-06-01 10:15:55 +03:00
{{ trans('modules.learn_more') }}
2022-08-03 14:04:32 +03:00
</x-link>
2022-06-01 10:15:55 +03:00
</div>
<div class="hidden lg:block">
<img src="{{ asset('/public/img/akaunting-logo-gold.png') }}" class="h-40" alt="Akaunting" />
</div>
</div>
2022-07-28 13:50:42 +03:00
</div>
2022-06-01 10:15:55 +03:00
@endif