Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 64f9356

Browse files
authored
Merge pull request #57 from kodadot/packnavbar
extra,faq,copy icon, hashtag for twitter
2 parents f591f77 + fb82e94 commit 64f9356

File tree

4 files changed

+33
-17
lines changed

4 files changed

+33
-17
lines changed

dashboard/src/components/Navbar.vue

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@
2121
<strong v-if="row.strong">{{row.name}}</strong>
2222
<small v-else>{{row.name}}</small>
2323
</b-navbar-item>
24+
<b-navbar-dropdown
25+
arrowless
26+
collapsible
27+
label="Extra">
28+
<b-navbar-item
29+
v-for="row in navbarExtra"
30+
v-bind:key="row.name"
31+
:tag="row.tag"
32+
:to="row.to">
33+
{{row.name}}
34+
</b-navbar-item>
35+
</b-navbar-dropdown>
2436
</template>
2537
<template #end>
2638
<b-navbar-item tag="div">
@@ -57,27 +69,27 @@ export default class NavbarMenu extends Vue {
5769
to: { name: 'rmrk' },
5870
strong: true
5971
},
60-
{
61-
name: 'Credit',
62-
icon: 'users',
63-
to: { name: 'rmrkCredit' },
64-
tag: 'router-link',
65-
strong: true
66-
},
6772
{
6873
name: 'Gallery',
6974
tag: 'router-link',
7075
to: { name: 'nft' },
7176
strong: true
7277
},
73-
78+
]
79+
public navbarExtra: any = [
7480
{
7581
name: 'Accounts',
7682
icon: 'users',
7783
to: { name: 'accounts' },
7884
tag: 'router-link',
7985
},
80-
86+
{
87+
name: 'Credit',
88+
icon: 'users',
89+
to: { name: 'rmrkCredit' },
90+
tag: 'router-link',
91+
strong: true
92+
},
8193
{
8294
name: 'Transfer',
8395
icon: 'paper-plane',

dashboard/src/components/rmrk/Faq.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default class extends Vue {
3030
['How I can trade KSM for my artwork?','Its supported widely on popular exchanges. Daily liqudity on exchanges is around $200M at time of writing and 1 $KSM is traded for ~ $100.'] ,
3131
['How I can buy KSM as new-comer?', 'We have integration with <a href="https://ramp.network">Ramp.network</a>, click on <a href="#/rmrk/credit">Credit in navbar</a>. You can use Revolut, Manual bank transfer, Debit Card and Apple Pay to top-up your KSM address. You can <a href="https://www.binance.com/en/register?ref=T1JB89F0">buy $KSM at Binance</a>'],
3232
['How I can buy KSM with ETH, DAI, BTC..?', 'For best rates, you can <a href="https://www.coingecko.com/en/coins/edgeware#markets">use custodial exchange from list</a>. For best experience <a href="https://www.binance.com/en/register?ref=T1JB89F0">we reccommend you to use Binance</a>. If you are <a href="https://simpleswap.io/?ref=6cc6e0c538ad">looking for simple trade, try SimpleSwap</a>.'],
33+
['What\'s the flow when I\'m NFT creator?', 'First of all, you need to install <a href="https://polkadot.js.org/extension/">Polkadot Extension</a>, <b>backup your seed</b>. Then you top up your wallet address through our <a href="#/rmrk/credit">Credit</a> feature. Once you have funds, head to <a href="/#/rmrk/create">Create</a>, create Collection. Wait till Collection is minted, then you go to <a href="/#/rmrk/create">Create Token</a> and Mint your very first token! If you had issues, we are working on our UX-flow. KodaDot has around month old code and there is still room to improve, bear with us, we are just team of two. Happy Minting 😌'],
3334
['Can I use this in virtual worlds?', 'We are exploring possibilities, we actually plan to actively research on this in our milestone 2'],
3435
['I\'ve got errors, how to resolve them?', 'We are trying delivering incremental updates on daily basis & fixes ASAP. We may published new version and your browser has cached old one. If you are on <b>Windows</b>, try hold down <b>Ctrl and then press F5</b>. <b>Mac users</b>, hold down <b>CMD and Shift and then press R</b>. If this did not help, DMs on Twitter with screenshot where is developer console open.'],
3536
['What does SEND, CONSUME, LIST mean?', 'SEND will send it to someone, CONSUME will burn it, LIST will list it for sale so someone can buy it from you.'],

dashboard/src/components/rmrk/Gallery/GalleryItem.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
Owner
6262
</p>
6363
<p class="subtitle is-size-7">
64-
{{ nft.currentOwner }}
64+
<a :href="`https://kusama.subscan.io/account/${nft.currentOwner}`" target="_blank">{{ nft.currentOwner }}</a>
6565
</p>
6666
</div>
6767
</div>
@@ -99,7 +99,8 @@
9999
<footer class="card-footer">
100100
<p class="card-footer-item">
101101
<span>
102-
<a :href="twitterUri">
102+
<a :href="twitterUri"
103+
target="_blank">
103104
<b-icon
104105
size="is-large"
105106
pack="fab"
@@ -110,7 +111,8 @@
110111
</p>
111112
<p class="card-footer-item">
112113
<span>
113-
<a :href="telegramUri">
114+
<a :href="telegramUri"
115+
target="_blank">
114116
<b-icon
115117
size="is-large"
116118
pack="fab"
@@ -121,7 +123,8 @@
121123
</p>
122124
<p class="card-footer-item">
123125
<span>
124-
<a :href="linemeUri">
126+
<a :href="linemeUri"
127+
target="_blank">
125128
<b-icon
126129
size="is-large"
127130
pack="fab"
@@ -138,7 +141,7 @@
138141
<b-icon
139142
size="is-medium"
140143
pack="fas"
141-
icon="share-square">
144+
icon="link">
142145
</b-icon>
143146
</a>
144147
</span>
@@ -271,7 +274,7 @@ export default class GalleryItem extends Vue {
271274
}
272275
273276
get helloText() {
274-
return 'Check out this cool RMRK NFT';
277+
return 'Check out this cool RMRK NFT %23kodadot';
275278
}
276279
277280
get realworldFullPath() {

dashboard/src/icons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
faQuestionCircle, faMinus, faSearch,
2121
faInfoCircle, faChevronDown, faChevronUp,
2222
faHeart, faCaretDown, faInfo,
23-
faShareSquare, faCopy,
23+
faLink, faCopy,
2424
} from '@fortawesome/free-solid-svg-icons';
2525

2626
// throws error, idk why
@@ -52,7 +52,7 @@ library.add(
5252
faUsers, faQuestionCircle, faMinus,
5353
faSearch, faInfoCircle, faChevronDown,
5454
faChevronUp, faHeart, faSearch,
55-
faCaretDown, faInfo, faShareSquare,
55+
faCaretDown, faInfo, faLink,
5656

5757
faTwitter, faTelegram, faMedium, faLine,
5858
);

0 commit comments

Comments
 (0)