diff --git a/app/Http/Controllers/CatalogoController.php b/app/Http/Controllers/CatalogoController.php
new file mode 100644
index 0000000..b7e5632
--- /dev/null
+++ b/app/Http/Controllers/CatalogoController.php
@@ -0,0 +1,16 @@
+delete();
return redirect(route('productos.index'));
}
+
+ public function vistaUsuario($id){
+ $producto = Product::find($id);
+ return view('productos.vistaUsuario', compact('producto'));
+ }
}
diff --git a/app/Http/Controllers/RegisterController.php b/app/Http/Controllers/RegisterController.php
index 7dc5bde..39f4fe1 100644
--- a/app/Http/Controllers/RegisterController.php
+++ b/app/Http/Controllers/RegisterController.php
@@ -13,7 +13,7 @@ class RegisterController extends Controller
{
$userData = $request->validate([
'name' => ['required', 'string'],
- 'email' => ['required', 'email'],
+ 'email' => ['required', 'email', 'unique:users,email'],
'password' => ['required', 'confirmed']
]);
diff --git a/public/img/logoLauck.png b/public/img/logoLauck.png
new file mode 100644
index 0000000..f0ac15f
Binary files /dev/null and b/public/img/logoLauck.png differ
diff --git a/public/img/logoLauckGem.png b/public/img/logoLauckGem.png
new file mode 100644
index 0000000..bddf046
Binary files /dev/null and b/public/img/logoLauckGem.png differ
diff --git a/public/img/logoLauckT.png b/public/img/logoLauckT.png
new file mode 100644
index 0000000..50e665b
Binary files /dev/null and b/public/img/logoLauckT.png differ
diff --git a/resources/views/catalogo.blade.php b/resources/views/catalogo.blade.php
new file mode 100644
index 0000000..3f718c4
--- /dev/null
+++ b/resources/views/catalogo.blade.php
@@ -0,0 +1,45 @@
+ {{ $prod->descripcion }} ${{ number_format($prod->precio, 2, ',', '.') }} No hay productos disponibles.CATÁLOGO
+
+ @if ($productos->count() > 0)
+
+ @else
+
{{ $prod->nombre }}
+
+ {{-- Descripción corta --}}
+ @if (!empty($prod->descripcion))
+