New layouts
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
<x-layouts::app :title="__('Create Price')">
|
||||
<div class="space-y-6">
|
||||
<section class="overflow-hidden rounded-3xl bg-gradient-to-br from-slate-950 via-slate-900 to-cyan-950 p-6 text-white shadow-xl sm:p-8">
|
||||
<div class="flex flex-col gap-6 lg:flex-row lg:items-center lg:justify-between">
|
||||
<div>
|
||||
<p class="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-300">MPBA WMS</p>
|
||||
<h1 class="mt-3 text-3xl font-bold tracking-tight sm:text-4xl">Create price</h1>
|
||||
<p class="mt-3 max-w-3xl text-base leading-7 text-slate-300">
|
||||
Add a professional pricing card with billing values, feature bullets and visibility controls.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<a href="{{ route('platform.prices.index') }}" wire:navigate class="w-fit rounded-xl bg-white/10 px-4 py-2 text-sm font-semibold text-white ring-1 ring-white/15 hover:bg-white/15">
|
||||
Back to prices
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<x-wms.page-hero
|
||||
eyebrow="Administration"
|
||||
title="Create Price"
|
||||
description="Add a professional pricing card with billing values, feature bullets and visibility controls."
|
||||
icon="fa-solid fa-circle-plus"
|
||||
>
|
||||
<a href="{{ route('platform.prices.index') }}" wire:navigate class="rounded-xl bg-white px-4 py-3 text-sm font-bold text-slate-950 shadow-lg hover:bg-cyan-50">
|
||||
Back to prices
|
||||
</a>
|
||||
</x-wms.page-hero>
|
||||
<section class="rounded-3xl border border-zinc-200 bg-white p-6 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">
|
||||
<form method="POST" action="{{ route('platform.prices.store') }}" class="space-y-6">
|
||||
@csrf
|
||||
|
||||
@@ -1,21 +1,15 @@
|
||||
<x-layouts::app :title="__('Edit Price')">
|
||||
<div class="space-y-6">
|
||||
<section class="overflow-hidden rounded-3xl bg-gradient-to-br from-slate-950 via-slate-900 to-cyan-950 p-6 text-white shadow-xl sm:p-8">
|
||||
<div class="flex flex-col gap-6 lg:flex-row lg:items-center lg:justify-between">
|
||||
<div>
|
||||
<p class="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-300">MPBA WMS</p>
|
||||
<h1 class="mt-3 text-3xl font-bold tracking-tight sm:text-4xl">Edit {{ $price->name }}</h1>
|
||||
<p class="mt-3 max-w-3xl text-base leading-7 text-slate-300">
|
||||
Update pricing, feature text and card visibility while keeping the platform pricing display consistent.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<a href="{{ route('platform.prices.index') }}" wire:navigate class="w-fit rounded-xl bg-white/10 px-4 py-2 text-sm font-semibold text-white ring-1 ring-white/15 hover:bg-white/15">
|
||||
Back to prices
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<x-wms.page-hero
|
||||
eyebrow="Administration"
|
||||
:title="'Edit ' . $price->name"
|
||||
description="Update pricing, feature text and card visibility while keeping the platform pricing display consistent."
|
||||
icon="fa-solid fa-pen-to-square"
|
||||
>
|
||||
<a href="{{ route('platform.prices.index') }}" wire:navigate class="rounded-xl bg-white px-4 py-3 text-sm font-bold text-slate-950 shadow-lg hover:bg-cyan-50">
|
||||
Back to prices
|
||||
</a>
|
||||
</x-wms.page-hero>
|
||||
<section class="rounded-3xl border border-zinc-200 bg-white p-6 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">
|
||||
<form method="POST" action="{{ route('platform.prices.update', $price) }}" class="space-y-6">
|
||||
@csrf
|
||||
|
||||
@@ -1,22 +1,15 @@
|
||||
<x-layouts::app :title="__('Platform Prices')">
|
||||
<div class="space-y-6">
|
||||
<div class="flex flex-wrap items-center justify-between gap-3">
|
||||
<div>
|
||||
<p class="text-sm font-semibold text-zinc-500 dark:text-zinc-400">
|
||||
Customer-facing plan cards managed from Platform.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-wrap gap-3">
|
||||
<a href="{{ route('platform.dashboard') }}" wire:navigate class="rounded-xl border border-zinc-200 bg-white px-4 py-2 text-sm font-semibold text-zinc-700 shadow-sm hover:border-cyan-400 hover:text-cyan-700 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-200">
|
||||
Platform dashboard
|
||||
</a>
|
||||
<a href="{{ route('platform.prices.create') }}" wire:navigate class="rounded-xl bg-cyan-500 px-4 py-2 text-sm font-bold text-slate-950 shadow-lg shadow-cyan-950/20 hover:bg-cyan-400">
|
||||
Add price
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<x-wms.page-hero
|
||||
eyebrow="Administration"
|
||||
title="Pricing Administration"
|
||||
description="Create, edit and publish the platform pricing cards shown under Platform."
|
||||
icon="fa-solid fa-tags"
|
||||
>
|
||||
<a href="{{ route('platform.prices.create') }}" wire:navigate class="rounded-xl bg-white px-4 py-3 text-sm font-bold text-slate-950 shadow-lg hover:bg-cyan-50">
|
||||
Add price
|
||||
</a>
|
||||
</x-wms.page-hero>
|
||||
@if (session('status'))
|
||||
<div class="rounded-2xl border border-emerald-200 bg-emerald-50 px-5 py-4 text-sm font-semibold text-emerald-800 dark:border-emerald-900/60 dark:bg-emerald-950/40 dark:text-emerald-200">
|
||||
{{ session('status') }}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<x-layouts::app :title="__('Pricing')">
|
||||
<div class="space-y-6">
|
||||
<x-wms.page-hero
|
||||
eyebrow="Platform"
|
||||
title="Pricing"
|
||||
description="Clear platform pricing for Basic, Advanced and Pro access."
|
||||
icon="fa-solid fa-tags"
|
||||
/>
|
||||
<section class="grid gap-5 lg:grid-cols-3">
|
||||
@forelse ($prices as $price)
|
||||
@php
|
||||
|
||||
Reference in New Issue
Block a user