-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (82 loc) · 3.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="CoderStats displays information and statistics about GitHub users and their public source code repositories.">
<title>CoderStats - View Information & Statistics for Millions of GitHub Users</title>
<link rel="shortcut icon" href="/img/coderstats.png">
<link rel="canonical" href="" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/compiled/style.css">
</head>
<body>
<div class="container-full main">
<div class="brand-front">
<img src="/img/coderstats.svg">
<h1>CoderStats</h1>
</div>
<div class="box-search" id="search">
<form class="row" @submit.prevent>
<div class="col-12 col-7-m col-8-l col-10-xl">
<input class="field" id="username" type="text" placeholder="GitHub user name or organization" v-model="username">
</div>
<div class="col-12 col-5-m col-4-l col-2-xl">
<button @click="coder" class="button">Get Stats</button>
</div>
</form>
</div>
<div v-if="events" id="active-users" class="padb">
<h2>Recently active users</h2>
<div class="row">
<user-link
v-for="user in users.slice(0, 12)"
v-bind:login="user.key"
v-bind:avatar_url="user.values[0].actor.avatar_url"
></user-link>
</div>
</div>
<div v-if="users" id="followed-users" class="padb">
<h2>Users with many followers</h2>
<div class="row">
<user-link
v-for="user in users.slice(0, 12)"
v-bind:login="user.login"
v-bind:avatar_url="user.avatar_url"
></user-link>
</div>
</div>
<div v-if="users" id="most-repos-users" class="padb">
<h2>Users with many repositories</h2>
<div class="row">
<user-link
v-for="user in users.slice(0, 12)"
v-bind:login="user.login"
v-bind:avatar_url="user.avatar_url"
></user-link>
</div>
</div>
<div v-if="users" id="earliest-users" class="padb">
<h2>Users with old accounts</h2>
<div class="row">
<user-link
v-for="user in users.slice(0, 12)"
v-bind:login="user.login"
v-bind:avatar_url="user.avatar_url"
></user-link>
</div>
</div>
</div>
<footer class="container-full padv">
<p><a href="/">CoderStats</a> is a free service that displays statistics for coders with public Git repositories on GitHub.<br>
<a href="https://github.com/coderstats/coderstats">Source Code</a> •
<a href="https://chrome.google.com/webstore/detail/necogepejonacpphmlmcagmbjaogpbng">Chrome Extension</a> • <a href="https://addons.mozilla.org/en-US/firefox/addon/coderstats/">Firefox Add-on</a> • <a href="https://geeksta.net/merch/" title="T-Shirts, hoodies, mugs and stickers for coders">Coder Merchandise</a>
</footer>
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-resource.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/d3-collection.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/d3-array.min.js"></script>
<script src="/compiled/front.js"></script>
<script src="/compiled/search.js"></script>
</body>
</html>