-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·197 lines (188 loc) · 8.61 KB
/
index.html
File metadata and controls
executable file
·197 lines (188 loc) · 8.61 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DevChat - The friendly Slack community for developers</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/wf.css">
<link rel="stylesheet" type="text/css" href="css/devchat.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://devchat.devolio.net/apple-touch-icon-144x144.png"
/>
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="https://devchat.devolio.net/ apple-touch-icon-152x152.png"
/>
<link rel="icon" type="image/png" href="https://devchat.devolio.net/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="https://devchat.devolio.net/favicon-16x16.png" sizes="16x16" />
<meta name="application-name" content="DevChat - The friendly Slack community for developers" />
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="https://devchat.devolio.net/mstile-144x144.png" />
<link href="https://fonts.googleapis.com/css?family=Questrial&display=swap" rel="stylesheet">
<style>
.w-input::-webkit-input-placeholder {
/* WebKit browsers */
color: #fff;
}
.w-input:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: #fff;
opacity: 1;
}
.w-input::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: #fff;
opacity: 1;
}
.w-input:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: #fff;
}
body {
-webkit-font-smoothing: antialiased;
}
</style>
</head>
<body>
<div class="w-section section1">
<div class="w-clearfix login-container">
<div class="login">Already a member?</div>
<a href="https://devolio-devchat.slack.com/" class="w-button login login-button">Login</a>
</div>
<div class="w-container container1">
<div class="logo"></div>
<h1 class="h1">
<span class="devchat">DevChat</span> - The Slack community for Hackers</h1>
<h2 class="h2">We are a very friendly group of software developers who come together to solve problems and learn.</h2>
<div class="w-form form-wrapper">
<form id="email-form" name="email-form" data-name="Email Form" method="post" class="form">
<input id="email" type="email" placeholder="Enter your email address" name="email" data-name="email" required="required" class="w-input field">
<div class="status nr-reg" id="status">
<span class="nr-reg" id="members">19000+</span> friendly members.</div>
<input title="Email" id="btn" type="submit" value="Join now!" data-wait="Please wait..." class="w-button join-button">
<div class="coc-link">By signing up for DevChat you agree to follow our
<a class="link" href="https://devchat.devolio.net/rules.txt">rules</a>.</div>
</form>
</div>
<div class="table">
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">What's DevChat?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">
<span class="text-bold">DevChat</span> is a community of developers, asking and answering questions, solving challenges, and having
a good time learning together. We are a Slack team, which means that we talk in real time, we share links and
resources, and keep things organized.</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">What's in it for me?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">We give away free knowledge and help. We're a very friendly community, open to and respectful of every programming
language, level of experience, age, time zone, gender, etc, etc.</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">What are the big channels?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">We've got lots, but the big ones are
<span class="text-bold">#python</span> (1670+ members),
<span class="text-bold">#javascript</span> (3110+ members),
<span class="text-bold">#java</span> (1250+ members), and
<span class="text-bold">#webdev</span> (2320+ members).</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">Who's joined DevChat?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">Everyone from people who have never programmed before, high school students, self-taught programmers, professional
programmers, and students from MIT, Harvard, Columbia University, NYU and CERN.
<span class="text-bold">#truestory</span>
</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">Do you have other links?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">
<a target="_blank" data-rt-link-type="external" class="link" href="https://twitter.com/devchat_">Twitter</a>, <a target="_blank" class="link" href="https://www.reddit.com/r/devchat/">Reddit</a> and <a target="_blank" class="link" href="http://github.com/devchat-dev">GitHub</a>.</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">How can I contact you?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">You can DM
<span class="text-bold">@mustafa</span> on DevChat or email
<span class="text-bold">
<a class="link" href="mailto:mustafa@devolio.net?subject=%23devchat">mustafa@devolio.net</a>
</span>
</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">Not convinced yet?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">
<span class="text-bold">@nixoninnes</span> wrote a
<a target="_blank" class="link" href="https://redd.it/4fh61c">wonderful piece on his experience</a>. No doubt we can help you out too!</p>
</div>
</div>
<div class="w-row row">
<div class="w-col w-col-4">
<h3 class="h3">Looking for a job?</h3>
</div>
<div class="w-col w-col-8">
<p class="table-text">
Check out the <a target="_blank" class="link" href="https://devjobshq.squarespace.com/">DevJobs</a> Website!</p>
</div>
</div>
</div>
</div>
<a href="https://deta.sh/" target="_blank" class="w-inline-block w-clearfix powered-by">
<svg class="devolio-logo" width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h42v42H-1z"/><g><g stroke="null"><circle fill="#ef39a8" r="18.801" cy="20" cx="20"/><circle fill="#bd399c" r="15.042" cy="20" cx="20"/><circle fill="#93388e" r="11.281" cy="20" cx="20"/><circle fill="#563379" r="7.521" cy="20" cx="20"/></g></g></svg>
<div class="by-devolio">Powered by
<span class="devolio">DETA</span>
</div>
</a>
</div>
<script>
(function(){
async function submit(event){
event.preventDefault()
console.log(event)
let email = document.getElementById("email")
if (email.checkValidity()){
document.getElementById("status").innerHTML = "Patience you must have, my young padawan."
try{
let res = await fetch("https://z5x7l1zw8m5u.deta.dev/", {
method: "POST",
body: JSON.stringify({email: email.value})
})
if (res.ok){
document.getElementById("status").innerHTML = "🙌 Awesome! Check your inbox now :)"
document.getElementById("email").value = ""
}
} catch (e){
console.error(e)
document.getElementById("status").innerHTML = "Something went wrong. Refresh and retry. If it persists drop me a message mustafa@devolio.net"
}
} else {
document.getElementById("status").innerHTML = "Are you sure that's a valid email address?"
}
}
document.getElementById("btn").addEventListener("click", submit);
})();
</script>
</body>
</html>