Skip to content

Commit ca64cc7

Browse files
committed
New FAQ and suported wallets
1 parent 6b04aa7 commit ca64cc7

File tree

7 files changed

+81
-17
lines changed

7 files changed

+81
-17
lines changed

static/css/homepage.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,25 @@
1313
display: block;
1414
}
1515

16+
#supported .wallets {
17+
width: 500px;
18+
margin: 0 auto;
19+
}
20+
21+
#supported .wallet img {
22+
width: 75px;
23+
display: block;
24+
margin: 0 auto;
25+
}
26+
27+
#supported a {
28+
color: black;
29+
}
30+
31+
#how {
32+
margin-top: 70px;
33+
}
34+
1635
.card .bg-image {
1736
height: 240px;
1837
}

static/images/ccvaultlogo.jpg

12.6 KB
Loading

static/images/flintlogo.jpg

9.6 KB
Loading

static/images/namilogo.png

3.83 KB
Loading

views/faq.handlebars

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,43 @@
11
<div class="container">
2-
<h1 class="text-center">Additional frequently asked questions</h1>
2+
<h1 class="text-center">Frequently asked questions</h1>
33

44
<div class="accordion" id="faq">
55

6+
<div class="accordion-item">
7+
<h2 class="accordion-header" id="headingzero">
8+
<button class="accordion-button collapsed" type="button" data-mdb-toggle="collapse"
9+
data-mdb-target="#collapsezero" aria-expanded="true" aria-controls="collapsezero">
10+
Why does it say: 'Failed to connect with wallet' at the top of the screen?
11+
</button>
12+
</h2>
13+
<div id="collapsezero" class="accordion-collapse collapse" aria-labelledby="headingzero"
14+
data-mdb-parent="#faq">
15+
<div class="accordion-body">
16+
Most of the time this means you still need to install the wallet browser extension. Make sure you
17+
have actually installed the extension, and try again. If it still does not work, try finding help on
18+
the Discord.
19+
</div>
20+
</div>
21+
</div>
22+
623
<div class="accordion-item">
724
<h2 class="accordion-header" id="headingOne">
8-
<button class="accordion-button" type="button" data-mdb-toggle="collapse" data-mdb-target="#collapseOne"
9-
aria-expanded="true" aria-controls="collapseOne">
25+
<button class="accordion-button" aria-expanded="false" type="button" data-mdb-toggle="collapse" data-mdb-target="#collapseOne"
26+
aria-controls="collapseOne">
1027
I submitted pixels but they are not visible on another device
1128
</button>
1229
</h2>
1330
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne"
1431
data-mdb-parent="#faq">
1532
<div class="accordion-body">
16-
It can take up to 2 minutes for transactions to fully propagate through the Cardano network. This means
17-
that it can take just as long for them to become visible on the website. Make sure you check the transaction
18-
hash on the <a href="https://explorer.cardano.org/en">Cardano blockchain explorer</a>. If it it not visible
19-
on the website, but it is visible on the explorer, something on the frontend might have gone wrong. Take up
33+
It can take up to 2 minutes for transactions to fully propagate through the Cardano network. This
34+
means
35+
that it can take just as long for them to become visible on the website. Make sure you check the
36+
transaction
37+
hash on the <a href="https://explorer.cardano.org/en">Cardano blockchain explorer</a>. If it it not
38+
visible
39+
on the website, but it is visible on the explorer, something on the frontend might have gone wrong.
40+
Take up
2041
contact with one of the developers. But don't worry, your pixels are stored on the blockchain!
2142
</div>
2243
</div>
@@ -32,7 +53,8 @@
3253
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo"
3354
data-mdb-parent="#faq">
3455
<div class="accordion-body">
35-
Great! Send a message on the <a href="">Discord</a> channel or open an issue in the <a href="https://github.com/Ducolnd/crypto-place/issues">repository</a>
56+
Great! Send a message on the <a href="">Discord</a> channel or open an issue in the <a
57+
href="https://github.com/Ducolnd/crypto-place/issues">repository</a>
3658
</div>
3759
</div>
3860
</div>
@@ -41,14 +63,14 @@
4163
<h2 class="accordion-header" id="whywallet">
4264
<button class="accordion-button collapsed" type="button" data-mdb-toggle="collapse"
4365
data-mdb-target="#collapse-wallet" aria-expanded="false" aria-controls="collapse-wallet">
44-
Why is Nami wallet the only wallet supported?
66+
Why are only 3 wallets supported?
4567
</button>
4668
</h2>
4769
<div id="collapse-wallet" class="accordion-collapse collapse" aria-labelledby="whywallet"
4870
data-mdb-parent="#faq">
4971
<div class="accordion-body">
50-
As of right now, nami wallet is the only wallet providing the functionality required for this app. That is, signing transactions etc.
51-
Other wallets such as Yoroi will be supported as soon as it is possible!
72+
Not all browser extension wallets have DApp functionality. If you think your favorite wallet is
73+
missing, send a message in the Discord server.
5274
</div>
5375
</div>
5476
</div>

