diff --git a/resources/views/catalogo/index.blade.php b/resources/views/catalogo/index.blade.php index 717bac2..b50f89f 100644 --- a/resources/views/catalogo/index.blade.php +++ b/resources/views/catalogo/index.blade.php @@ -8,14 +8,14 @@ @if ($products->count() > 0)
@foreach ($products as $product) -
+
{{-- Imagen si existe --}} @if (!empty($product->image_path)) {{ $product->name }} @else -
- Sin imagen +
+ Sin imagen
@endif @@ -25,18 +25,18 @@ {{-- Descripción corta --}}
@if (!empty($product->description)) -

{{ $product->description }}

+

{{ $product->description }}

@endif
{{-- Precio --}} @if (!empty($product->price)) -

${{ number_format($product->price, 2, ',', '.') }}

+

${{ number_format($product->price, 2, ',', '.') }}

@endif {{-- Botón --}} + class="mt-4 block w-full bg-neutral-900 dark:bg-neon-lime/80 uppercase text-neon-lime dark:text-black font-semibold py-2 rounded-lg text-center shadow-md shadow-gray-900/10 dark:shadow-neon-lime/10 hover:bg-neon-lime hover:dark:bg-neutral-900/70 border border-transparent hover:text-black hover:dark:text-neon-lime hover:border-black hover:dark:border-neon-lime transition-all"> Ver + diff --git a/resources/views/catalogo/show.blade.php b/resources/views/catalogo/show.blade.php index 4e94d0c..a137c90 100644 --- a/resources/views/catalogo/show.blade.php +++ b/resources/views/catalogo/show.blade.php @@ -3,23 +3,23 @@
- + Volver al Catálogo -
+
- -
+ +
@if($product->image_path) {{ $product->name }} @else -
+
Sin Imagen
@@ -27,7 +27,7 @@
- + @if($product->type == 'bike') Bicicleta @elseif($product->type == 'clothing') @@ -42,34 +42,34 @@
- -
+ +
-
-

SKU: {{ $product->sku ?? 'N/A' }}

-

{{ $product->name }}

+
+

SKU: {{ $product->sku ?? 'N/A' }}

+

{{ $product->name }}

@if($product->stock_quantity > 5) - - En Stock ({{ $product->stock_quantity }} unid.) + + En Stock ({{ $product->stock_quantity }} unid.) @elseif($product->stock_quantity > 0) - - ¡Últimas Unidades! ({{ $product->stock_quantity }}) + + ¡Últimas Unidades! ({{ $product->stock_quantity }}) @else - Agotado + Agotado @endif
- Precio Contado + Precio Contado
- ${{ number_format($product->price, 0, ',', '.') }} + ${{ number_format($product->price, 0, ',', '.') }} ARG

* Consultar financiación en el local.

@@ -77,20 +77,20 @@
-

Descripción

-

+

Descripción

+

{{ $product->description ?? 'Sin descripción detallada disponible para este producto. Por favor, acérquese al local para más información.' }}

- - + WhatsApp diff --git a/resources/views/components/forms/input.blade.php b/resources/views/components/forms/input.blade.php index 5f0c99c..dfe5fa1 100644 --- a/resources/views/components/forms/input.blade.php +++ b/resources/views/components/forms/input.blade.php @@ -1,6 +1,6 @@ @props(['disabled' => false, 'error' => null]) -merge(['class' => 'bg-neutral-800 border-neutral-700 text-white text-sm rounded-lg focus:ring-neon-lime focus:border-neon-lime block w-full p-2.5 placeholder-gray-500 transition-colors ' . ($error ? 'border-red-500 focus:border-red-500 focus:ring-red-500' : '')]) !!}> +merge(['class' => 'bg-gray-300 dark:bg-neutral-800 border border-neutral-400 dark:border-neutral-700 dark:text-white text-sm rounded-lg focus:ring-neon-lime focus:border-neon-lime block w-full p-2.5 placeholder-neutral-600 dark:placeholder-gray-400 transition-colors ' . ($error ? 'border-red-500 focus:border-red-500 focus:ring-red-500' : '')]) !!}> @if($error)

{{ $error }}

diff --git a/resources/views/components/forms/label.blade.php b/resources/views/components/forms/label.blade.php index e729c95..57439de 100644 --- a/resources/views/components/forms/label.blade.php +++ b/resources/views/components/forms/label.blade.php @@ -1,5 +1,5 @@ @props(['value']) -