diff --git a/resources/views/components/alert2.blade.php b/resources/views/components/alert2.blade.php deleted file mode 100644 index 4c0f3a0..0000000 --- a/resources/views/components/alert2.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -
merge(['class'=>'p-4 mb-4 text-sm rounded-lg dark:bg-gray-800 '.$class])}} role="alert"> - {{$title}} {{$slot}} -
\ No newline at end of file diff --git a/resources/views/components/appc.blade.php b/resources/views/components/appc.blade.php index 0625513..a054ae7 100644 --- a/resources/views/components/appc.blade.php +++ b/resources/views/components/appc.blade.php @@ -1,100 +1,123 @@ @props(['auth' => false]) - + - {{ $title ?? 'Lauck - Home' }} + + + + + + - - + + {{ $slot }} + + + + + + \ No newline at end of file diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php new file mode 100644 index 0000000..c1105a8 --- /dev/null +++ b/resources/views/components/footer.blade.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php new file mode 100644 index 0000000..7af681d --- /dev/null +++ b/resources/views/components/layout.blade.php @@ -0,0 +1,66 @@ + + + + + + + {{ $title ?? 'Lauck Dashboard' }} + + + + + + + + + + + + + +
+ + + + + +
+ {{ $slot }} +
+ + + + + + + + \ No newline at end of file diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php new file mode 100644 index 0000000..b08ef68 --- /dev/null +++ b/resources/views/components/navbar.blade.php @@ -0,0 +1,47 @@ + \ No newline at end of file diff --git a/resources/views/components/section-header.blade.php b/resources/views/components/section-header.blade.php new file mode 100644 index 0000000..4864bbf --- /dev/null +++ b/resources/views/components/section-header.blade.php @@ -0,0 +1,11 @@ +@props(['subtitle', 'title', 'highlight' => null]) + +
+

{{ $subtitle }}

+

+ {{ $title }} + @if($highlight) + {{ $highlight }} + @endif +

+
\ No newline at end of file diff --git a/resources/views/components/ui/card.blade.php b/resources/views/components/ui/card.blade.php new file mode 100644 index 0000000..46cde58 --- /dev/null +++ b/resources/views/components/ui/card.blade.php @@ -0,0 +1,15 @@ +@props(['href' => '#', 'title', 'description', 'linkText' => 'Ver detalles']) + + + +
+ {{ $slot }} +
+ +

{{ $title }}

+

{{ $description }}

+ +
+ {{ $linkText }} +
+
\ No newline at end of file diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index fa37cee..4be0926 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -1,13 +1,49 @@ - - Lauck - Dash -
-

¡Bienvenido {{ Auth::user()->name }}!

- Ir a catalogo + + + + -
- @csrf - -
+ +
+ + + + + + + + + + + + + + + + +
+ 85% + Eficiencia Taller +
+
+
+
- + + +
+
+ @csrf + ¿Sesión finalizada? + +
+
+ +
\ No newline at end of file