Reorganize Woo Manager mobile header and store switcher placement.
Deploy Ladill Woo Manager / deploy (push) Successful in 1m7s

Desktop store switcher now sits after search; mobile shows route-based page titles, bottom nav, and store switching inside the profile sheet.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-07 02:45:14 +00:00
co-authored by Cursor
parent 26b1d5b433
commit 93bfc3e2d2
18 changed files with 165 additions and 20 deletions
@@ -2,7 +2,7 @@
<x-slot name="title">{{ $category->exists ? 'Edit category' : 'New category' }}</x-slot>
<div class="mx-auto max-w-2xl space-y-6">
<div>
<h1 class="text-xl font-semibold text-slate-900">{{ $category->exists ? 'Edit category' : 'New category' }}</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">{{ $category->exists ? 'Edit category' : 'New category' }}</h1>
<p class="mt-1 text-sm text-slate-500">Changes sync to WooCommerce when the Ladill plugin is connected.</p>
</div>
@@ -3,7 +3,7 @@
<div class="space-y-6">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
<h1 class="text-xl font-semibold text-slate-900">Categories</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">Categories</h1>
<p class="mt-1 text-sm text-slate-500">
@if($store)
Categories for {{ $store->site_name ?? $store->site_url }}.
+1 -1
View File
@@ -2,7 +2,7 @@
<x-slot name="title">Overview</x-slot>
<div class="space-y-6">
<div>
<h1 class="text-xl font-semibold text-slate-900">Woo Manager</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">Woo Manager</h1>
<p class="mt-1 text-sm text-slate-500">
@if($currentStore)
Managing <strong>{{ $currentStore->site_name ?? $currentStore->site_url }}</strong> switch stores from the top bar.
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="space-y-6">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
<h1 class="text-xl font-semibold text-slate-900">Orders</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">Orders</h1>
<p class="mt-1 text-sm text-slate-500">
@if($store)
Orders for {{ $store->site_name ?? $store->site_url }}.
+1 -1
View File
@@ -12,7 +12,7 @@
@endif
<div class="rounded-2xl border border-slate-200 bg-white px-6 py-5">
<h1 class="text-2xl font-bold text-slate-900">Choose your Woo Manager plan</h1>
<h1 class="hidden text-2xl font-bold text-slate-900 lg:block">Choose your Woo Manager plan</h1>
<p class="mt-1 text-sm text-slate-600">Pay monthly from your Ladill wallet, or prepay 6/12/24 months via Paystack.</p>
@if ($gatingActive && ! ($subscription && $subscription->entitled()))
<div class="mt-4 flex flex-wrap gap-2">
+1 -1
View File
@@ -2,7 +2,7 @@
<x-slot name="title">{{ $product->exists ? 'Edit product' : 'New product' }}</x-slot>
<div class="mx-auto max-w-5xl space-y-6">
<div>
<h1 class="text-xl font-semibold text-slate-900">{{ $product->exists ? 'Edit product' : 'New product' }}</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">{{ $product->exists ? 'Edit product' : 'New product' }}</h1>
<p class="mt-1 text-sm text-slate-500">Changes sync to WooCommerce when the Ladill plugin is connected.</p>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="space-y-6">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
<h1 class="text-xl font-semibold text-slate-900">Products</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">Products</h1>
<p class="mt-1 text-sm text-slate-500">
@if($currentStore)
Products for {{ $currentStore->site_name ?? $currentStore->site_url }}.
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="space-y-6">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
<h1 class="text-xl font-semibold text-slate-900">Stores</h1>
<h1 class="hidden text-xl font-semibold text-slate-900 lg:block">Stores</h1>
<p class="mt-1 text-sm text-slate-500">WooCommerce sites connected via the Ladill plugin.</p>
@if(! $hasPaidPlan)
<p class="mt-1 text-xs text-slate-500">{{ $storeCount }}/{{ min($storeLimit, 1) }} store(s) on free plan</p>