mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Update post context buttons, page nav, dockerfile
This commit is contained in:
parent
e7b31a716c
commit
b4d83e9a29
22 changed files with 124 additions and 48 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<div class="wa-stack wa-gap-3xl">
|
||||
<h1>{{ config('app.name') }}</h1>
|
||||
<wa-breadcrumb class="wa-heading-l">
|
||||
<wa-breadcrumb-item>{{ config('app.name') }}</wa-breadcrumb-item>
|
||||
</wa-breadcrumb>
|
||||
|
||||
<livewire:post-feature lazy />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
<span>
|
||||
<wa-icon name="{{ $name }}" variant="light" fixed-width @isset($slot) slot="{{ $slot }}" @endisset $attrs></wa-icon>
|
||||
</span>
|
||||
<wa-icon
|
||||
name="{{ $name }}"
|
||||
variant="light"
|
||||
label="{{ $label }}"
|
||||
fixed-width
|
||||
@isset($slot)
|
||||
slot="{{ $slot }}"
|
||||
@endisset
|
||||
style="{{ $style }}"
|
||||
$attrs
|
||||
></wa-icon>
|
||||
|
|
|
|||
|
|
@ -15,9 +15,14 @@
|
|||
Tags
|
||||
</a>
|
||||
|
||||
<a href="{{ route('tags.groups') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<livewire:app.icon name="layer-group" />
|
||||
Tag groups
|
||||
</a>
|
||||
|
||||
<a href="{{ route('users') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<livewire:app.icon name="users" />
|
||||
Users
|
||||
Profiles
|
||||
</a>
|
||||
@endauth
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
<div class="wa-split">
|
||||
<div class="wa-cluster wa-align-items-center">
|
||||
<wa-icon-button
|
||||
<wa-button
|
||||
href="{{ route('home') }}"
|
||||
name="paw-simple"
|
||||
appearance="plain"
|
||||
style="font-size: 1.5rem;"
|
||||
wire:navigate.hover>
|
||||
</wa-icon-button>
|
||||
<livewire:app.icon name="paw-simple" label="Home" style="font-size: 1.5rem;" />
|
||||
</wa-button>
|
||||
|
||||
@auth
|
||||
<wa-button appearance="plain" href="{{ route('posts.home') }}" wire:navigate.hover>
|
||||
|
|
@ -24,9 +23,14 @@
|
|||
Tags
|
||||
</wa-button>
|
||||
|
||||
<wa-button appearance="plain" href="{{ route('tags.groups') }}" wire:navigate.hover>
|
||||
<livewire:app.icon slot="start" name="layer-group" />
|
||||
Tag groups
|
||||
</wa-button>
|
||||
|
||||
<wa-button appearance="plain" href="{{ route('users') }}" wire:navigate.hover>
|
||||
<livewire:app.icon slot="start" name="users" />
|
||||
Users
|
||||
Profiles
|
||||
</wa-button>
|
||||
@endauth
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<article class="wa-stack">
|
||||
<a class="wa-frame wa-border-radius-l" style="max-inline-size: 15rem;" href="{{ url("/profiles/$user->id") }}" wire:navigate.hover>
|
||||
<article class="wa-stack nyaabooru-pfp">
|
||||
<a class="wa-frame wa-border-radius-l" style="inline-size: 15rem;" href="{{ url("/profiles/$user->id") }}" wire:navigate.hover>
|
||||
@if (\Illuminate\Support\Facades\Storage::has("avatars/$user->id"))
|
||||
<img src="{{ $user->getAvatarBase64() }}"/>
|
||||
@else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue