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

Commit a92586f

Browse files
authored
Merge pull request #596 from chris-saburo/452-tutorial-link
Add link tutorials
2 parents 86557b1 + 2b346e3 commit a92586f

File tree

3 files changed

+38
-33
lines changed

3 files changed

+38
-33
lines changed

src/components/Navbar.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
{{ $t('Settings') }}
6464
</b-navbar-item>
6565
</b-navbar-dropdown>
66+
<b-navbar-item
67+
tag='router-link'
68+
:to="{ name: 'tutorials'}">
69+
{{ $t('Tutorial') }}
70+
</b-navbar-item>
6671
</template>
6772
<template v-slot:end>
6873
<LocaleChanger />

src/components/landing/Tutorials.vue

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,36 @@
1212
</span>
1313
</h2>
1414
<div class="is-flex-inline is-align-items-start is-flex-direction-column">
15-
<router-link :to="{name: 'createAccount'}">
15+
<!-- <router-link :to="{name: 'createAccount'}"> -->
16+
<a target="_blank" href="https://www.youtube.com/watch?v=iG8iQrONnYo">
1617
<b-button
1718
type="is-primary"
1819
class="mb-6"
1920
>
20-
1. Create polkadot js account
21+
{{ $t("tutorial.create") }}
2122
</b-button>
22-
</router-link>
23-
<router-link :to="{name: 'createAccount'}">
23+
</a>
24+
<!-- </router-link> -->
25+
<!-- <router-link :to="{name: 'createAccount'}"> -->
26+
<a target="_blank" href="https://www.youtube.com/watch?v=cYaZWDzU1Yc">
2427
<b-button
2528
type="is-primary"
2629
class="mb-6"
2730
>
28-
2. Get KSM
31+
{{ $t("tutorial.ksm") }}
2932
</b-button>
30-
</router-link>
31-
<router-link :to="{name: 'createAccount'}">
33+
</a>
34+
<!-- </router-link> -->
35+
<!-- <router-link :to="{name: 'createAccount'}"> -->
36+
<a target="_blank" href="https://www.youtube.com/watch?v=pPsbQyJRGVQ">
3237
<b-button
3338
type="is-primary"
3439
class="mb-6"
3540
>
36-
3. Minting
41+
{{ $t("tutorial.mint") }}
3742
</b-button>
38-
</router-link>
43+
</a>
44+
<!-- </router-link> -->
3945
</div>
4046
</div>
4147
</div>
@@ -46,13 +52,10 @@
4652
</div>
4753
</template>
4854
<script lang="ts" >
49-
import { Component, Vue } from 'vue-property-decorator';
50-
55+
import { Component, Vue } from "vue-property-decorator";
5156
5257
@Component<Tutorials>({
53-
components: {}
58+
components: {},
5459
})
55-
export default class Tutorials extends Vue {
56-
57-
}
60+
export default class Tutorials extends Vue {}
5861
</script>

src/locales/en.json

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,13 @@
2727
"computed id": "Computed id",
2828
"content": "Content",
2929
"create collection": "Create Collection",
30-
"Owner address of minted art":
31-
"Owner address of minted art",
32-
"Name you want to show in gallery view":
33-
"Name you want to show in gallery view",
34-
"Symbol you want to trade it under":
35-
"Symbol you want to trade it under",
36-
"Describe your collection, it will show under collection view":
37-
"Describe your collection, it will show under collection view",
38-
"Add collection cover which will show up at collection view":
39-
"Add collection cover which will show up at collection view",
40-
"Select collection where do you want mint your token":
41-
"Select collection where do you want mint your token",
42-
"Maximum NFTs in collection":
43-
"Maximum NFTs in collection",
30+
"Owner address of minted art": "Owner address of minted art",
31+
"Name you want to show in gallery view": "Name you want to show in gallery view",
32+
"Symbol you want to trade it under": "Symbol you want to trade it under",
33+
"Describe your collection, it will show under collection view": "Describe your collection, it will show under collection view",
34+
"Add collection cover which will show up at collection view": "Add collection cover which will show up at collection view",
35+
"Select collection where do you want mint your token": "Select collection where do you want mint your token",
36+
"Maximum NFTs in collection": "Maximum NFTs in collection",
4437
"Account": "Account",
4538
"Name": "Name",
4639
"Symbol": "Symbol (Short name)",
@@ -52,8 +45,7 @@
5245
"Transferable is by default": "Transferable is by default",
5346
"Serial Number": "Serial Number",
5447
"Name of your token": "Name of your token",
55-
"Instance_tooltip":
56-
"Instance is like the identifier of an NFT, like a marketplace ticker. It's a \"short computer-friendly name\"",
48+
"Instance_tooltip": "Instance is like the identifier of an NFT, like a marketplace ticker. It's a \"short computer-friendly name\"",
5749
"Upload will upload your image of the NFT": "Upload will upload your image of the NFT",
5850
"Click to add image": "Click to add image",
5951
"Add Animated File": "Add Animated File",
@@ -172,7 +164,7 @@
172164
"uploadYes": "Upload NFT image to Arweave",
173165
"uploadNo": "Do not use Arweave"
174166
},
175-
"termOfService" : {
167+
"termOfService": {
176168
"accept": "I confirm that I hold full copyright ownership of the submitted digital asset (or have sufficient permission by the owner to use the asset)"
177169
},
178170
"profile": {
@@ -190,5 +182,10 @@
190182
"collectors": "Collectors",
191183
"score": "Score",
192184
"empty": "Empty"
185+
},
186+
"tutorial": {
187+
"create": "1. Create polkadot js account",
188+
"ksm": "2. Get KSM",
189+
"mint": "3. Minting"
193190
}
194-
}
191+
}

0 commit comments

Comments
 (0)