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