-
Notifications
You must be signed in to change notification settings - Fork 0
/
merchant.html
36 lines (34 loc) · 1.54 KB
/
merchant.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<title>Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="bee-logo.ico" />
<head>
<!-- Optional CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/styles/default.min.css">
<!-- Optional JavaScript -->
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
</head>
<body>
<h2>Usage example BeeSocial Merchant-Widget</h2>
<div class="text-left">
1. Add JavaScript in your HTML-page:
<pre><code><script src="bsMerch.js"
class="golos-merchant-button"
data-account="imaguru"
data-amount="10.000 GOLOS"
data-name="Imaguru"
data-description="Buy coworking on 1 month (for 4 peoples)"
data-image="https://pp.userapi.com/c637916/v637916733/2e7b2/kodHKhnWZAQ.jpg">
</script>
</code></pre> 2. Put this div tag in your HTML-page, where the Merch button will be:
<pre><code><div class="bsMerch"></div></code></pre>
</div>
<!-- Put this div and script tags to the place, where the Poll block will be -->
<div class="bsMerch"></div>
<script src="inject-bsWidget.js" class="golos-merchant-button" data-account="k-merkulov" data-amount="10.000 GOLOS" data-fixprice="true" data-description="Please, support our project BeeSocial!" data-image="https://beesocial.in/img/about_logo.png">
</script>
<p>
<p>That`s all folks!</p>
</body>