Add Campaigns module for grouping QR codes.
Deploy Ladill QR Plus / deploy (push) Successful in 1m6s
Deploy Ladill QR Plus / deploy (push) Successful in 1m6s
Let accounts organise codes by promo or launch, attach or detach codes, and view combined scan totals from the sidebar.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<x-user-layout>
|
||||
<x-slot name="title">New campaign</x-slot>
|
||||
|
||||
<div class="mx-auto max-w-xl space-y-6">
|
||||
<div>
|
||||
<a href="{{ route('qr.campaigns.index') }}" class="text-sm text-slate-500 hover:text-slate-700">← Campaigns</a>
|
||||
<h1 class="mt-2 text-2xl font-semibold text-slate-900">New campaign</h1>
|
||||
<p class="mt-1 text-sm text-slate-500">Name a launch or promo, then attach QR codes on the next screen.</p>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('qr.campaigns.store') }}" class="space-y-5 rounded-xl border border-slate-200 bg-white p-6">
|
||||
@csrf
|
||||
@include('qr.campaigns._form', ['campaign' => $campaign])
|
||||
<div class="flex justify-end gap-3">
|
||||
<a href="{{ route('qr.campaigns.index') }}" class="rounded-xl px-4 py-2 text-sm font-medium text-slate-600 hover:bg-slate-50">Cancel</a>
|
||||
<button type="submit" class="btn-primary">Create campaign</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</x-user-layout>
|
||||
Reference in New Issue
Block a user