From 8bcd37d8a578853dd30d34de443212981515d7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Elias=20Rios=20Nu=C3=B1ez?= Date: Thu, 11 Sep 2025 11:51:49 -0300 Subject: [PATCH] commit resources carpeta --- resources/css/app.css | 11 + resources/js/app.js | 1 + resources/js/bootstrap.js | 4 + resources/views/catalogo/crear.blade.php | 10 + resources/views/catalogo/index.blade.php | 18 ++ resources/views/prueba.blade.php | 31 +++ resources/views/welcome.blade.php | 277 +++++++++++++++++++++++ 7 files changed, 352 insertions(+) create mode 100644 resources/css/app.css create mode 100644 resources/js/app.js create mode 100644 resources/js/bootstrap.js create mode 100644 resources/views/catalogo/crear.blade.php create mode 100644 resources/views/catalogo/index.blade.php create mode 100644 resources/views/prueba.blade.php create mode 100644 resources/views/welcome.blade.php diff --git a/resources/css/app.css b/resources/css/app.css new file mode 100644 index 0000000..3e6abea --- /dev/null +++ b/resources/css/app.css @@ -0,0 +1,11 @@ +@import 'tailwindcss'; + +@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php'; +@source '../../storage/framework/views/*.php'; +@source '../**/*.blade.php'; +@source '../**/*.js'; + +@theme { + --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', + 'Segoe UI Symbol', 'Noto Color Emoji'; +} diff --git a/resources/js/app.js b/resources/js/app.js new file mode 100644 index 0000000..e59d6a0 --- /dev/null +++ b/resources/js/app.js @@ -0,0 +1 @@ +import './bootstrap'; diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js new file mode 100644 index 0000000..5f1390b --- /dev/null +++ b/resources/js/bootstrap.js @@ -0,0 +1,4 @@ +import axios from 'axios'; +window.axios = axios; + +window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; diff --git a/resources/views/catalogo/crear.blade.php b/resources/views/catalogo/crear.blade.php new file mode 100644 index 0000000..f464455 --- /dev/null +++ b/resources/views/catalogo/crear.blade.php @@ -0,0 +1,10 @@ +

Formulario para Crear Producto

+
+ + +
+ + +
+ +
\ No newline at end of file diff --git a/resources/views/catalogo/index.blade.php b/resources/views/catalogo/index.blade.php new file mode 100644 index 0000000..d97f33f --- /dev/null +++ b/resources/views/catalogo/index.blade.php @@ -0,0 +1,18 @@ +

Catálogo de Productos

+Crear nuevo producto + + + + + + + + + @foreach($productos as $producto) + + + + + @endforeach + +
NombrePrecio
{{ $producto->nombre }}${{ $producto->precio }}
\ No newline at end of file diff --git a/resources/views/prueba.blade.php b/resources/views/prueba.blade.php new file mode 100644 index 0000000..d85331d --- /dev/null +++ b/resources/views/prueba.blade.php @@ -0,0 +1,31 @@ + + + Mi Web + + +

!Hola Mundo!

+

Tu Dni es: {{$dni}}

+ + + @if (condicion) + #Logica a resolver + @endif + + @if (condicion) + #Logica a resolver + @else + #Logica a resolver + @endif + + @for ($i = 0; $i < 10; $i++) + #El valor actual es {{ $i }} + @endfor + + @while (true) +

Soy un bucle while infinito!

+ @endwhile + + @foreach ($users as $user) +

Usuario {{ $user->name }} con identificador:

+ @endforeach + \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php new file mode 100644 index 0000000..b7355d7 --- /dev/null +++ b/resources/views/welcome.blade.php @@ -0,0 +1,277 @@ + + + + + + + {{ config('app.name', 'Laravel') }} + + + + + + + @if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot'))) + @vite(['resources/css/app.css', 'resources/js/app.js']) + @else + + @endif + + +
+ @if (Route::has('login')) + + @endif +
+
+
+
+

Let's get started

+

Laravel has an incredibly rich ecosystem.
We suggest starting with the following.

+ + +
+
+ {{-- Laravel Logo --}} + + + + + + + + + + + {{-- Light Mode 12 SVG --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{-- Dark Mode 12 SVG --}} + +
+
+
+
+ + @if (Route::has('login')) + + @endif + +