-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
234 lines (234 loc) · 10.8 KB
/
index.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Xsolla Cloud Play Button</title>
<link rel="icon" href="_/favicon.ico" type="image/x-icon" sizes="48x48"/>
<link rel="stylesheet" href="_/docs.css?v=240415-01" />
<link rel="stylesheet" href="src/button.min.css?v=240415-01" />
</head>
<body class="col">
<main class="col grow">
<header class="col center">
<div class="col grow between cnt cnt-gap">
<h1 class="h4">Xsolla Cloud Gaming</h1>
<h2 class="h1">Play Now Button <br />Integration guide</h2>
</div>
</header>
<section class="cases grid">
<article class="case case-light case-left col">
<h3>Theme</h3>
<h4>Light (default, hovered, disabled)</h4>
<a class="xcg-btn xcg-btn-light" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light hover" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light disabled" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Brand light (default, hovered, disabled)</h4>
<a class="xcg-btn xcg-btn-brand-light" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-brand-light hover" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-brand-light disabled" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
</article>
<article class="case case-dark case-right col">
<h3>Theme</h3>
<h4>Dark (default, hovered, disabled)</h4>
<a class="xcg-btn xcg-btn-dark" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark hover" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark disabled" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Brand dark (default, hovered, disabled)</h4>
<a class="xcg-btn xcg-btn-brand-dark" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-brand-dark hover" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-brand-dark disabled" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
</article>
<article class="case case-light case-left col">
<h3>Design Options</h3>
<h4>Default button</h4>
<a class="xcg-btn xcg-btn-light" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Customizable icon</h4>
<a class="xcg-btn xcg-btn-light xcg-btn-icon-2" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light xcg-btn-icon-3" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Customizable round</h4>
<a class="xcg-btn xcg-btn-light xcg-btn-round" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light xcg-btn-round-none" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Available extra text</h4>
<a class="xcg-btn xcg-btn-brand-light" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
<i>No Downloads, Just Fun. Instantly play on Xsolla. <br />No wait gaming, play now, just right now!</i>
</a>
</article>
<article class="case case-dark case-right col">
<h3>Design Options</h3>
<h4>Default button</h4>
<a class="xcg-btn xcg-btn-dark" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Customizable icon</h4>
<a class="xcg-btn xcg-btn-dark xcg-btn-icon-2" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark xcg-btn-icon-3" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Customizable round</h4>
<a class="xcg-btn xcg-btn-dark xcg-btn-round" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark xcg-btn-round-none" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<h4>Available extra text</h4>
<a class="xcg-btn xcg-btn-brand-dark" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
<i>No Downloads, Just Fun. Instantly play on Xsolla. <br />No wait gaming, play now, just right now!</i>
</a>
</article>
<article class="case case-light case-left col">
<h3>Animated icons</h3>
<a class="xcg-btn xcg-btn-light xcg-btn-animation-1" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light xcg-btn-animation-2" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-light xcg-btn-animation-3" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
</article>
<article class="case case-dark case-right col">
<h3>Animated icons</h3>
<a class="xcg-btn xcg-btn-dark xcg-btn-animation-1" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark xcg-btn-animation-2" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
<a class="xcg-btn xcg-btn-dark xcg-btn-animation-3" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
</article>
</section>
<article class="build col center case-dark">
<div class="col grow end cnt cnt-gap gap-lg">
<div class="col gap">
<h1>Build your own Button</h1>
<div id="button_preview" class="preview dark col center">
<a class="xcg-btn xcg-btn-dark xcg-btn-animation-1" target="_blank" href="https://cloud-play.xsolla.com/cgs/doomer">
<b>Play Now</b>
</a>
</div>
</div>
<div class="build-controls col gap">
<div class="gap">
<div class="row gap-sm">
<h4>Theme</h4>
<select id="button_theme">
<option value="">Light</option>
<option value="dark" selected>Dark</option>
<option value="brand-light">Brand light</option>
<option value="brand-dark">Brand dark</option>
</select>
</div>
<div class="row gap-sm">
<h4>Icon</h4>
<select id="button_icon">
<option value="">Icon 1</option>
<option value="icon-2">Icon 2</option>
<option value="icon-3">Icon 3</option>
<option value="animation-1" selected>Animation 1</option>
<option value="animation-2">Animation 2</option>
<option value="animation-3">Animation 3</option>
</select>
</div>
<div class="row gap-sm">
<h4>Radius</h4>
<select id="button_radius">
<option value="round-none">None</option>
<option value="" selected>Small</option>
<option value="round-medium">Medium</option>
<option value="round-large">Large</option>
<option value="round">Round</option>
</select>
</div>
<div class="row gap-sm">
<h4>Size</h4>
<select id="button_size">
<option value="">Fit by content</option>
<option value="size-small">Small 320px</option>
<option value="size-medium">Medium 400px</option>
<option value="size-large">Large 480px</option>
<option value="size-wide">Stretch by container</option>
</select>
</div>
</div>
<div class="gap">
<div class="row gap-sm">
<h4>Open in</h4>
<select id="button_target">
<option value="_blank">New tab</option>
<option value="_self">Current tab</option>
</select>
</div>
<div class="row gap-sm">
<h4>Link</h4>
<input id="button_link" type="url" placeholder="Type game link" value="https://cloud-play.xsolla.com/cgs/doomer" />
</div>
<div class="row gap-sm">
<h4>Extra text</h4>
<textarea id="button_extra_text" class="textarea" rows="1" placeholder="Type extra text"></textarea>
</div>
</div>
</div>
<div class="col gap">
<h3>Add the bundle snippet to the <code><head></code> tag of your HTML page</h3>
<textarea id="bundle_source" readonly rows="2" class="source head"></textarea>
</div>
<div class="col gap">
<h3>Add the cloud play button snippet anywhere on your website</h3>
<textarea id="button_source" readonly rows="3" class="source body"></textarea>
</div>
</div>
</article>
<footer class="col center">
<div class="col grow between cnt cnt-gap">
<h2 class="h1">Thank you <br />Stay Tuned</h2>
<h1 class="h4">Xsolla Cloud Gaming</h1>
</div>
</footer>
</main>
<script src="_/docs.js?v=240415-01"></script>
<script src="src/button.min.js?v=240415-01"></script>
</body>
</html>