Skip to content

Commit c2ff2db

Browse files
committed
✨ Ajout des composants admin et layout
1 parent ad00fe6 commit c2ff2db

File tree

5 files changed

+35
-4
lines changed

5 files changed

+35
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@props(['value'])
2+
3+
<p {{ $attributes->merge(['class' => 'flex items-baseline text-sm font-semibold text-red-600']) }}>
4+
<x-heroicon-s-arrow-sm-down class="self-center shrink-0 h-5 w-5 text-red-500" />
5+
<span class="sr-only">Decreased by</span> {{ $value }}
6+
</p>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@props(['value'])
2+
3+
<p {{ $attributes->merge(['class' => 'flex items-baseline text-sm font-semibold text-green-600']) }}>
4+
<x-heroicon-s-arrow-sm-up class="self-center shrink-0 h-5 w-5 text-green-500" />
5+
<span class="sr-only"> Increased by </span> {{ $value }}
6+
</p>

resources/views/components/layouts/admin-menu.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{ __('Catégories') }}
1313
</a>
1414
<a href="#" class="inline-flex text-sm font-medium rounded-md py-2 px-3 inline-flex items-center {{ active(['submissions*'], 'bg-green-50 text-green-800', 'text-skin-base hover:bg-skin-card-muted hover:text-skin-inverted') }}">
15-
{{ __('Soumissions') }} <span class="ml-2 text-sm leading-5 text-skin-inverted-muted">4</span>
15+
{{ __('Soumissions') }} {{--<span class="ml-2 text-sm leading-5 text-skin-inverted-muted">0</span>--}}
1616
</a>
1717
<a href="#" class="inline-flex text-sm font-medium rounded-md py-2 px-3 inline-flex items-center {{ active(['analytics*'], 'bg-green-50 text-green-800', 'text-skin-base hover:bg-skin-card-muted hover:text-skin-inverted') }}">
1818
{{ __('Analytics') }}

resources/views/components/layouts/cp.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
<div class="py-12 lg:pb-20">
5050
{{ $slot }}
5151
</div>
52+
53+
<x-layouts.footer />
5254
</div>
5355

5456
<x-notifications z-index="z-50" />
Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1-
<div>
2-
3-
</div>
1+
<footer class="mx-auto mt-24 w-full max-w-7xl px-4 sm:px-6">
2+
<div class="border-t border-skin-base py-10">
3+
<img class="mx-auto h-10 w-auto logo-white" src="{{ asset('/images/laravelcm.svg') }}" alt="Laravel.cm">
4+
<img class="mx-auto h-10 w-auto logo-dark" src="{{ asset('/images/laravelcm-white.svg') }}" alt="Laravel.cm">
5+
<p class="mt-5 text-center text-sm leading-6 text-skin-muted">
6+
© 2018 - {{ date('Y') }} Laravel Cameroun. Tous droits réservés.
7+
</p>
8+
<div class="mt-10 flex items-center justify-center space-x-4 text-sm font-medium leading-6 text-skin-base">
9+
<a class="hover:text-skin-inverted-muted hover:underline" href="{{ route('twitter') }}">Twitter</a>
10+
<div class="h-4 w-px bg-skin-card-gray"></div>
11+
<a class="hover:text-skin-inverted-muted hover:underline" href="{{ route('github') }}">Github</a>
12+
<div class="h-4 w-px bg-skin-card-gray"></div>
13+
<a class="hover:text-skin-inverted-muted hover:underline" href="{{ route('facebook') }}">Facebook</a>
14+
<div class="h-4 w-px bg-skin-card-gray"></div>
15+
<a class="hover:text-skin-inverted-muted hover:underline" href="{{ route('linkedin') }}">LinkedIn</a>
16+
<div class="h-4 w-px bg-skin-card-gray"></div>
17+
<a class="hover:text-skin-inverted-muted hover:underline" href="{{ route('youtube') }}">YouTube</a>
18+
</div>
19+
</div>
20+
</footer>

0 commit comments

Comments
 (0)