mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
wtf
This commit is contained in:
parent
2e75c1c407
commit
67bf5494fd
8 changed files with 18 additions and 23 deletions
|
|
@ -7,14 +7,16 @@ use Livewire\Component;
|
|||
|
||||
class Pfp extends Component
|
||||
{
|
||||
public User $user;
|
||||
public string $user = '';
|
||||
public string $size = '3rem';
|
||||
public string $shape = 'circle';
|
||||
|
||||
public function render()
|
||||
{
|
||||
$u = User::find($this->user);
|
||||
return view('livewire.app.pfp', [
|
||||
'pfp' => $this->user->getAvatarBase64()
|
||||
'pfp' =>$u->getAvatarBase64(),
|
||||
'name' => $u->name,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue