Cambios en catalogo y rutas
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
<img src="{{ asset('storage/' . $prod->img) }}" alt="{{ $prod->name }}"
|
<img src="{{ asset('storage/' . $prod->img) }}" alt="{{ $prod->name }}"
|
||||||
class="w-full h-40 object-cover rounded mb-4">
|
class="w-full h-40 object-cover rounded mb-4">
|
||||||
@else
|
@else
|
||||||
<div class="w-full h-40 bg-lime-500 flex items-center justify-center rounded mb-4">
|
<div class="w-full border border-neutral-800 h-40 bg-stone-900 flex items-center justify-center rounded mb-4">
|
||||||
<span class="text-neutral-900 text-md uppercase font-bold">Sin imagen</span>
|
<span class="text-neon-lime text-md uppercase font-bold">Sin imagen</span>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
|
|
||||||
{{-- Botón --}}
|
{{-- Botón --}}
|
||||||
<a href="{{ route('productos.show', $prod) }}"
|
<a href="{{ route('productos.show', $prod) }}"
|
||||||
class="mt-4 block w-full bg-blue-500 text-white py-2 rounded-lg text-center hover:bg-blue-600">
|
class="mt-4 block w-full bg-neon-lime/80 uppercase text-black font-semibold py-2 rounded-lg text-center shadow-md shadow-neon-lime/10 hover:bg-neutral-900/70 border border-transparent hover:text-neon-lime hover:shadow-neon-lime/20 hover:border-neutral-800 transition-all">
|
||||||
Ver producto
|
Ver +
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,14 +1,17 @@
|
|||||||
<x-layout title="Home - Lauck">
|
<x-layout title="Home - Lauck">
|
||||||
<x-section-header subtitle="Inicio" title="Bicicleteria " highlight="Lauck"/>
|
<x-section-header subtitle="Inicio" title="Bicicleteria " highlight="Lauck"/>
|
||||||
|
|
||||||
|
<!-- Grid de Tarjetas -->
|
||||||
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full mb-12">
|
||||||
|
|
||||||
<!-- Tarjeta Catálogo -->
|
<!-- Tarjeta Catálogo -->
|
||||||
<div class="grid grid-cols-2 w-full h-80">
|
<x-ui.card href="{{ route('catalogo') }}" title="Catálogo" description="Ver bicicletas y productos." linkText="Ir al catalogo">
|
||||||
<a href="{{ url('/catalogo') }}" class="p-6 bg-gradient-to-br from-neutral-800 to-neutral-900 border border-neutral-700 rounded-xl flex flex-col justify-center items-center text-center hover:border-neon-lime transition-all">
|
<svg class="w-12 h-12 text-neon-lime" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" /></svg>
|
||||||
<span class="text-4xl font-black text-white">85%</span>
|
</x-ui.card>
|
||||||
<span class="text-xs uppercase tracking-widest text-gray-500 mt-1">Eficiencia Taller</span>
|
|
||||||
<div class="w-full bg-gray-700 rounded-full h-1.5 mt-4">
|
<!-- Tarjeta Catálogo -->
|
||||||
<div class="bg-neon-lime h-1.5 rounded-full" style="width: 85%"></div>
|
<x-ui.card href="{{-- url('/taller') --}}#" title="Se va a cambiar por Carrousel de + frec" description="." linkText="Ir">
|
||||||
</div>
|
</x-ui.card>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</x-layout>
|
</x-layout>
|
||||||
|
|||||||
+1
-3
@@ -24,9 +24,7 @@ Route::post('login', LoginController::class)
|
|||||||
->middleware('throttle:5,1')
|
->middleware('throttle:5,1')
|
||||||
->name('login.attempt');
|
->name('login.attempt');
|
||||||
|
|
||||||
Route::view('dashboard', 'dashboard')
|
Route::view('dashboard', 'dashboard')->middleware('auth')->name('dashboard');
|
||||||
->middleware('auth')
|
|
||||||
->name('dashboard');
|
|
||||||
|
|
||||||
Route::post('logout', function(){
|
Route::post('logout', function(){
|
||||||
Auth::guard('web')->logout();
|
Auth::guard('web')->logout();
|
||||||
|
|||||||
Reference in New Issue
Block a user