mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
This commit is contained in:
parent
13307bc7f4
commit
e7b31a716c
19 changed files with 63 additions and 51 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<wa-card>
|
||||
<div class="wa-flank wa-align-items-start">
|
||||
<wa-avatar shape="rounded">
|
||||
<wa-icon slot="icon" name="{{ $icon }}"></wa-icon>
|
||||
<livewire:app.icon slot="icon" :name="$icon" />
|
||||
</wa-avatar>
|
||||
<div class="wa-stack wa-gap-2xs">
|
||||
<h3 class="wa-caption-m">{{ $title }}</h3>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="wa-split">
|
||||
<div class="wa-stack wa-gap-2xs">
|
||||
<div class="wa-cluster wa-heading-l">
|
||||
<wa-icon name="paw-simple"></wa-icon>
|
||||
<livewire:app.icon name="paw-simple" />
|
||||
<span>{{ config('app.name') }}</span>
|
||||
</div>
|
||||
<span class="wa-caption-l">© 2025 <a href="https://nyaastudios.io" target="_blank">NyaaStudios</a>; All rights reserved.</span>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,5 @@
|
|||
<div class="wa-stack wa-gap-3xl">
|
||||
<div class="wa-grid">
|
||||
{{-- <h1 class="wa-cluster">--}}
|
||||
{{-- <wa-icon name="paw-simple"></wa-icon>--}}
|
||||
{{-- {{ config('app.name') }}--}}
|
||||
{{-- </h1>--}}
|
||||
<h1>{{ config('app.name') }}</h1>
|
||||
</div>
|
||||
<h1>{{ config('app.name') }}</h1>
|
||||
|
||||
<livewire:post-feature lazy />
|
||||
</div>
|
||||
|
|
|
|||
3
resources/views/livewire/app/icon.blade.php
Normal file
3
resources/views/livewire/app/icon.blade.php
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<span>
|
||||
<wa-icon name="{{ $name }}" variant="light" fixed-width @isset($slot) slot="{{ $slot }}" @endisset $attrs></wa-icon>
|
||||
</span>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="wa-stack">
|
||||
@guest
|
||||
<a href="{{ route('login') }}" class="wa-cluster">
|
||||
<wa-icon name="arrow-right-to-bracket"></wa-icon>
|
||||
<livewire:app.icon name="arrow-right-to-bracket" />
|
||||
Sign in to {{ config('app.name') }}
|
||||
</a>
|
||||
@endguest
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
</a>
|
||||
|
||||
<a href="{{ route('logout') }}" class="wa-cluster">
|
||||
<wa-icon name="arrow-left-from-bracket"></wa-icon>
|
||||
<livewire:app.icon name="arrow-left-from-bracket" />
|
||||
Sign out
|
||||
</a>
|
||||
@endauth
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<div class="wa-stack">
|
||||
@auth
|
||||
<a href="{{ route('posts.home') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<wa-icon name="images"></wa-icon>
|
||||
<livewire:app.icon name="images" />
|
||||
Posts
|
||||
</a>
|
||||
|
||||
<a href="{{ route('upload') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<wa-icon name="arrow-up-from-bracket"></wa-icon>
|
||||
<livewire:app.icon name="arrow-up-from-bracket" />
|
||||
Upload
|
||||
</a>
|
||||
|
||||
<a href="{{ route('tags.home') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<wa-icon name="tags"></wa-icon>
|
||||
<livewire:app.icon name="tags" />
|
||||
Tags
|
||||
</a>
|
||||
|
||||
<a href="{{ route('users') }}" class="wa-cluster" wire:navigate.hover>
|
||||
<wa-icon name="users"></wa-icon>
|
||||
<livewire:app.icon name="users" />
|
||||
Users
|
||||
</a>
|
||||
@endauth
|
||||
|
|
|
|||
|
|
@ -10,22 +10,22 @@
|
|||
|
||||
@auth
|
||||
<wa-button appearance="plain" href="{{ route('posts.home') }}" wire:navigate.hover>
|
||||
<wa-icon slot="prefix" name="images"></wa-icon>
|
||||
<livewire:app.icon slot="start" name="images" />
|
||||
Posts
|
||||
</wa-button>
|
||||
|
||||
<wa-button appearance="plain" href="{{ route('upload') }}" wire:navigate.hover>
|
||||
<wa-icon slot="prefix" name="arrow-up-from-bracket"></wa-icon>
|
||||
<livewire:app.icon slot="start" name="arrow-up-from-bracket" />
|
||||
Upload
|
||||
</wa-button>
|
||||
|
||||
<wa-button appearance="plain" href="{{ route('tags.home') }}" wire:navigate.hover>
|
||||
<wa-icon slot="prefix" name="tags"></wa-icon>
|
||||
<livewire:app.icon slot="start" name="tags" />
|
||||
Tags
|
||||
</wa-button>
|
||||
|
||||
<wa-button appearance="plain" href="{{ route('users') }}" wire:navigate.hover>
|
||||
<wa-icon slot="prefix" name="users"></wa-icon>
|
||||
<livewire:app.icon slot="start" name="users" />
|
||||
Users
|
||||
</wa-button>
|
||||
@endauth
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<div class="wa-cluster">
|
||||
@guest
|
||||
<wa-button href="{{ route('login') }}" appearance="plain">
|
||||
<wa-icon slot="prefix" name="arrow-right-to-bracket"></wa-icon>
|
||||
<livewire:app.icon slot="start" name="arrow-right-to-bracket" />
|
||||
Sign in
|
||||
</wa-button>
|
||||
@endguest
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
</wa-button>
|
||||
<wa-button href="{{ route('logout') }}" appearance="plain">
|
||||
<wa-icon name="arrow-left-from-bracket" slot="prefix"></wa-icon>
|
||||
<livewire:app.icon name="arrow-left-from-bracket" slot="start" />
|
||||
Sign out
|
||||
</wa-button>
|
||||
@endauth
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
rel="prev"
|
||||
@endif
|
||||
>
|
||||
<wa-icon name="arrow-left" slot="prefix"></wa-icon>
|
||||
<livewire:app.icon name="arrow-left" slot="prefix" />
|
||||
Previous
|
||||
</wa-button>
|
||||
<wa-button
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
@endif
|
||||
>
|
||||
Next
|
||||
<wa-icon name="arrow-right" slot="suffix"></wa-icon>
|
||||
<livewire:app.icon name="arrow-right" slot="suffix" />
|
||||
</wa-button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
@if (\Illuminate\Support\Facades\Storage::has("avatars/$user->id"))
|
||||
<img src="{{ $user->getAvatarBase64() }}"/>
|
||||
@else
|
||||
<wa-icon name="user"></wa-icon>
|
||||
<livewire:app.icon name="user" />
|
||||
@endif
|
||||
</a>
|
||||
<div class="wa-stack wa-gap-3xs">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue