Add dashboard upgrade banner for free Frontdesk plans.
Deploy Ladill Frontdesk / deploy (push) Successful in 1m13s
Deploy Ladill Frontdesk / deploy (push) Successful in 1m13s
Show the Pro upsell CTA on the reception dashboard so free orgs can discover plans without opening the sidebar. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
@include('frontdesk.partials.reception-quick-actions')
|
||||
</div>
|
||||
|
||||
@include('partials.upgrade-banner')
|
||||
|
||||
<div class="grid grid-cols-2 gap-4 lg:grid-cols-4">
|
||||
@foreach ($cards as $card)
|
||||
<a href="{{ $card['href'] }}" class="rounded-2xl border border-slate-200 bg-white p-5 transition hover:border-indigo-300 hover:shadow-sm">
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
@php $banner = config('frontdesk.upgrade_banner'); @endphp
|
||||
@if (empty($hasPaidPlan) && ! empty($banner))
|
||||
<div class="mb-6 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
|
||||
Reference in New Issue
Block a user