-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (55 loc) · 1.42 KB
/
index.html
File metadata and controls
74 lines (55 loc) · 1.42 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
---
layout: default
title: The People of Learn Teach Code
---
{% assign clientid = "f6280b81cfae11da471a" %}
{% if jekyll.environment == "development" %}
{% assign clientid = "50937a23e1d140199e95" %}
{% endif %}
<h1>The People of Learn Teach Code</h1>
<!--
Before sign in
-->
<section id="loginSection">
<h2>Add yourself!</h2>
<p>
<a class="action" id="login" href="https://github.com/login/oauth/authorize?client_id={{clientid}}&scope=public_repo">Sign in with GitHub</a>
</p>
</section>
<section class="success hidden" role="status" id="messageSection">
</section>
<!--
After sign in
-->
<section id="inputSection" class="hidden">
<!-- <form> Commenting out form to prevent page refresh, lazy fix for now! -->
<p>
<label>
<span class="label">Hi, <span id="userNameSpan">friend</span>! Add your profile:</span><br />
<textarea id="userText">## About me
Tell us about yourself here
## I'm working on
Your cool project here
## I want to learn about
* JavaScript
* CSS
* Python
* Add more here...</textarea>
</label>
</p>
<p>
<button id="submit">Add Profile</button>
</p>
<!-- </form> -->
</section>
<ul>
{% for person in site.people %}
<li>
<a href="{{ person.url }}">
<h3>{{ person.name }}</h3>
<img src="{{ person.picture }}" alt="{{ person.name }}" width="200" />
</h3>
</li>
{% endfor %}
<ul>
<script src="main.js"></script>