Add dashboard upgrade banner for free POS plans.
Deploy Ladill POS / deploy (push) Successful in 1m0s
Deploy Ladill POS / deploy (push) Successful in 1m0s
Highlight Pro and Business plans on the register overview for merchants on the free tier. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@php $banner = config('pos.upgrade_banner'); @endphp
|
||||
@if (empty($hasPaidPlan) && ! empty($banner))
|
||||
<div class="flex flex-col gap-3 rounded-2xl border border-indigo-200 bg-gradient-to-r from-indigo-50 to-emerald-50 px-5 py-4 sm:flex-row sm:items-center sm:justify-between">
|
||||
<div>
|
||||
<p class="font-semibold text-slate-900">{{ $banner['title'] }}</p>
|
||||
<p class="mt-0.5 text-sm text-slate-600">{{ $banner['description'] }}</p>
|
||||
</div>
|
||||
<a href="{{ route($banner['route']) }}" class="btn-primary shrink-0">View plans</a>
|
||||
</div>
|
||||
@endif
|
||||
@@ -12,6 +12,8 @@
|
||||
])
|
||||
</div>
|
||||
|
||||
@include('partials.upgrade-banner')
|
||||
|
||||
<div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-4">
|
||||
<div class="rounded-2xl border border-slate-200 bg-white p-5">
|
||||
<p class="text-xs font-medium uppercase tracking-wide text-slate-400">Today's sales</p>
|
||||
|
||||
Reference in New Issue
Block a user