views/home.handlebars

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@
77
</div>
88

99
<div class="container">
10+
<div id="supported">
11+
<h3 class="text-center">Supported Wallets</h3>
12+
13+
<div class="wallets row">
14+
<div class="wallet col-sm">
15+
<img src="images/namilogo.png" alt="">
16+
<a target="_blank" href="https://namiwallet.io/"><p class="text-center mt-1">Nami Wallet</p></a>
17+
</div>
18+
<div class="wallet col-sm">
19+
<img src="images/flintlogo.jpg" alt="">
20+
<a target="_blank" href="https://flint-wallet.com/"><p class="text-center mt-1">Flint</p></a>
21+
</div>
22+
<div class="wallet col-sm">
23+
<img src="images/ccvaultlogo.jpg" alt="">
24+
<a target="_blank" href="https://ccvault.io/app/mainnet/welcome"><p class="text-center mt-1">CCvault</p></a>
25+
</div>
26+
</div>
27+
</div>
28+
1029
<div id="how">
1130
<h1 class="text-center mt-5">How to get started</h1>
1231
<div class="card-group mt-3">
@@ -66,11 +85,15 @@
6685

6786
<p class="text-center">
6887
You might rightfully wonder: why does this need to be decentralized?
69-
Although cryptoplace would perfectly function using a regular, centralized system, you would never have full
70-
certainty that the website will be maintained for ever. A decentralized application does not even need a website to function.
71-
In fact, you don't even need to be on cryptoplace.games to place pixels. As long as the right amount of ADA is sent to the
88+
Although cryptoplace would perfectly function using a regular, centralized system, you would never
89+
have full
90+
certainty that the website will be maintained for ever. A decentralized application does not even
91+
need a website to function.
92+
In fact, you don't even need to be on cryptoplace.games to place pixels. As long as the right amount
93+
of ADA is sent to the
7294
right address with the correct metadata, the pixels will become visible. <br><br>
73-
Anyone can generate their own canvas by reading the blockchain at any given point, without any interaction with cryptoplace. This also means that all
95+
Anyone can generate their own canvas by reading the blockchain at any given point, without any
96+
interaction with cryptoplace. This also means that all
7497
pixels will be stored on the blockchain for as long as Cardano continous to exist.
7598
</p>
7699
</div>
@@ -110,5 +133,6 @@
110133
</div>
111134
</div>
112135

113-
<h3 class="text-center mt-4">If you have additional questions, make sure to check out the <a href="/faq">FAQ</a></h3>
136+
<h3 class="text-center mt-4">If you have additional questions, make sure to check out the <a href="/faq">FAQ</a>
137+
</h3>
114138
</div>

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const Dotenv = require('dotenv-webpack');
44
module.exports = {
55
entry: {
66
canvas: "./src/js/sidebar.js",
7-
wallet: "./src/js/wallet-api/use.js"
87
},
98
output: {
109
path: path.resolve(__dirname, "static", 'dist'),

0 commit comments

Comments
 (0)