-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
108 lines (104 loc) · 5.17 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
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Owen Roberts | Web Developer</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="index.css">
<link rel="icon" href="https://avatars1.githubusercontent.com/u/10622911?v=4" type="image/png"></head>
<body>
<div id="loading">
<div id="spinner"></div>
</div>
<div id="profile">
<div id="profile_img" style="background: url(https://avatars1.githubusercontent.com/u/10622911?v=4) center;"></div>
<div id="username"><span>Owen Roberts</span><br>@owen-roberts</div>
<div id="userbio" style="display: block;">Web developer</div>
<div id="about">
<span style="display:block;"><i class="fas fa-users"></i> @stormid</span>
<span style="display:none;"><i class="fas fa-envelope"></i> null</span>
<span style="display:block;"><i class="fas fa-map-marker-alt"></i> Edinburgh</span>
<span style="display:block;"><i class="fas fa-link"></i> owenroberts.dev</span></div>
</div>
<div id="display">
<div id="work">
<div class="heading">
<h2>Projects</h2>
<p class="description">experiments and demos, hosted using github pages</p>
</div>
<div id="ghpages" class="signposts">
<a href="https://www.owenroberts.dev/red-ball" target="_blank">
<section>
<div class="section_title">red-ball</div>
<div class="about_section">
An expermient with React and Matter.js
</div>
<div class="bottom_section">
<span><i class="fas fa-code"></i> JavaScript</span>
</div>
</section>
</a></div>
<h2>Repos</h2>
<p class="description">source code for projects I'm working on</p>
<div id="repos" class="signposts">
<a href="https://github.com/owen-roberts/owen-roberts.github.io" target="_blank">
<section>
<div class="section_title">owen-roberts.github.io</div>
<div class="about_section">
Source repository for my personal github.io page.
</div>
<div class="bottom_section">
<span><i class="fas fa-code"></i> CSS</span>
</div>
</section>
</a></div>
<h2>Gists</h2>
<p class="description">interesting or helpful code snippets</p>
<div id="gists" class="signposts">
<a href="https://gist.github.com/5ea3433d491629304266b6c984063a16" target="_blank">
<section>
<div class="section_title">pre-commit</div>
<div class="about_section">
Git pre-commit hook to prevent a commit unless Umbraco published content models are up to date.
</div>
<div class="bottom_section">
<span><i class="fas fa-code"></i> Shell</span>
</div>
</section>
</a></div>
</div>
<div id="footer">
<p>Created using <a href="https://github.com/imfunniee/gitfolio" target="_blank">gitfolio</a></p>
</div>
</div>
<script type="text/javascript">
setTimeout(function () {
document.getElementById("loading").classList.add("animated");
document.getElementById("loading").classList.add("fadeOut");
setTimeout(function () {
document.getElementById("loading").classList.remove("animated");
document.getElementById("loading").classList.remove("fadeOut");
document.getElementById("loading").style.display = "none";
}, 400);
}, 750);
$.getJSON("./blog/blog.json", function (blog) {
for (var i = 0; i < blog.length; i++) {
$("#blogs").append(`
<a href="/blog/${blog[i].url_title}/" target="_blank">
<section>
<img src="${blog[i].top_image}">
<div class="blog_container">
<div class="section_title">${blog[i].title}</div>
<div class="about_section">
${blog[i].sub_title}
</div>
</div>
</section>
</a>
`)
}
});
</script>
</body></html>