-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
157 lines (141 loc) · 6.08 KB
/
index.html
File metadata and controls
157 lines (141 loc) · 6.08 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>J. Crofts, Games</title>
<meta name="author" content="J. Thomas">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/fonts/brandon-grotesque.css" type="text/css">
<link rel="stylesheet" href="/icons/jgthms.css" type="text/css">
<link rel="stylesheet" href="/style.css" type="text/css">
<link rel="alternate" href="/atom.xml" type="application/atom+xml" title="J. Thomas Blog">
<link rel="icon" href="/favicon.ico">
</head>
<body>
<header class="header">
<a class="logo" href="/">
<img src="/images/logo.svg" alt="JT logo">
</a>
<nav class="nav">
<ul>
<li class="here"><a id="nav-home" data-page="home" href="/">J. Crofts</a></li><li><a id="nav-articles" data-page="articles" href="/articles.html">Articles</a></li><li><a id="nav-ideas" data-page="ideas" href="/ideas.html">Ideas</a></li>
</ul>
</nav>
<ul class="icons">
<li><a class="twitter" href="https://twitter.com/" data-toggle="tooltip" title="Twitter"><i class="icon-twitter"></i></a></li>
<li><a class="github" href="https://github.com/" data-toggle="tooltip" title="Github"><i class="icon-github"></i></a></li>
<li><a class="soundcloud" href="https://soundcloud.com/" data-toggle="tooltip" title="Soundcloud"><i class="icon-soundcloud"></i></a></li>
<li><a class="hn" href="http://bitovod.com/hn/best-of?limit=25&username=bbx" data-toggle="tooltip" title="Hacker News"><i class="icon-hn"></i></a></li>
<li><a class="rss" href="/atom.xml" data-toggle="tooltip" title="RSS"><i class="icon-rss"></i></a></li>
<li><a class="contact" data-toggle="tooltip" title="Email"><i class="icon-gmail"></i></a></li>
</ul>
</header>
<div class="hey">
<h1><strong>Job Role</strong> from Hometown<span>,</span> currently working for <a href="https://www.currentcompany.com">current company</a> in sunny London<span>.</span></h1>
</div>
<div class="gallery clients">
<p>Worked for:</p>
<ul>
<li class="microsoft"><img src="/images/microsoft.svg" alt="Microsoft"></li>
<li class="sony"><img src="/images/sony.svg" alt="Sony"></li>
<li class="louis-vuitton"><img src="/images/louis-vuitton.svg" alt="Louis Vuitton"></li>
<li class="universal-music"><img src="/images/universal-music.svg" alt="Universal Music"></li>
</ul>
</div>
<div class="gallery skills">
<p>Specialized in:</p>
<ul>
<li class="html5"><img src="/images/html5.svg" alt="HTML 5"></li>
<li class="css3"><img src="/images/css3.svg" alt="CSS 3"></li>
<li class="jquery"><img src="/images/jquery.svg" alt="jQuery"></li>
<li class="wordpress"><img src="/images/wordpress.svg" alt="WordPress"></li>
</ul>
</div>
<footer class="footer">
<p>Powered by <a href="http://jekyllrb.com/">Jekyll</a>. Hosted on <a href="https://github.com/jgthms/jgthms.github.io">GitHub</a>. Built with <a href="http://www.bohemiancoding.com/sketch/">Sketch</a> and <a href="http://www.sublimetext.com/">Sublime Text</a>.</p>
</footer>
<script src="/javascript/jquery-1.11.0.min.js"></script>
<script src="/javascript/jquery.easing.min.js"></script>
<script src="/javascript/affix.js"></script>
<script src="/javascript/tooltip.js"></script>
<script type="text/javascript">
$(document).ready( function() {
// Contact
function R(s) {
return R13(R5(s));
}
function R5(s) {
var b = [], c, i = s.length, a = '0'.charCodeAt(), z = a + 10;
while (i--) {
c = s.charCodeAt(i);
if (c >= a && c < z) { b[i] = String.fromCharCode(((c - a + 5) % (10)) + a); }
else { b[i] = s.charAt(i); }
}
return b.join('');
}
function R13(s) {
var b = [], c, i = s.length, a = 'a'.charCodeAt(), z = a + 26, A = 'A'.charCodeAt(), Z = A + 26;
while (i--) {
c = s.charCodeAt(i);
if (c >= a && c < z) { b[i] = String.fromCharCode(((c - a + 13) % (26)) + a); }
else if (c >= A && c < Z) { b[i] = String.fromCharCode(((c - A + 13) % (26)) + A); }
else { b[i] = s.charAt(i); }
}
return b.join('');
}
var $c = $('.contact');
var t = 'znvygb:'
var m = 'ookqrfvta@tznvy.pbz';
$c.attr('href', R(t+m));
// Filters
var $posts = $('.list article');
var $filters = $('.filters li a');
var $categories = $('.categories li a');
var $introductions = $('.introductions li a');
var displayed = ['.post', ''];
var animating = false;
function Sort(target) {
animating = true;
$posts.not(displayed.join('')).slideUp(250, 'easeOutExpo');;
$posts.filter(displayed.join('')).slideDown(250, 'easeOutExpo');
target.parent().siblings().find('a').removeClass('on');
target.addClass('on');
setTimeout(function(){ animating = false; }, 300);
}
$introductions.click( function() {
if (animating) {
return;
}
$posts.find('.post-introduction').slideToggle(250, 'easeOutExpo');
$introductions.toggleClass('on');
});
$filters.click( function() {
if (animating) {
return;
}
displayed[0] = '.' + $(this).data('view');
Sort($(this));
});
$categories.click( function() {
if (animating) {
return;
}
var view = ($(this).data('view')) ? '.' + $(this).data('view') : '';
displayed[1] = view;
Sort($(this));
});
// Periods
$('.year, .season').each( function() {
$(this).affix({
offset: {
top: $(this).offset().top
}
});
});
// Tooltips
$('.icons a').tooltip();
});
</script>
</body>
</html>