diff options
Diffstat (limited to 'resources/views/bookmarks.blade.php')
-rw-r--r-- | resources/views/bookmarks.blade.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/views/bookmarks.blade.php b/resources/views/bookmarks.blade.php new file mode 100644 index 0000000..f75e9b4 --- /dev/null +++ b/resources/views/bookmarks.blade.php @@ -0,0 +1,24 @@ +<x-layout> + <x-slot:title>Bookmarks</x-slot:title> + @foreach($categories as $category) + <div class="section"> + <h2>{{ $category->name }}</h2> + @if($category->id == 1) + <p><em>(These are shuffled every load)</em></p> + @php + $sites = $category->sites->shuffle(); + @endphp + @else + @php + $sites = $category->sites; + @endphp + @endif + <hr> + <ul> + @foreach($sites as $site) + <li><a href="{{ $site->url }}">{{ $site->name }}</a> - {{ $site->description }}</li> + @endforeach + </ul> + </div> + @endforeach +</x-layout> |