Files
isaacclad f45fdcd159
Deploy Ladill Link / deploy (push) Successful in 1m26s
Add Campaigns module for grouping short links.
Let accounts organise links by promo or launch, attach or detach links, and view combined click totals from the sidebar.
2026-07-16 20:43:11 +00:00

21 lines
1.0 KiB
PHP

<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('link.campaigns.index') }}" class="text-sm text-slate-500 hover:text-slate-700">&larr; 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 short links on the next screen.</p>
</div>
<form method="POST" action="{{ route('link.campaigns.store') }}" class="space-y-5 rounded-xl border border-slate-200 bg-white p-6">
@csrf
@include('links.campaigns._form', ['campaign' => $campaign])
<div class="flex justify-end gap-3">
<a href="{{ route('link.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>