Cambios en vista de dashboard y blade, agregados logos de la bicicleteria

This commit is contained in:
Bryam105
2025-12-04 08:15:11 -03:30
parent f32205231f
commit 39eff03bc2
5 changed files with 24 additions and 19 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

+13 -13
View File
@@ -9,10 +9,10 @@
<title>{{ $title ?? 'Lauck - Home' }}</title>
</head>
<body class="bg-neutral-900 relative pb-50 min-h-screen">
<nav class="bg-white border-gray-200 dark:bg-gray-900">
<nav class="bg-white border-gray-200 dark:bg-green-950">
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="https://flowbite.com/" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="https://flowbite.com/docs/images/logo.svg" class="h-8" alt="Flowbite Logo" />
<a href="/" class="flex items-center text-white space-x-3 rtl:space-x-reverse">
<img src="{{ asset('img/logoLauck.png') }}" class="h-22" alt="Lauck Logo" />
<span
class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">{{ $navTitle ?? 'Lauck Home' }}</span>
</a>
@@ -27,9 +27,9 @@
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
@if ($auth)
@auth
<ul
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-green-950 dark:border-gray-700">
<li>
<a href="{{ route('dashboard') }}"
class="block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500">Home</a>
@@ -53,7 +53,7 @@
</ul>
@else
<ul
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-green-950 dark:border-gray-700">
<li>
<a href="{{ route('register') }}"
class="block py-2 px-3 dark:hover:bg-gray-700 dark:hover:text-white text-gray-900 rounded-sm hover:bg-gray-100 dark:text-white md:px-4 md:py-2 md:rounded-md md:text-white md:font-semibold md:bg-stone-500 md:hover:scale-105 transition">Registrate</a>
@@ -63,17 +63,17 @@
class="block py-2 px-3 dark:hover:bg-gray-700 dark:hover:text-white text-gray-900 rounded-sm hover:bg-gray-100 dark:text-white md:px-4 md:py-2 md:rounded-md md:text-white md:font-semibold md:bg-stone-500 md:hover:scale-105 transition">Iniciar Sesion</a>
</li>
</ul>
@endif
@endauth
</div>
</div>
</nav>
{{ $slot }}
<footer class="bg-white rounded-lg shadow-sm dark:bg-gray-900 absolute bottom-0 start-0 end-0">
<div class="w-full max-w-screen-xl mx-auto p-4 md:py-8">
<footer class="bg-white rounded-lg shadow-sm dark:bg-green-950 absolute bottom-0 start-0 end-0">
<div class="w-full max-w-7xl mx-auto p-4 md:py-8">
<div class="sm:flex sm:items-center sm:justify-between">
<a href="https://flowbite.com/" class="flex items-center mb-4 sm:mb-0 space-x-3 rtl:space-x-reverse">
<img src="https://flowbite.com/docs/images/logo.svg" class="h-8" alt="Flowbite Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">Flowbite</span>
<a href="../" class="flex items-center mb-4 sm:mb-0 space-x-3 rtl:space-x-reverse">
<img src="{{ asset('img/logoLauck.png') }}" class="h-8" alt="Bicicleterias Lauck Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">Cicles Lauck</span>
</a>
<ul
class="flex flex-wrap items-center mb-6 text-sm font-medium text-gray-500 sm:mb-0 dark:text-gray-400">
@@ -93,7 +93,7 @@
</div>
<hr class="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
<span class="block text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2023 <a
href="https://flowbite.com/" class="hover:underline">Flowbite™</a>. All Rights Reserved.</span>
href="../" class="hover:underline">Flowbite™</a>. All Rights Reserved.</span>
</div>
</footer>
</body>
+9 -4
View File
@@ -1,8 +1,13 @@
<x-appc>
<H1>BIENVENIDO {{ Auth::user()->name }} </H1>
<a href="{{ route('catalogo') }}">Ir a catalogo</a>
<form action="{{ route('logout') }}" method="post">
<x-slot name="title">Lauck - Dash</x-slot>
<div class="flex bg-gray-200 flex-col items-center justify-center gap-3 w-screen py-5">
<h1 class="font-extrabold text-3xl ">¡Bienvenido {{ Auth::user()->name }}! </h1>
<a class="font-bold border-2 rounded-2xl border-amber-300 py-1 px-2 hover:bg-amber-300 transition-all " href="{{ route('catalogo') }}">Ir a catalogo</a>
<form action="{{ route('logout') }}" method="post" >
@csrf
<button type="submit">Logout</button>
<button class="font-bold bg-red-300 py-1.5 px-3 hover:bg-red-700 hover:text-white transition-all" type="submit">Logout</button>
</form>
</div>
</x-appc>