creo que por ahora voy bien
This commit is contained in:
@@ -1,62 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<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 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
|
||||
</a></li>
|
||||
|
||||
@if (Route::has('register'))
|
||||
<li><a
|
||||
href="{{ route('register') }}"
|
||||
>
|
||||
Register
|
||||
</a></li>
|
||||
@endif
|
||||
@endauth
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
<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">
|
||||
<div class="bg-white p-4 rounded-lg shadow">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="bg-gray-800 text-white p-4 text-center">
|
||||
<p>© 2025 Recetario Fede</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@extends('layouts.public')
|
||||
@section('content')
|
||||
<section class="mb-8">
|
||||
<h2 class="text-2xl font-semibold mb-4">Recetas Destacadas</h2>
|
||||
<div class="flex flex-grow" hx-get={{route('recetaspublicas.index', [], false) }} hx-trigger='load' hx-targer="innerHTML">Cargando ...</div>
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user