This repository was archived by the owner on Aug 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 604
Expand file tree
/
Copy pathbadges.html
More file actions
78 lines (64 loc) · 2.4 KB
/
badges.html
File metadata and controls
78 lines (64 loc) · 2.4 KB
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
---
layout: default
title: Badges
---
<!-- HEADER -->
{% include header.html has_sticky_navigation='true' exclude_main_nav='true' background_color='transparent' %}
<style>{% include css/applyforms.css %}</style>
<style>
.ApplyForm--header {
padding-top: 85px;
padding-bottom: 44px;
}
</style>
<main class="ApplyForm">
<div class="ApplyForm--header BadgeForm--header">
<div class="ApplyForm--container">
<div class="form-instructions">
<h1>"Made with Koding" Badges</h1>
<h3>Why not show the world that you build your project with Koding? Add "Made with Koding" badges to your website</h3>
</div>
</div>
</div>
<div class="BadgeBody">
<p>We’ve prepared these badges that you can overlay on your site by simply copying and pasting the appropriate snippet into your site’s HTML. Make sure to change the URL in the link to contain your username instead of “you”. Also, please do not change the size or proportions of the badges.</p>
<hr />
{% comment %}
<h2>Square Badges</h2>
{% include badges.html badgeId="SquareColor" %}
{% include badges.html badgeId="SquareDark" %}
{% include badges.html badgeId="SquareLight" %}
<h2>Round Badges</h2>
{% include badges.html badgeId="RoundColor" %}
{% include badges.html badgeId="RoundDark" %}
{% include badges.html badgeId="RoundLight" %}
{% endcomment %}
<h2>Rectangle Badges</h2>
{% include badges.html badgeId="RectangleColor" %}
{% include badges.html badgeId="RectangleDark" %}
{% include badges.html badgeId="RectangleLight" %}
<h2>Hive Badges</h2>
{% include badges.html badgeId="HiveColor" %}
{% include badges.html badgeId="HiveDark" %}
{% include badges.html badgeId="HiveLight" %}
<h2>Readme.md Badges</h2>
{% include badges.html badgeId="ReadmeDark" %}
{% include badges.html badgeId="ReadmeLight" %}
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.16/clipboard.min.js"></script>
<script type="text/javascript">
var clipboard = new Clipboard('.BadgeRow--copyClipboard');
var timer = null;
clipboard.on('success', function(e) {
if (timer) {
$('.BadgeRow--copyClipboard').html("Copy");
clearTimeout(timer);
}
e.trigger.innerHTML = "Copied!"
timer = setTimeout(function() {
e.trigger.innerHTML = "Copy"
}, 1000);
});
</script>
{% include analytics.html %}