initial drafting of nostr global search fro products
This commit is contained in:
parent
b10531763e
commit
469aabc10a
4 changed files with 128 additions and 10 deletions
|
|
@ -1,4 +1,42 @@
|
|||
<div>
|
||||
<div v-if="searchNostr" class="row q-col-gutter-md">
|
||||
<div class="col-12 col-md-7 q-gutter-y-md">
|
||||
<q-card>
|
||||
<q-card-section>
|
||||
<div class="row items-center no-wrap q-mb-md">
|
||||
<div class="col">
|
||||
<h5 class="text-subtitle1 q-my-none">Search Globally</h5>
|
||||
<p>Search for products on Nostr</p>
|
||||
</div>
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<q-input
|
||||
class="q-ml-md"
|
||||
standout
|
||||
square
|
||||
dense
|
||||
outlined
|
||||
clearable
|
||||
v-model.trim="search"
|
||||
label="Search products"
|
||||
hint="Enter search terms separated by spaces"
|
||||
>
|
||||
<template v-slot:after>
|
||||
<q-btn
|
||||
dense
|
||||
flat
|
||||
icon="search"
|
||||
label="Search"
|
||||
@click="searchProducts"
|
||||
@keydown.enter="searchProducts"
|
||||
/>
|
||||
</template>
|
||||
</q-input>
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
</div>
|
||||
</div>
|
||||
<q-toolbar>
|
||||
<q-breadcrumbs>
|
||||
<q-breadcrumbs-el label="Market" icon="home"></q-breadcrumbs-el>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue