mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Add post deletion w/ confirmation, search (broken), profile page
This commit is contained in:
parent
bfb497c367
commit
827d125639
21 changed files with 374 additions and 27 deletions
19
resources/views/livewire/search.blade.php
Normal file
19
resources/views/livewire/search.blade.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<form wire:submit>
|
||||
<wa-input wire:model.live="searchText" type="text" placeholder="Search for posts, tags, users, etc.">
|
||||
<wa-icon slot="prefix" name="magnifying-glass"></wa-icon>
|
||||
</wa-input>
|
||||
|
||||
<wa-popup
|
||||
placement="bottom-end"
|
||||
distance="10"
|
||||
sync="width"
|
||||
auto-size="vertical"
|
||||
auto-size-padding="10"
|
||||
{{ $searchResults ? 'active' : '' }}>
|
||||
<wa-card>
|
||||
@isset($searchResults)
|
||||
<pre><code>{{ var_dump($searchResults) }}</code></pre>
|
||||
@endisset
|
||||
</wa-card>
|
||||
</wa-popup>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue