primer intento de arreglar el footer
This commit is contained in:
@@ -6,44 +6,46 @@
|
|||||||
<title>Recetario</title>
|
<title>Recetario</title>
|
||||||
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-gray-100">
|
<body class="bg-gray-100 h-screen ">
|
||||||
<header class="bg-green-600 text-white p-6">
|
<div class="flex flex-col h-fit">
|
||||||
<h1 class="text-3xl font-bold">Recetario Fede</h1>
|
<header class="bg-green-600 text-white p-6">
|
||||||
<nav class="mt-4">
|
<h1 class="text-3xl font-bold">Recetario Fede</h1>
|
||||||
<ul class="flex space-x-4">
|
<nav class="mt-4">
|
||||||
<li><a href="#" class="hover:underline">Inicio</a></li>
|
<ul class="flex space-x-4">
|
||||||
<li><a href="#" class="hover:underline">Recetas</a></li>
|
<li><a href="#" class="hover:underline">Inicio</a></li>
|
||||||
<li><a href="#" class="hover:underline">Sobre Nosotros</a></li>
|
<li><a href="#" class="hover:underline">Recetas</a></li>
|
||||||
<li><a href="#" class="hover:underline">Contacto</a></li>
|
<li><a href="#" class="hover:underline">Sobre Nosotros</a></li>
|
||||||
@if (Route::has('login'))
|
<li><a href="#" class="hover:underline">Contacto</a></li>
|
||||||
@auth
|
@if (Route::has('login'))
|
||||||
<li>
|
@auth
|
||||||
<a
|
<li>
|
||||||
href="{{ url('/dashboard') }}"
|
<a
|
||||||
>
|
href="{{ url('/dashboard') }}"
|
||||||
Dashboard
|
>
|
||||||
|
Dashboard
|
||||||
</a></li>
|
</a></li>
|
||||||
@else
|
@else
|
||||||
<li><a
|
<li><a
|
||||||
href="{{ route('login') }}"
|
href="{{ route('login') }}"
|
||||||
>
|
>
|
||||||
Log in
|
Log in
|
||||||
</a></li>
|
</a></li>
|
||||||
|
|
||||||
@if (Route::has('register'))
|
@if (Route::has('register'))
|
||||||
<li><a
|
<li><a
|
||||||
href="{{ route('register') }}"
|
href="{{ route('register') }}"
|
||||||
>
|
>
|
||||||
Register
|
Register
|
||||||
</a></li>
|
</a></li>
|
||||||
@endif
|
@endif
|
||||||
@endauth
|
@endauth
|
||||||
@endif
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
</div>
|
||||||
|
|
||||||
<main class="p-6">
|
<main class="p-6 flex-1 overflow-auto">
|
||||||
<section class="mb-8">
|
<section class="mb-8">
|
||||||
<h2 class="text-2xl font-semibold mb-4">Recetas Destacadas</h2>
|
<h2 class="text-2xl font-semibold mb-4">Recetas Destacadas</h2>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||||
@@ -54,7 +56,7 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="bg-gray-800 text-white p-4 text-center">
|
<footer class="bg-gray-800 text-white p-4 text-center">
|
||||||
<p>© 2023 Recetario Fede</p>
|
<p>© 2025 Recetario Fede</p>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user