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 606
Expand file tree
/
Copy pathapply-for-credit.html
More file actions
151 lines (130 loc) · 5.63 KB
/
Copy pathapply-for-credit.html
File metadata and controls
151 lines (130 loc) · 5.63 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
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
---
layout: default
title: Apply for Koding Credits
---
<!-- 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">
<div class="ApplyForm--container">
<div class="form-instructions">
<h1>Apply for $400 Koding Credit</h1>
<h3>If you sign up your entire team with Koding and write your stack script within a week, you are awesome, we love you and therefore <strong>we will give you $400</strong> in free credit.</h3>
<hr />
<p><strong>Note: </strong>This promotion is for teams only and does not apply to personal use of Koding. If you are just 1 person for now, and willing to invite team members later, it's OK. We will still issue the credit to your account. Just make sure we can see what you are working on via your landing page.</p>
</div>
<h3 class="form-success hidden">
Thank you. Your response has been recorded!
<br><br>
<a href="{{ site.url }}">Go back to homepage</a>
</h3>
</div>
</div>
<div class="ApplyForm--body">
<form id="SignupForm" novalidate data-persist="garlic" data-domain="true" class="ApplyForm--container">
<div class="SignupFieldset">
<label>Koding Team Name *</label>
<input type="text" name="Field1">
<div class="errorTooltip fadeOut">Required</div>
</div>
<div class="SignupFieldset">
<label>Your Koding User Name *</label>
<input type="text" name="Field2">
<div class="errorTooltip fadeOut">Required</div>
</div>
<div class="SignupFieldset">
<label>Your Work Email *</label>
<input type="text" name="Field3">
<div class="errorTooltip fadeOut">Required</div>
</div>
<div class="SignupFieldset">
<label>Your Company Web Site (or landing page) *<p>Your email domain should be the same with this website’s domain.</p></label>
<input type="text" name="Field4">
<div class="errorTooltip fadeOut">Required</div>
</div>
<div class="SignupFieldset">
<label>Number of Team Members *<p>If you are working solo on your future company, we understand and we’d love to help. You can tell us how many you are projecting in the next 12 months.</p></label>
<input type="text" name="Field5">
<div class="errorTooltip fadeOut">Required</div>
</div>
<div class="SignupFieldset">
<div class="name">
<label>Stack Script for your Team *<p>You must have completed a working stack script (with credentials added) for your team. Tell us which one that is.</p></label>
<input type="text" name="Field6">
<div class="errorTooltip fadeOut">Required</div>
</div>
</div>
<h3>While you are at it, would you like to make that <strong>$1,200 instead</strong>?</h3>
<div class="SignupFieldset">
<div class="checkboxRow">
<input type="checkbox" value="badge" name="Field7">
<label>I will add a "Made with Koding" badge to my home page for additional $400 credits</label>
<div class="clearfix"></div>
</div>
<div class="checkboxRow clearfix">
<input type="checkbox" value="blogpost" name="Field8">
<label>I will write a 2,000+ words Medium article about my experience and how Koding helps me for additional $400 Koding credits</label>
<div class="clearfix"></div>
</div>
</div>
<div class="SignupFieldset">
<div class="submit">
<button type="submit">SUBMIT</button>
</div>
</div>
</form>
</div>
<figure class="Micropage--UFO"></figure>
<figure class="Micropage--Ground"></figure>
</main>
<script>{% include js/autosize.min.js %}</script>
<script>{% include js/jquery.pwstrength.min.js %}</script>
<script>{% include js/garlic.min.js %}</script>
<script type="text/javascript" src="{{ site.url }}/js/create-team-base.js" /></script>
<script type="text/javascript" src="{{ site.url }}/js/create-team-errors.js" /></script>
<script type="text/javascript" src="{{ site.url }}/js/create-team-validators.js" /></script>
<script type="text/javascript" src="{{ site.url }}/js/requests.js" /></script>
<script type="text/javascript" src="{{ site.url }}/js/form-submission.js" /></script>
<script type="text/javascript">
KODING_UTILS.bindFormSubmission({
formSelector: '#SignupForm',
formHash: 'k5a8n2o0ioahhk',
success: function() {
$('.Micropage--container > h1').text('Awesome!');
$('.form-instructions').addClass('hidden');
$('.form-success').removeClass('hidden');
$('#SignupForm').hide();
},
error: function(arg) {
var FieldErrors, e, err, i, len, responseText, results;
responseText = arg.responseText;
try {
responseText = JSON.parse(responseText);
} catch (_error) {
e = _error;
console.log('couldn\'t parse the response');
}
if (responseText) {
FieldErrors = responseText.FieldErrors;
results = [];
$("input[type=text]").removeClass('error');
$(".errorTooltip").addClass('fadeOut');
for (i = 0, len = FieldErrors.length; i < len; i++) {
err = FieldErrors[i];
var inputField = $("input[name=" + err.ID + "]");
results.push(inputField.addClass('error'));
inputField.siblings('.errorTooltip').removeClass('fadeOut');
}
return results;
}
}
});
</script>
{% include analytics.html %}