-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
157 lines (143 loc) · 8.19 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
<!DOCTYPE html>
<html id="app">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title v-text="metadata.title">Github User Page Generator : alterebro.github.io</title>
<meta name="description" content="Github User Page JavaCript Generator built with Vue.js that creates a dynamic page based on the existing data and repositories of a given GitHub user" v-bind:content="metadata.description" />
<meta name="author" content="Jorge Moreno aka moro, moro.es (@alterebro)" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" />
<meta http-equiv="cleartype" content="on" />
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<meta name="robots" content="index, follow" />
<!-- Social Networks -->
<meta name="twitter:title" property="og:title" itemprop="title name" content="Github User Page Generator" v-bind:content="metadata.title" />
<meta name="twitter:description" property="og:description" itemprop="description" content="Github User Page JavaCript Generator built with Vue.js that creates a dynamic page based on the existing data and repositories of a given GitHub user" v-bind:content="metadata.description" />
<meta name="twitter:url" property="og:url" itemprop="url" content="http://alterebro.github.io" v-bind:content="metadata.url" />
<meta name="twitter:image" property="og:image" itemprop="image" content="http://alterebro.github.io/frontend/images/alterebro-github-io.jpg" />
<!-- : FaceBook -->
<meta property="og:type" content="website" />
<meta property="fb:admins" content="636040175" />
<meta property="article:author" content="https://www.facebook.com/alterebro" />
<meta property="article:publisher" content="https://www.facebook.com/alterebro" />
<!-- : Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@alterebro" />
<meta name="twitter:creator" content="@alterebro" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="address=no" />
<meta name="google" content="notranslate" />
<!--[if IEMobile]><meta http-equiv="cleartype" content="on" /><![endif]-->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#3f434f" />
<meta name="msapplication-navbutton-color" content="#3f434f" />
<meta name="msapplication-TileImage" v-bind:content="user_data.avatar_url" />
<meta name="msapplication-TileColor" content="#3f434f" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" v-bind:content="metadata.title" />
<link rel="icon" sizes="256x256" href="https://avatars.githubusercontent.com/u/{{ user_data.id }}?s=256" />
<link rel="apple-touch-icon" href="https://avatars.githubusercontent.com/u/{{ user_data.id }}" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" type="text/css" />
<link href="frontend/styles/app.css" rel="stylesheet" type="text/css" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L3Q1ZY05BE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-L3Q1ZY05BE');
</script>
</head>
<body class="preload">
<div id="loader" class="listen" v-bind:class="status">
<div class="loading-content">
<div class="loading-spinner"></div>
<div class="loading-error">
<i class="fa fa-warning fa-2x"></i>
<br /><strong v-text="'Error fetching user data'"></strong>
<br /><a :href="'https://github.com/' + user" v-text="'https://github.com/' + user"></a>
<br /><span v-text="error_msg"></span>
</div>
</div>
</div>
<header role="banner">
<h1><strong><a href="{{ user_data.html_url }}" title="{{ user }}" target="_blank">@{{ user }}</a></strong> {{ user_data.name }}</h1>
<ul class="fa-ul">
<li>
<i class="fa fa-fw fa-code"></i>
<span v-for="user_lang in user_languages | orderBy 'user_lang' -1" class="code-lang" v-if="user_lang / user_languages_total * 100 > 0.1">
<strong>{{ $key }}</strong> {{ user_lang | langpercent }}%
</span>
</li>
<li v-if="user_data.location"><i class="fa fa-fw fa-globe"></i> {{ user_data.location }}</li>
<li v-else><i class="fa fa-fw fa-globe"></i> The Internet</li>
<li v-if="user_data.blog"><i class="fa fa-fw fa-link"></i> {{{ user_data.blog | autolinks }}}</li>
<li v-else><i class="fa fa-fw fa-link"></i> {{{ user_data.html_url | autolinks }}}</li>
</ul>
<div id="header-aside">
<figure v-if="user_data.avatar_url"><img :src="user_data.avatar_url" width="32" alt="{{ user }}" /></figure>
<ul class="fa-ul">
<li><i class="fa fa-fw fa-star-o"></i> {{ stars }}</li>
<li><i class="fa fa-fw fa-code-fork"></i> {{ forks }}</li>
<li><i class="fa fa-fw fa-eye"></i> {{ watching }}</li>
</ul>
</div>
<hr />
</header>
<main role="main">
<section v-for="repo in repos">
<header>
<h3><i class="fa fa-github"></i> <a href="{{ repo.html_url }}" title="{{ repo.name }}" target="_blank">{{ repo.name }}</a></h3>
<p class="repo-langs" v-if="repo.language">
<i class="fa fa-fw fa-code"></i> {{ repo.language }}
</p>
<p class="repo-details">
<i class="fa fa-fw fa-clock-o"></i> {{ repo.pushed_at | filterdate }} —
<i class="fa fa-fw fa-star-o"></i> {{ repo.stargazers_count }}
<i class="fa fa-fw fa-code-fork"></i> {{ repo.forks_count }}
<i class="fa fa-fw fa-eye"></i> {{ repo.watchers_count }}
</p>
</header>
<article>
<p v-if="repo.description">{{{ repo.description | autolinks }}}</p>
<p v-else>{{ repo.name }}</p>
</article>
<footer>
<p v-if="repo.homepage"><i class="fa fa-fw fa-link"></i> {{{ repo.homepage | autolinks }}}</p>
<p v-else><i class="fa fa-fw fa-link"></i> {{{ repo.html_url | autolinks }}}</p>
</footer>
</section>
</main>
<footer role="contentinfo">
<hr />
<p>
<strong>{{ user }}</strong> {{ user_data.name }} © 2016
</p>
<dl>
<dt>Share this on the Social Networks!</dt>
<dd>
<ul class="social-share">
<li><i class="fa fa-facebook"></i> <a href="http://www.facebook.com/sharer.php?u={{ metadata.url | urlencode }}&t={{ metadata.title | urlencode }}" title="Share on Facebook">FaceBook</a></li>
<li><i class="fa fa-twitter"></i> <a href="http://twitter.com/share?text={{ metadata.title | urlencode }}&url={{ metadata.url | urlencode }}&via=alterebro" title="Share on Twitter">Twitter</a></li>
<li><i class="fa fa-google-plus"></i> <a href="https://plusone.google.com/_/+1/confirm?hl=en&url={{ metadata.url | urlencode }}" title="Share on GooglePlus">GooglePlus</a></li>
<li><i class="fa fa-linkedin"></i> <a href="http://www.linkedin.com/shareArticle?mini=true&url={{ metadata.url | urlencode }}&title={{ metadata.title | urlencode }}&summary={{ metadata.description | urlencode }}" title="Share on LinkedIn">LinkedIn</a></li>
</ul>
</dd>
</dl>
<p id="footer-credits">
Powered by <strong><a href="https://github.com/alterebro/alterebro.github.io" title="GUPG. The Github User Page Generator" target="_blank">GUPG : Github User Page Generator</a></strong>
<br />
By : <a href="http://moro.es" title="Jorge Moreno. Front End Web Developer and UI Designer" target="_blank">Jorge Moreno</a> aka moro
( <a href="http://twitter.com/alterebro" title="Jorge Moreno, @alterebro" target="_blank">@alterebro</a> )
</p>
</footer>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.18/vue.min.js"></script>
<script>if (!window.Vue) { document.write('<script src="frontend/scripts/vue-1.0.18.min.js"><\/script>'); }</script>
<script type="text/javascript" src="frontend/scripts/atomic.js"></script>
<script type="text/javascript" src="frontend/scripts/cache.js"></script>
<script type="text/javascript" src="frontend/scripts/app.js"></script>
</body>
</html>