Skip to content

Commit e096047

Browse files
Merge branch 'nostr-dev' into develop
2 parents 4a61984 + 71408e7 commit e096047

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+9308
-8281
lines changed
54.5 KB
Loading
Lines changed: 140 additions & 0 deletions
Loading

nuxt/components/AddStoreModal.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
</v-btn>
1616

1717
<!-- Add store modal -->
18-
<v-dialog
19-
v-model="showAddDialog"
20-
max-width="500"
21-
>
18+
<v-dialog v-model="showAddDialog" max-width="500">
2219
<template v-if="showAddDialog">
2320
<v-card>
2421
<v-layout v-if="addAlert.message">
@@ -103,9 +100,9 @@
103100
</v-row>
104101
<v-row>
105102
<v-text-field
106-
v-model="addDialogForm.uri"
107-
label="Node URI (optional)"
108-
hint="eg. 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f@34.239.230.56:9735 (optional)"
103+
v-model="addDialogForm.nostr"
104+
label="Nostr (optional)"
105+
hint=""
109106
></v-text-field>
110107
</v-row>
111108
<v-row>
@@ -120,10 +117,12 @@
120117
></v-text-field>
121118
</v-row>
122119
<v-row>
123-
<span class="font-weight-bold"
124-
>We reserve the right to remove this entry if it doesn't
125-
accept bitcoin and is not about bitcoin</span
126-
>
120+
<div class="d-flex justify-center my-4">
121+
<v-switch
122+
v-model="lightningAccepted"
123+
color="orange"
124+
label="Lightning accepted?"/>
125+
</div>
127126
</v-row>
128127
</v-container>
129128
<v-card-actions>
@@ -203,6 +202,7 @@ export default {
203202
expiryTime: new Date(),
204203
isPaid: false,
205204
tweet: null,
205+
lightningAccepted: false,
206206
207207
checkPaymentTimer: null,
208208
successModalMessage: '',
@@ -284,9 +284,9 @@ export default {
284284
name: this.addDialogForm.name,
285285
description: this.addDialogForm.description,
286286
url: this.addDialogForm.url,
287-
uri: this.addDialogForm.uri,
287+
nostr: this.addDialogForm.nostr,
288288
contributor: this.addDialogForm.contributor,
289-
accepted: {BTC: {payments: true}, BTCLN: {payments: true}},
289+
accepted: {BTC: {payments: this.lightningAccepted}, BTCLN: {'payments': this.lightningAccepted}},
290290
recaptcha: token,
291291
})
292292
.then(

nuxt/components/ContestView.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,8 @@ import Head from '~/mixins/Head'
5757
5858
export default {
5959
mixins: [Head],
60-
head() {
61-
return this.getMetadata(
62-
'Project contest',
63-
'Vote regularly on your favorite project. Guess the most voted project and earn sats',
64-
'/ogimage.png'
65-
)
60+
head() { return this.getMetadata('Project contest', 'Vote regularly on your favorite project. Guess the most voted project and earn sats',
61+
'/og/index.jpg')
6662
},
6763
computed: {
6864
...mapGetters({

nuxt/components/FilterStores.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
})
9393
}
9494
95-
return this.filterTags
95+
return this.filterTags.filter(({name}) => name != 'nostr')
9696
},
9797
},
9898

nuxt/components/Header.vue

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template v-slot:activator="{ on, attrs }">
55
<div class="d-flex justify-start align-center" style="height: 100%">
66
<nuxt-link to="/">
7-
<img src="@/assets/images/LightningNetworkStores.svg" class="nav-logo" alt="Lightning Network Stores logo"/>
7+
<img src="@/static/nostr.bitcoin-stores.com.png" class="nav-logo" alt="Nostrich.fun logo"/>
88
</nuxt-link>
99
<v-icon large color="grey lighten-1" v-bind="attrs" v-on="on" class="sister-site-dropdown-btn">
1010
mdi-chevron-down
@@ -26,7 +26,7 @@
2626
<v-toolbar-items class="hidden-sm-and-down">
2727
<!-- Menu List - Web -->
2828

29-
<v-menu open-on-hover offset-y>
29+
<!-- <v-menu open-on-hover offset-y>
3030
<template v-slot:activator="{ on, attrs }">
3131
<v-btn text v-bind="attrs" v-on="on"> Explore </v-btn>
3232
</template>
@@ -40,7 +40,7 @@
4040
</v-btn>
4141
</v-list-item>
4242
</v-list>
43-
</v-menu>
43+
</v-menu> -->
4444

4545
<v-menu open-on-hover offset-y>
4646
<template v-slot:activator="{ on, attrs }">
@@ -120,7 +120,7 @@
120120
</v-list-item>
121121
</v-list-item>
122122
<!-- Menu Explore -->
123-
<v-list-item>
123+
<!-- <v-list-item>
124124
<v-menu offset-x absolute :content-class="positionExploreCard">
125125
<template v-slot:activator="{ on, attrs }">
126126
<v-list-item v-bind="attrs" v-on="on">
@@ -143,7 +143,8 @@
143143
</v-list-item>
144144
</v-list>
145145
</v-menu>
146-
</v-list-item>
146+
</v-list-item> -->
147+
147148
<!-- Menu Community -->
148149
<v-list-item>
149150
<v-menu offset-x absolute :content-class="positionExploreCard">
@@ -229,7 +230,7 @@ export default {
229230
showMenu: false,
230231
routes: [
231232
{ url: '/discuss', text: 'Discuss' },
232-
{ url: '/faucet', text: 'Faucet' },
233+
//{ url: '/faucet', text: 'Faucet' },
233234
{ url: '/stats', text: 'Statistics' },
234235
//{ url: '/wallets', text: 'Wallets' },
235236
//{ url: '/donations', text: 'Donations' },
@@ -247,9 +248,13 @@ export default {
247248
{ url: '/contributors', text: 'Contributors' },
248249
],
249250
sisterSites: [
251+
// {
252+
// url: 'https://nostr.bitcoin-stores.com',
253+
// svgPath: '/nostr.bitcoin-stores.com.png',
254+
// },
250255
{
251-
url: 'https://nostrich.fun',
252-
svgPath: '/nostrich-fun.svg',
256+
url: 'https://lightningnetworkstores.com',
257+
svgPath: '/lns.png'
253258
},
254259
// {
255260
// url: 'https://yp.bitcoin-stores.com',
@@ -315,26 +320,25 @@ export default {
315320
height: 64px !important;
316321
}
317322
.sister-site-entry {
318-
max-width: 380px;
323+
max-height: 48px;
319324
}
320325
.sister-site-dropdown-btn {
321-
margin-left: -0.3em;
326+
margin-left: -0.7em;
322327
align-self: end;
323328
}
324329
@media (min-width: 768px) {
325330
.sister-site-dropdown-btn {
326-
margin-left: -0.4em;
331+
margin-left: -1.3em;
327332
}
328333
}
329334
.nav-logo {
330-
height: 55px;
335+
width: 28vmax;
331336
position: relative;
332337
max-width: 380px;
333338
right: 1rem;
334339
}
335340
@media (min-width: 768px) {
336341
.nav-logo {
337-
margin-left: 1em;
338342
right: 1.5rem;
339343
}
340344
}

nuxt/components/SearchInput.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
hide-details
2424
v-resize="onResizeWidth"
2525
>
26-
<template v-slot:append>
26+
<!-- <template v-slot:append>
2727
<v-btn
2828
rounded
2929
:class="!showTextButton ? 'd-none' : ''"
@@ -44,7 +44,7 @@
4444
v-else
4545
>Popular Searches</v-btn
4646
>
47-
</template>
47+
</template> -->
4848
</v-text-field>
4949
<v-btn
5050
fab

0 commit comments

Comments
 (0)