-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
538 lines (513 loc) · 35.1 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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
---
layout: default
description: Robust, modular, and extendable authentication and user management for Elixir apps
---
<header class="bg-gray-700 text-gray-300">
<nav class="bg-gray-800 p-6">
<div class="w-full max-w-screen-xl relative mx-auto px-6 container">
<div class="flex w-full">
<div class="w-1/2 md:w-1/4 xl:w-1/5 pr-6">
<a href="/">
<svg class="fill-current h-10" viewBox="0 0 250 100" xmlns="http://www.w3.org/2000/svg">
<!---->
<defs>
<!---->
<linearGradient y2="0%" x2="100%" y1="0%" x1="0%" id="4ac835a4-184e-465d-b92b-7e4b29f60261" gradientTransform="rotate(25)">
<stop stop-color="#e2e8f0" offset="0%"/>
<stop stop-color="#718096" offset="100%"/>
</linearGradient>
</defs>
<defs>
<!---->
</defs>
<defs>
<!---->
</defs>
<g>
<title>background</title>
<rect fill="none" id="canvas_background" height="102" width="252" y="-1" x="-1"/>
</g>
<g>
<title>Layer 1</title>
<rect id="svg_1" class="logo-background-square" height="100" width="250" y="1" x="1" fill="transparent"/>
<g transform="matrix(5.84552 0 0 5.84552 62.0691 109.027)" fill="#e2e8f0" id="d16ce35a-4cdb-47a5-87d9-dc876631df02">
<path id="svg_2" d="m5.07631,-3.29044c0,0.75 0.42,0.95 0.91,0.95c0.29,0 0.58,-0.08 0.93,-0.14c-0.16,-1.29 -0.21,-2.56 -0.22,-3.82c0.24,0.04 0.5,0.05 0.76,0.05c1.9,0 3.93,-1.07 3.93,-3.17c0,-1.43 -1.12,-2.86 -3.67,-2.86l-1.99,0c-0.33,0 -0.86,-0.04 -0.86,-0.04c0,0 0.07,0.15 0.14,1.51c0.04,0.9 0.07,2.02 0.07,3.18l0,4.34zm1.61,-3.67l0,-1.05c0,-1.16 0.05,-3.53 0.05,-3.53l0.44,0c1.68,0 2.46,1.11 2.46,2.24c0,1.18 -0.85,2.37 -2.46,2.37c-0.16,0 -0.33,0 -0.49,-0.03zm5.62,1.15c0,1.82 1.21,3.54 3.56,3.54c2.41,0 3.7,-2 3.7,-4.09c0,-1.69 -1.21,-3.33 -3.56,-3.33c-2.42,0 -3.7,1.88 -3.7,3.88zm1.71,-0.24c0,-1.5 0.59,-3 1.84,-3c1.34,0 2,1.47 2,2.94c0,1.6 -0.6,3.2 -1.85,3.2c-1.33,0 -1.99,-1.56 -1.99,-3.14zm8.47,2.56c0.37,1.18 1.81001,1.22 1.81001,1.22l0.49,-1.06c0.35,-0.76 0.85,-1.81 1.01,-2.43l0.07,0c0.29,0.93 0.5,1.67 0.68,2.27c0.37,1.18 1.89,1.22 1.89,1.22l2.12,-5.88c0.37,-1.05 0.72,-1.26 0.72,-1.26l0,-0.07c0,0 -0.21,-0.11 -0.64,-0.11c-1.22001,0 -0.49,0.54 -2.38,5.96l0,0.02l-0.07,0c-0.63,-1.56 -1.4,-4.12 -1.68,-5.32c-0.1,-0.44 -0.63,-0.66 -1.11,-0.66c-0.56,0 -0.81,0.12 -0.81,0.12c0,0 0.73,1.49 0.73,2.33c0,0.75 -0.25,1.59 -1.12,3.53l-0.07,0c-0.62,-1.56 -1.53,-4.12 -1.82,-5.32c-0.11,-0.44 -0.63,-0.66 -1.11,-0.66c-0.49,0 -0.77,0.05 -1.05,0.11l0,0.07c0.27,0.22 0.42,0.55 0.56,0.84c0.52,1.12 1.39,3.81 1.78,5.08z"/>
</g>
<g transform="matrix(0.964697 0 0 0.964697 12.923 73.6106)" fill="url(#4ac835a4-184e-465d-b92b-7e4b29f60261)" id="2942cba9-060b-4c3f-b817-dc26fe81c89c">
<path id="svg_3" d="m9.91768,-67.14058c-4.776,1.17101 -3.477,7.049 0.449,5.098c0.07,0 22.796,-7.63699 37.68999,16.029c1.83,2.908 4.276,-0.855 3.284,-2.92c-3.13599,-6.528 -16.66299,-24.28098 -41.42399,-18.208l0.001,0.001zm-10.801,48.948c-2.816,-18.09901 4.768,-30.09701 14.204,-32.52901c22.46,-5.79 33.57199,21.898 33.57199,36.46301c0,14.212 -10.142,20.47001 -17.37099,19.836c-12.146,-1.067 -17.865,-13.772 -19.63,-23.664c-0.431,-2.411 -3.778,-20.96701 11.22,-21.07901c10.214,-0.075 15.956,17.60201 15.286,24.41401c-0.438,4.451 -2.527,9.10001 -7.254,8.685c-6.302,-0.553 -8.614,-9.611 -8.932,-13.19001c-0.07,-0.568 -1.36,-7.587 2.072,-6.993c2.367,0.41 2.946,4.816 3.027,5.104c0.33,1.057 0.554,2.385 0.69,3.612c0.144,1.04 -0.091,2.234 0.327,3.392c0.41,1.345 1.588,2.102 2.608,2.192c0.834,0.073 2.426,-0.78 2.48,-2.084c0.108,-6.936 -2.796,-19.278 -10.98,-18.552c-4.602,0.408 -7.029,5.676 -5.718,14.17c1.277,8.272 5.584,17.367 14.098,18.11401c9.36,0.822 13.13,-7.713 13.13,-14.144c0,-18.338 -12.402,-35.16801 -27.059,-30.13c-8.417,2.893 -13.525,12.056 -10.65,27c2.98,15.49201 12.146,29.707 25.445,29.322c24.348,-0.70599 22.65699,-26.64 22.65699,-26.64c0,-23.83001 -19.30799,-51.401 -44.06899,-40.66501c-10.208,4.427 -18.192,19.353 -15.178,37.56401c7.646,46.19699 41.032,40.89 42.591,40.65001l0.117,0.013c5.327,-0.771 4.238,-6.711 0.34,-6.044c-22.105,3.785 -34.039,-15.648 -37.022,-34.81601l-0.001,-0.001z"/>
</g>
</g>
</svg>
</a>
</div>
<div class="flex justify-end items-center w-1/2 md:w-3/4 xl:w-4/5">
<a href="/guides/" class="block hover:text-gray-400 mr-4">
Guides
</a>
<a class="hover:text-gray-400 mr-5 m-2" href="https://github.com/danschultzer/pow">
<svg class="fill-current w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<title>GitHub</title>
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" style="fill:#FFFFFF;"/>
</svg>
</a>
<a class="hover:text-gray-400" href="https://elixir-lang.slack.com/messages/CMRAN7B6G/">
<svg class="fill-current w-5 h-5 m-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<title>Slack</title>
<path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/>
</svg>
</a>
</div>
</div>
</div>
</nav>
<div class="w-full max-w-screen-xl relative mx-auto px-6 pt-16 pb-40 md:pb-24 container">
<div class="xl:flex -mx-6">
<div class="px-6 text-left md:text-center xl:text-left max-w-2xl md:max-w-3xl mx-auto">
<h1 class="text-3xl sm:text-4xl md:text-5xl xl:text-4xl font-light leading-tight">A robust, modular and extendable <span class="sm:block text-indigo-400 font-normal">user management solution.</span></h1>
<p class="mt-6 leading-relaxed sm:text-lg md:text-xl xl:text-lg text-gray-400">
Pow is a complete authentication and user management library built in Elixir that works out-of-the-box for Phoenix and Plug based applications while being fully customizable.
</p>
<div class="flex mt-6 justify-start md:justify-center xl:justify-start">
<a href="https://hexdocs.pm/pow/README.html#installation" class="rounded-lg px-4 md:px-5 xl:px-4 py-3 md:py-4 xl:py-3 bg-indigo-500 hover:bg-indigo-600 md:text-lg xl:text-base text-gray-300 font-semibold leading-tight shadow-md">Get Started</a>
</div>
</div>
<div class="mt-12 xl:mt-0 px-6 flex-shrink-0 hidden md:block">
<div class="mx-auto" style="width: 32.2rem;overflow:hidden;">
<div class="flex flex-col">
<div class="shadow-lg code-white text-sm font-mono subpixel-antialiased bg-gray-800 px-5 pb-6 pt-4 rounded-lg leading-normal overflow-hidden" style="width: 30rem; line-height: 1.675;">
<div class="flex content-start mb-4">
<div class="w-9 flex pr-8">
<span class="h-3 w-3 bg-red-500 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-orange-300 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-green-500 rounded-full"></span>
</div>
<div class="w-full whitespace-no-wrap text-center inline-block text-gray-600 text-xs">
mix.exs
</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">.. </div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">34 </div>
<div class="inline-block text-purple-400">defp</div>
<div class="inline-block text-blue-400">deps</div>
<div class="inline-block text-purple-400">do</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">35 </div>
<div class="inline-block text-yellow-400">[</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">.. </div>
<div class="inline-block text-gray-600">...</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">46 </div>
<div class="inline-block">
<span class="text-purple-400">{</span><span class="text-orange-400">:</span><span class="text-teal-400">pow</span><span class="text-gray-200">,</span>
</div>
<div class="inline-block">
<span class="text-green-400">"~> 1.0.0"</span><span class="text-purple-400">}</span><span class="text-gray-200"></span>
</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">47 </div>
<div class="inline-block text-yellow-400">]</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">48 </div>
<div class="inline-block text-purple-400">end</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-gray-600">.. </div>
<div class="inline-block text-gray-600"></div>
</div>
</div>
<div class="shadow-lg leading-normal self-start w-64 rounded-lg -mt-16 ml-48 relative">
<div class="border-gray-700 border shadow-lg code-white text-sm font-mono subpixel-antialiased bg-gray-800 px-5 pb-6 pt-4 rounded-lg leading-normal" style="width: 20rem; line-height: 1.675;">
<div class="flex content-start mb-4">
<div class="w-9 flex pr-8">
<span class="h-3 w-3 bg-red-500 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-orange-300 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-green-500 rounded-full"></span>
</div>
<div class="w-full whitespace-no-wrap text-center inline-block text-gray-600 text-xs">
my_app
</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-green-400">➜ </div>
<div class="inline-block text-teal-400">my_app </div>
<div class="inline-block text-white">mix deps.get</div>
</div>
<div class="whitespace-no-wrap">
<div class="inline-block text-green-400">➜ </div>
<div class="inline-block text-teal-400">my_app </div>
<div class="inline-block text-white">mix pow.install</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<main class="text-black container mx-auto px-6 p-10">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-8">Features</h2>
<div class="flex items-center flex-wrap mb-20">
<div class="w-full md:w-1/2">
<h3 class="text-3xl text-gray-800 font-bold mb-3">User registration</h3>
<p class="text-gray-600 mb-8">
Pow gives you out-of-the-box authentication and user management for your Phoenix or Plug based app. Functionally built so it's fully customizable.
</p>
<p class="text-gray-600 mb-8">
Strong security is a core tenet of Pow's philosophy, which is why Pow by default uses short lived sessions. If your app requires stateless tokens, the authorization layer <a href="https://hexdocs.pm/pow/README.html#authorization-plug" class="underline">can be replaced in minutes</a>.
</p>
</div>
<div class="w-full md:w-1/2">
<div class="mt-12 xl:mt-0 px-6 flex-shrink-0 md:block">
<div class="flex flex-col">
<div class="shadow-lg code-white text-sm font-mono subpixel-antialiased bg-gray-300 px-5 pb-6 pt-4 rounded-lg leading-normal overflow-hidden">
<div class="flex content-start mb-4">
<div class="w-9 flex pr-8">
<span class="h-3 w-3 bg-red-500 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-orange-300 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-green-500 rounded-full"></span>
</div>
<div class="w-full whitespace-no-wrap text-center inline-block text-gray-600 text-xs">
http://localhost:4000/session/new
</div>
</div>
<div class="font-sans">
<h1 class="text-2xl text-gray-700 mb-6">Sign in</h1>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="user[email]">Email</label>
<input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" type="text" placeholder="Email" value="john.doe@example.com" id="user[email]" />
</div>
<div class="mb-6">
<label class="block text-gray-700 text-sm font-bold mb-2" for="user[password]">Password</label>
<input class="shadow appearance-none border border-red-500 rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline" type="password" placeholder="******************" id="user[password]" />
<p class="text-red-500 text-xs italic">can't be blank</p>
</div>
<div class="flex items-center justify-between">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Sign in</button>
<a class="inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" href="#" onclick="javascript:return false;">Register</a>
</div>
</div>
</div>
</div>
<script type="text/javascript">
let i = 0;
let txt = 'john.doe@example.com';
let minSpeed = 50;
let maxSpeed = 150;
let input = document.querySelector("#user\\[email\\]");
let label = document.querySelector("[for=\"user[email]\"]")
label.style = "transition: all 1s;"
function switchUserId() {
if (label.innerHTML == "Email") {
label.innerHTML = "Username"
input.placeholder = "Username"
txt = 'john.doe'
} else {
label.innerHTML = "Email"
input.placeholder = "Email"
txt = 'john.doe@example.com'
}
label.style = "transition: all 1s;opacity:0;"
setTimeout(function() {
label.style = "transition: all 1s;"
}, 250)
}
function typeWriter() {
let speed = minSpeed + Math.random() * (maxSpeed - minSpeed)
input.value += txt.charAt(i);
i++;
if (i == txt.length) {
speed = 3000
} else if(i > txt.length) {
speed = 400
i = 0
input.value = ""
switchUserId()
}
setTimeout(typeWriter, speed);
}
input.value = "";
typeWriter();
</script>
</div>
</div>
</div>
<div class="flex items-center flex-wrap mb-20">
<div class="w-full md:w-1/2">
<div id="robotanimation" class="px-6">
<!-- Credits https://codepen.io/lwoodrick/pen/EbjJK -->
<svg version="1.1" id="ship_it" x="0px" y="0px" width="100%" viewBox="0 0 400 400.004" enable-background="new 0 0 400 400.004" xml:space="preserve" preserveAspectRatio="xMinYMin" style="margin: auto;max-width:400px;">
<defs>
<clipPath id="fundamentalsclipPath">
<circle fill="none" cx="400" cy="400" r="200"/>
</clipPath>
</defs>
<circle id="f4_background" fill="#A3BFFA" cx="200" cy="199.003" r="200"/>
<path id="f4_track" fill="#edf2f7" d="M332.831,348.506H145.993c-12.53,0-22.725-10.191-22.725-22.721 c0-12.531,10.194-22.727,22.725-22.727h224.835c0.7-1.146,1.383-2.305,2.06-3.466H145.993c-14.441,0-26.189,11.749-26.189,26.191 c0,14.438,11.749,26.187,26.189,26.187H328.83C330.178,350.833,331.512,349.678,332.831,348.506z"/>
<g id="f4_cog">
<path fill="none" stroke="#edf2f7" stroke-width="3.0446" stroke-miterlimit="10" d="M150.98,325.785
c0,2.412-1.957,4.367-4.37,4.367s-4.37-1.955-4.37-4.367c0-2.416,1.957-4.37,4.37-4.37S150.98,323.369,150.98,325.785z"/>
<g>
<path fill="#edf2f7" d="M148.318,310.357l0.478,4.238c1.525,0.295,2.944,0.887,4.185,1.727l3.33-2.654l2.413,2.415l-2.654,3.329
c0.84,1.242,1.432,2.662,1.729,4.186l4.237,0.48v3.412l-4.231,0.478c-0.297,1.527-0.895,2.943-1.735,4.188l2.654,3.328
l-2.413,2.414l-3.33-2.652c-1.241,0.839-2.66,1.438-4.185,1.732l-0.478,4.229h-3.414l-0.481-4.235
c-1.521-0.297-2.941-0.889-4.185-1.728l-3.327,2.653l-2.413-2.416l2.651-3.327c-0.839-1.243-1.431-2.66-1.729-4.187l-4.234-0.479
v-3.412l4.231-0.479c0.296-1.524,0.892-2.943,1.731-4.188l-2.654-3.329l2.417-2.415l3.327,2.654
c1.244-0.84,2.661-1.438,4.188-1.732l0.478-4.23h3.414 M151.039,307.312h-2.721h-3.414h-2.72l-0.305,2.703l-0.248,2.198
c-0.37,0.136-0.735,0.286-1.092,0.452l-1.729-1.379l-2.127-1.696l-1.924,1.923l-2.417,2.416l-1.925,1.924l1.697,2.127l1.38,1.73
c-0.166,0.357-0.316,0.723-0.451,1.092l-2.2,0.249l-2.702,0.308v2.719v3.412v2.72l2.702,0.306l2.202,0.25
c0.135,0.369,0.285,0.733,0.45,1.09l-1.379,1.731l-1.694,2.126l1.921,1.923l2.413,2.415l1.924,1.926l2.128-1.697l1.73-1.381
c0.356,0.164,0.719,0.314,1.088,0.449l0.25,2.204l0.307,2.701h2.718h3.414h2.72l0.306-2.703l0.249-2.196
c0.37-0.137,0.734-0.287,1.091-0.453l1.731,1.379l2.128,1.695l1.923-1.924l2.413-2.415l1.922-1.925l-1.696-2.126l-1.379-1.729
c0.166-0.356,0.317-0.722,0.452-1.092l2.2-0.248l2.703-0.305v-2.721v-3.412v-2.719l-2.701-0.308l-2.206-0.25
c-0.135-0.37-0.285-0.733-0.449-1.09l1.38-1.731l1.695-2.127l-1.922-1.924l-2.413-2.414l-1.923-1.926l-2.128,1.696l-1.733,1.382
c-0.356-0.165-0.719-0.314-1.088-0.449l-0.249-2.201L151.039,307.312L151.039,307.312z"/>
</g>
</g>
<g id="f4_feature_box">
<rect x="171.939" y="244.277" fill="#edf2f7" width="58.727" height="52.435"/>
<rect x="184.458" y="258.293" fill="#C3DAFE" width="33.687" height="20.768"/>
<rect x="188.062" y="264.523" fill="#667EEA" width="26.477" height="4.151"/>
</g>
<g id="f4_drop_tube">
<polygon fill="#667EEA" points="273.672,136.201 124.672,136.201 143.882,93.225 254.462,93.225 "/>
<path fill="#667EEA" d="M182.871-0.261c-15.057,1.277-29.638,4.22-43.558,8.648l-1.561,2.954h-0.103l0.051,0.098l-0.051,0.097 h0.103l6.13,11.605l-6.13,11.604h-0.103l0.051,0.098l-0.051,0.097h0.103l6.108,11.564l-6.107,11.562h-0.104l0.052,0.098 l-0.052,0.099h0.104l6.129,11.603l-6.129,11.604h-0.104l0.052,0.098l-0.052,0.099h0.104l6.129,11.604h110.58l6.13-11.604h0.104 l-0.051-0.099l0.051-0.098h-0.104l-6.13-11.604l6.13-11.603h0.104l-0.051-0.099l0.051-0.098h-0.104l-6.107-11.562l6.108-11.564 h0.103l-0.051-0.097l0.051-0.098h-0.103l-6.131-11.604l6.131-11.605h0.103l-0.051-0.097l0.051-0.098h-0.103l-1.89-3.577 c-13.32-4.084-27.232-6.808-41.575-8.025H182.871z"/>
<path fill="#A3BFFA" d="M237.854,2.595c-12.26-2.349-24.91-3.594-37.854-3.594c-12.943,0-25.595,1.245-37.853,3.593L237.854,2.595 L237.854,2.595z"/>
<path fill="#A3BFFA" d="M255.855,8.485H142.49l0.675-1.277c-2.629,0.778-5.239,1.6-7.821,2.482 c-0.048,0.058-0.101,0.111-0.141,0.177c-0.29,0.481-0.41,1.028-0.391,1.572c-0.019,0.544,0.101,1.089,0.391,1.571 c0.082,0.136,0.19,0.248,0.292,0.367l5.158,9.764l-5.159,9.764c-0.101,0.118-0.209,0.229-0.291,0.366 c-0.29,0.481-0.41,1.028-0.391,1.571c-0.019,0.544,0.101,1.09,0.391,1.571c0.082,0.136,0.19,0.248,0.292,0.366l5.137,9.724 l-5.133,9.718c-0.103,0.119-0.212,0.233-0.295,0.37c-0.291,0.482-0.41,1.028-0.391,1.573c-0.019,0.544,0.101,1.09,0.391,1.572 c0.083,0.137,0.191,0.25,0.293,0.369l5.156,9.76l-5.156,9.76c-0.102,0.119-0.211,0.232-0.293,0.369 c-0.291,0.482-0.41,1.028-0.391,1.572c-0.019,0.544,0.101,1.091,0.391,1.573c0.083,0.137,0.191,0.25,0.293,0.369l5.2,9.844
l-18.632,41.684c-0.395,0.883-0.315,1.907,0.211,2.718c0.526,0.812,1.428,1.302,2.396,1.302h149c0.008,0.001,0.016,0,0.02,0 c1.578,0,2.855-1.278,2.855-2.855c0-0.532-0.145-1.029-0.396-1.456l-18.504-41.393l5.199-9.842c0.104-0.12,0.213-0.233,0.295-0.371 c0.291-0.482,0.41-1.028,0.392-1.573c0.02-0.544-0.101-1.09-0.392-1.572c-0.082-0.138-0.191-0.251-0.295-0.371l-5.154-9.758 l5.154-9.758c0.104-0.12,0.213-0.233,0.295-0.371c0.291-0.482,0.41-1.028,0.392-1.573c0.02-0.544-0.101-1.09-0.392-1.572 c-0.082-0.138-0.191-0.251-0.295-0.371l-5.133-9.717l5.137-9.724c0.102-0.119,0.209-0.23,0.291-0.367
c0.291-0.481,0.41-1.027,0.392-1.571c0.02-0.543-0.101-1.09-0.392-1.571c-0.082-0.136-0.189-0.248-0.291-0.366l-5.158-9.764 l5.158-9.764c0.102-0.119,0.209-0.23,0.291-0.367c0.291-0.481,0.409-1.027,0.392-1.571c0.019-0.544-0.101-1.09-0.392-1.571 c-0.082-0.136-0.189-0.248-0.291-0.367l-0.263-0.496c-2.552-0.84-5.12-1.641-7.716-2.38L255.855,8.485z M255.855,37.794 l-3.069,5.812H145.56l-3.07-5.812H255.855z M142.49,31.889l3.113-5.893h107.139l3.113,5.893H142.49z M142.491,78.613l3.112-5.893 h107.139l3.113,5.893H142.491z M255.855,84.521l-3.09,5.849H145.58l-3.089-5.849H255.855z M252.742,67.009H145.603l-3.112-5.892 h113.364L252.742,67.009z M142.491,55.209l3.069-5.81h107.226l3.069,5.81H142.491z M269.268,133.346H129.076l16.638-37.222H252.63 L269.268,133.346z M252.742,20.285H145.603l-3.113-5.894h113.365L252.742,20.285z"/>
</g>
</svg>
</div>
<style type="text/css">
.illustration {
width: 400px;
height: auto;
margin: 30px auto;
}
.illustration svg {
position: relative;
top: 0;
right: 0;
width: 100%;
max-width: 400px;
border-radius: 50%;
}
@media (max-width: 580px) {
.illustration {
width: 100%;
padding-bottom: 400px;
border-radius: 50%;
max-height: 400px;
}
.illustration svg {
border-radius: 0;
}
}
svg#ship_it #f4_feature_box {
-webkit-transform-origin: 201px 270px;
transform-origin: 201px 270px;
-webkit-animation: featuredrop 2.4s ease-in infinite;
animation: featuredrop 2.4s ease-in infinite;
}
svg#ship_it #f4_cog {
-webkit-transform-origin: 147px 326px;
transform-origin: 147px 326px;
-webkit-animation: gearspin 2.5s linear infinite;
animation: gearspin 2.5s linear infinite;
}
@-webkit-keyframes flashup {
0% {
opacity: 0;
}
44% {
opacity: 0;
}
45% {
opacity: 1;
}
50% {
opacity: 1;
}
51% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@keyframes flashup {
0% {
opacity: 0;
}
44% {
opacity: 0;
}
45% {
opacity: 1;
}
50% {
opacity: 1;
}
51% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes featuredrop {
0% {
-webkit-transform: translateY(-300px);
transform: translateY(-300px);
}
40% {
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
44% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
50% {
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
100% {
-webkit-transform: translateX(300px);
transform: translateX(300px);
}
}
@keyframes featuredrop {
0% {
-webkit-transform: translateY(-300px);
transform: translateY(-300px);
}
40% {
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
44% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
50% {
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
100% {
-webkit-transform: translateX(300px);
transform: translateX(300px);
}
}
@-webkit-keyframes gearspin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes gearspin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
</style>
</div>
<div class="w-full md:w-1/2 pl-10">
<h3 class="text-3xl text-gray-800 font-bold mb-3">Production-ready</h3>
<p class="text-gray-600 mb-8">
Pow has been used in countless production apps and is a "batteries included" library for production. The cache backend store used for session storage <a href="https://hexdocs.pm/pow/README.html#pow-plug-session" class="underline">can be replaced with any key-value store of your choice</a>.
</p>
<p class="text-gray-600 mb-8">
The <a href="https://hexdocs.pm/pow/Pow.Store.Backend.MnesiaCache.html#content" class="underline">built-in Mnesia cache module</a> works both for clusters and single machine persistence, that can auto-connect to the cluster on startup and self-heal after netsplit.
</p>
</div>
</div>
<div class="flex items-center flex-wrap">
<div class="w-full md:w-1/2">
<h3 class="text-3xl text-gray-800 font-bold mb-3">Extendable</h3>
<p class="text-gray-600 mb-6">
Pow is extremely modular and fully customizable. As your platform scales, each moving part can be modified or replaced ad-hoc. Several extensions are included in Pow so you with no effort can add secure features to your app like these:
</p>
<ul class="text-gray-600 mb-8 list-disc list-inside">
<li><a href="https://hexdocs.pm/pow/pow_reset_password.html" class="underline">Password reset</a></li>
<li><a href="https://hexdocs.pm/pow/pow_email_confirmation.html" class="underline">E-mail confirmation</a></li>
<li><a href="https://hexdocs.pm/pow/pow_invitation.html" class="underline">Invitation</a></li>
<li><a href="https://hexdocs.pm/pow/pow_persistent_session.html" class="underline">Remember me</a></li>
</ul>
<p class="text-gray-600 mb-8">
<a href="https://hexdocs.pm/pow_assent/README.html" class="underline">PowAssent</a> adds multi-provider support so your app can permit sign in with Github, Twitter or any other external profiles.
</p>
</div>
<div class="w-full md:w-1/2">
<div class="mt-12 xl:mt-0 px-6 flex-shrink-0 md:block">
<div class="flex flex-col">
<div class="shadow-lg code-white text-sm font-mono subpixel-antialiased bg-gray-300 px-5 pb-6 pt-4 rounded-lg leading-normal overflow-hidden">
<div class="flex content-start mb-4">
<div class="w-9 flex pr-8">
<span class="h-3 w-3 bg-red-500 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-orange-300 rounded-full"></span>
<span class="ml-2 h-3 w-3 bg-green-500 rounded-full"></span>
</div>
<div class="w-full whitespace-no-wrap text-center inline-block text-gray-600 text-xs">
http://localhost:4000/session/new
</div>
</div>
<h1 class="text-2xl text-gray-700 mb-6 text-center">Sign in with</h1>
<div class="font-sans text-center">
<%# Icons from https://simpleicons.org/ %>
<button class="bg-blue-500 hover:bg-blue-700 text-white mb-2 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="height:1rem;">
<title>GitHub</title>
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" style="fill:#FFFFFF;"/>
</svg>
</button>
<button class="bg-blue-500 hover:bg-blue-700 text-white mb-2 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="height:1rem;">
<title>Gitlab</title>
<path d="M23.955 13.587l-1.342-4.135-2.664-8.189c-.135-.423-.73-.423-.867 0L16.418 9.45H7.582L4.919 1.263C4.783.84 4.185.84 4.05 1.26L1.386 9.449.044 13.587c-.121.375.014.789.331 1.023L12 23.054l11.625-8.443c.318-.235.453-.647.33-1.024" style="fill:#FFFFFF;"/>
</svg>
</button>
<button class="bg-blue-500 hover:bg-blue-700 text-white mb-2 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="height:1rem;">
<title>Twitter</title>
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z" style="fill:#FFFFFF;"/>
</svg>
</button>
<button class="bg-blue-500 hover:bg-blue-700 text-white mb-2 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="height:1rem;">
<title>Facebook</title>
<path d="M23.9981 11.9991C23.9981 5.37216 18.626 0 11.9991 0C5.37216 0 0 5.37216 0 11.9991C0 17.9882 4.38789 22.9522 10.1242 23.8524V15.4676H7.07758V11.9991H10.1242V9.35553C10.1242 6.34826 11.9156 4.68714 14.6564 4.68714C15.9692 4.68714 17.3424 4.92149 17.3424 4.92149V7.87439H15.8294C14.3388 7.87439 13.8739 8.79933 13.8739 9.74824V11.9991H17.2018L16.6698 15.4676H13.8739V23.8524C19.6103 22.9522 23.9981 17.9882 23.9981 11.9991Z" style="fill:#FFFFFF;"/>
</svg>
</button>
<button class="bg-blue-500 hover:bg-blue-700 text-white mb-2 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="height:1rem;">
<title>Slack</title>
<path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z" style="fill:#FFFFFF;"/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>