Skip to content

Commit

Permalink
feat: add tab system
Browse files Browse the repository at this point in the history
  • Loading branch information
robinparisi committed Sep 27, 2023
1 parent 425acab commit 9ece414
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions resources/views/components/filters/item.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@props(['label'])
@props(['label', 'filter'])

<button data-helium-filter="" class="inline-block rounded border bg-white px-3 py-2 text-sm font-medium hover:scale-105">
<button @isset($filter) data-helium-filter="{{ $filter }}" @endisset
class="inline-block rounded border bg-white px-3 py-2 text-sm font-medium hover:scale-105">
{{ $label }}
</button>
4 changes: 2 additions & 2 deletions resources/views/layout/admin.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
@yield('css')
@vite('resources/css/admin/app.css')
@vite('packages/helium-core/resources/css/app.css')
<title>Helium</title>
</head>

Expand All @@ -28,7 +28,7 @@
</div>
</div>
</main>
@vite('resources/js/admin/app.js')
@vite('packages/helium-core/resources/js/app.js')
@yield('js')
</body>

Expand Down

0 comments on commit 9ece414

Please sign in to comment.