mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
i hope this works
This commit is contained in:
parent
b04a0daf38
commit
41eb81de76
5 changed files with 14 additions and 10 deletions
|
|
@ -36,7 +36,10 @@
|
|||
|
||||
@auth
|
||||
<wa-button href="{{ url('/profiles/' . Auth::id()) }}" appearance="plain" wire:navigate.hover>
|
||||
{{ Auth::user()->name }}
|
||||
<div class="wa-cluster wa-align-items-center">
|
||||
<livewire:app.pfp :user="auth()->user()" size="2rem" shape="rounded" />
|
||||
{{ Auth::user()->name }}
|
||||
</div>
|
||||
</wa-button>
|
||||
<wa-icon-button href="{{ route('logout') }}" appearance="plain" name="arrow-left-from-bracket"></wa-icon-button>
|
||||
@endauth
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
<div>
|
||||
<wa-avatar image="{{ $pfp }}" label="{{ $name }}'s Profile Picture" shape="{{ $shape }}" loading="lazy" style="--size: {{ $size }}"></wa-avatar>
|
||||
<wa-avatar
|
||||
image="{{ $user->getAvatarBase64() }}"
|
||||
label="avatar for {{ $user->name }}"
|
||||
shape="{{ $shape }}"
|
||||
style="--size: {{ $size }}"
|
||||
></wa-avatar>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="wa-stack wa-gap-3xl">
|
||||
<div class="wa-stack">
|
||||
<div class="wa-flank wa-align-items-center">
|
||||
<livewire:app.pfp user="{{ $user->id }}" size="5rem" shape="rounded" />
|
||||
<livewire:app.pfp :$user size="5rem" shape="rounded" />
|
||||
<h1>{{ $user->name }}</h1>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="wa-flank wa-align-items-center">
|
||||
<livewire:app.pfp :user="$comment->user->id" />
|
||||
<livewire:app.pfp :user="$comment->user" />
|
||||
<div class="wa-split">
|
||||
<div class="wa-stack wa-gap-3xs">
|
||||
<div class="wa-cluster wa-align-items-center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue