Design Refresh

This commit is contained in:
Roscoe 2026-01-23 23:16:08 +00:00
commit e7202174f7
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
44 changed files with 593 additions and 228 deletions

View file

@ -1,9 +1,21 @@
<x-layout>
<x-slot:title>Bookmarks</x-slot:title>
@if(auth()->check())
<a href="{{ route('bookmarks.create-category') }}">new category pretty please</a><br>
<a href="{{ route('bookmarks.create-bookmark') }}">new bookmark pretty please</a>
@endif
@foreach($categories as $category)
<div class="bookmark-category">
<h2>{{ $category->name }}</h2>
@if($category->id == 1)
@if(Auth::check())
<hr>
<form action="{{ route('bookmarks.destroy-category',$category->id) }}" method="POST">
@csrf
@method('DELETE')
<button type="submit">Delete</button>
</form>
@endif
@if($category->shuffled)
<p><em>(These are shuffled every load)</em></p>
@php
$sites = $category->sites->shuffle();
@ -16,7 +28,17 @@
<hr>
<ul>
@foreach($sites as $site)
<li><a href="{{ $site->url }}"><font color="#000000">{{ $site->name }}</font></a> - {{ $site->description }}</li>
<li>
<a href="{{ $site->url }}"><font color="#000000">{{ $site->name }}</font></a> - {{ $site->description }}
@if(Auth::check())
<hr>
<form action="{{ route('bookmarks.destroy-bookmark',$site->id) }}" method="POST">
@csrf
@method('DELETE')
<button type="submit">Delete</button>
</form>
@endif
</li>
@endforeach
</ul>
</div>