-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
337 lines (334 loc) · 15.2 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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/css/bootstrap-datepicker.standalone.min.css">
<link rel="stylesheet" href="assets/css/slbots.css" type="text/css">
<link rel="stylesheet" href="assets/css/nucleo-icons.css" type="text/css">
<script src="assets/js/navbar-ontop.js"></script>
<link rel="icon" href="https://telegra.ph/file/821b422f74fdf674277fa.jpg">
<title>Carbon API | SL Bots Official</title>
<meta name="description" content="API for make carbon">
<meta name="keywords" content="slbots, sl bots, sri lanka, trtechguide, tharukrenuja, slbot, slbotsofficial, slbotofficial">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.slbots.org/">
<meta property="og:name" content="Team | SL Bots Official">
<meta property="og:description" content="Details about Our Team">
<meta property="og:image" content="https://telegra.ph/file/821b422f74fdf674277fa.jpg">
</head>
<body class="">
<nav class="navbar navbar-expand-lg bg-dark navbar-dark fixed-top">
<div class="container">
<a class="navbar-brand" title="" data-placement="bottom" data-toggle="tooltip" href="https://www.slbots.org/" data-original-title="SL BOTS OFFICIAL"><i class="fa d-inline fa-lg fa fa-telegram"></i> SL BOTS OFFICIAL</a>
<button class="navbar-toggler navbar-toggler-right collapsed" type="button" data-toggle="collapse" data-target="#navbarNowUIKitFree" aria-expanded="false" style="">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse text-center justify-content-end collapse" id="navbarNowUIKitFree" style="">
<ul class="navbar-nav">
<li class="nav-item mx-1 align-items-center d-flex justify-content-center">
<a class="nav-link" href="https://www.slbots.org/">Home</a>
</li>
<li class="nav-item mx-1 align-items-center d-flex justify-content-center">
<a class="nav-link" href="bots">Bots</a>
</li>
<li class="nav-item mx-1 align-items-center d-flex justify-content-center">
<a class="nav-link" href="team">Team</a>
</li>
<li class="nav-item mx-1 align-items-center d-flex justify-content-center">
<a class="nav-link" href="#donate">Donate</a>
</li>
<li class="nav-item mx-1 align-items-center d-flex justify-content-center">
<a class="nav-link" href="#footer">About</a>
</li>
</ul>
<a class="btn btn-light text-primary" href="apply">
<i class="now-ui-icons arrows-1_share-66 mr-1"></i>Apply</a>
<ul class="navbar-nav flex-row justify-content-center mt-2 mt-md-0">
<li class="nav-item mx-1">
<a class="nav-link" href="https://t.me/SLBotsOfficial" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Follow us on Telegram">
<i class="fa fa-fw fa-telegram fa-2x"></i>
</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link" href="https://twitter.com/TRenuja" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Follow us on Twitter">
<i class="fa fa-fw fa-twitter fa-2x"></i>
</a>
</li>
<li class="nav-item mx-3 mx-md-1">
<a class="nav-link" href="https://facebook.com/slbotsofficial" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Like us on Facebook">
<i class="fa fa-fw fa-facebook-official fa-2x"></i>
</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link" href="https://github.com/sl-bots" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Follow us on GitHub">
<i class="fa fa-fw fa-github fa-2x"></i>
</a>
</li>
<li class="nav-item ml-1">
<a class="nav-link" href="https://instagram.com/imtharuk" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Follow us on Instagram">
<i class="fa fa-fw fa-instagram fa-2x"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="py-5" style=" background-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)); background-position: top left; background-size: cover; background-repeat: repeat;"></div>
<section id="team">
<div class="py-5 text-center text-white" style="background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("https://static.pingendo.com/cover-bubble-dark.svg"); background-position: center center, center center; background-size: cover, cover; background-repeat: repeat, repeat;">
<div class="container">
<div class="row">
<div class="mx-auto col-md-12">
<h2 class="mb-3"><b>Carbon API </b></h2>
<h4> Carbon makes it easy to create and share beautiful images. </h4>
</div>
</div>
<div class="row"></div>
<div class="row">
<div class="col-md-12">
<h3 class=""><b>Usage </b> <span class="badge badge-pill badge-warning">!</span></h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table class="table table-striped table-dark">
<thead>
<tr>
<th scope="col">Parameter</th>
<th scope="col">Default</th>
<th scope="col">Type</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">code (required)</th>
<td> </td>
<td>string</td>
<td>Code snippet </td>
</tr>
<tr>
<th scope="row">backgroundColor</th>
<td>rgba(171, 184, 195, 1)</td>
<td>string</td>
<td>Hex or rgba color </td>
</tr>
<tr>
<th scope="row">dropShadow</th>
<td>true</td>
<td>boolean</td>
<td>Turn on/off shadow </td>
</tr>
<tr>
<th scope="row">dropShadowBlurRadius</th>
<td>68px</td>
<td>string</td>
<td>Shadow blur radius</td>
</tr>
<tr>
<th scope="row">dropShadowOffsetY</th>
<td>20px</td>
<td>string</td>
<td>Shadow offset y </td>
</tr>
<tr>
<th scope="row">exportSize</th>
<td>2x</td>
<td>string</td>
<td>Resolution of exported image, e.g. `1x`, `3x`</td>
</tr>
<tr>
<th scope="row">fontSize</th>
<td>14px</td>
<td>string</td>
<td>Font size</td>
</tr>
<tr>
<th scope="row">fontFamily</th>
<td>Hack</td>
<td>string</td>
<td>Font family, e.g. `JetBrains Mono`, `Fira Code</td>
</tr>
<tr>
<th scope="row">firstLineNumber</th>
<td>1</td>
<td>number</td>
<td>First line number </td>
</tr>
<tr>
<th scope="row">language</th>
<td>auto</td>
<td>string</td>
<td>Programing language for properly highlighting </td>
</tr>
<tr>
<th scope="row">lineNumbers</th>
<td>false</td>
<td>boolean</td>
<td style="">Turn on/off line number </td>
</tr>
<tr>
<th scope="row">paddingHorizontal</th>
<td>56px</td>
<td>string</td>
<td>Horizontal padding </td>
</tr>
<tr>
<th scope="row">paddingVertical</th>
<td>56px</td>
<td>string</td>
<td>Vertical padding </td>
</tr>
<tr>
<th scope="row">theme</th>
<td>seti</td>
<td>string</td>
<td>Code theme</td>
</tr>
<tr>
<th scope="row">watermark</th>
<td>false</td>
<td>boolean</td>
<td>Turn on/off watermark </td>
</tr>
<tr>
<th scope="row">widthAdjustment</th>
<td>true</td>
<td>boolean</td>
<td>Turn on/off width adjustment</td>
</tr>
<tr>
<th scope="row">windowControls</th>
<td> </td>
<td>boolean</td>
<td>Turn on/off window controls </td>
</tr>
</tbody>
</table>
</div>
<div class="row">
<div class="col-md-12"></div>
</div>
<div class="row">
<div class="col-md-12">
<h4 class=""><b>Methods </b><span class="badge badge-pill badge-warning">!</span></h4>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h5 class="">GET "/"</h5>
<p>Example for Parameters are encoded in url :- <b><i>https://carbon.api.slbots.org/?code=Team+SL+BOTS&theme=darcula&backgroundColor=rgba(144, 19, 254, 100)</i></b>
</p>
</div>
<div class="col-md-6">
<h5 class="">POST "/"</h5>
<p>
<b>Body</b> is JSON with these params :- <b><i>{ "backgroundColor": "rgba(144, 19, 254, 100)", "code": "Team SL BOTS", "theme": "dracula" }</i></b>
</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h5 class="">Response</h5>
<p><b>Response</b> is an image of a code or text snippet.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="about">
<div class="py-3" style="">
<div class="container">
<div class="row">
<div class="col-lg-3 col-6 p-3">
<h5> <b>Main</b> </h5>
<ul class="list-unstyled">
<li> <a href="#home">Home</a> </li>
<li> <a href="#bots">Bots</a> </li>
<li> <a href="#team">Team</a> </li>
</ul>
</div>
<div class="col-lg-3 col-6 p-3">
<h5> <b>Others</b> </h5>
<ul class="list-unstyled">
<li> <a href="https://t.me/SLBotsOfficial">Channel</a> </li>
<li> <a href="https://t.me/trtechguide">Group</a> </li>
<li> <a href="https://t.me/TharukRenuja">Owner</a> </li>
</ul>
</div>
<div class="col-lg-3 col-md-6 p-3">
<h5> <b>About</b> </h5>
<p class="mb-0"> The Official Bot Development & Management of Sri Lanka</p>
</div>
<div class="col-lg-3 col-md-6 p-3">
<h5> <b>Follow us</b> </h5>
<div class="row">
<div class="col-md-12 d-flex align-items-center justify-content-between my-2">
<a href="https://facebook.com/slbotsofficial">
<i class="d-block fa fa-facebook-official text-muted fa-lg mr-2"></i>
</a> <a href="https://t.me/SLBotsOfficial">
<i class="d-block fa fa-telegram text-muted fa-lg mx-2"></i>
</a> <a href="https://github.com/SL-bots">
<i class="d-block fa fa-github text-muted fa-lg mx-2"></i>
</a> <a href="https://youtube.com/channel/UCoqH50psZdxpiSMIFZi6OFQ">
<i class="d-block fa fa-youtube text-muted fa-lg mx-2"></i>
</a> <a href="https://twitter.com/TRenuja">
<i class="d-block fa fa-twitter text-muted fa-lg mx-2"></i>
</a>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" crossorigin="anonymous" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"></script>
<script src="assets/js/parallax.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('[data-toggle="popover"]').popover();
$('[data-toggle="tooltip"]').tooltip();
$('#datepicker-example').datepicker({
calendarWeeks: true,
autoclose: true,
todayHighlight: true
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
//Disable cut copy paste
$('body').bind('cut copy paste', function(e) {
e.preventDefault();
});
//Disable mouse right click
$("body").on("contextmenu", function(e) {
return false;
});
});
</script>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="py-3">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<p class="mb-0">© 2022 SL Bots Official. All rights reserved</p>
</div>
</div>
</div>
</div>
</body>
</html>