-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jade
45 lines (37 loc) · 2.45 KB
/
index.jade
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
//output:index.html, pretty:false
extends layout
include includes/postLink
include includes/appLink
block meta
meta(property="og:type" content="website")
meta(property="og:image" content=baseURL+'/images/logo.png')
meta(name="description" content="GavG official website")
meta(name="keywords" content="GavG,Programming,Tinkering,Hacking,Experiments")
meta(name="author" content="GavG")
block scripts
script.
var logo = document.getElementById('bannerImg');
window.addEventListener('scroll', function() {
var offset = window.scrollY || window.pageYOffset || document.body.scrollTop + (document.documentElement && document.documentElement.scrollTop || 0);
logo.style.marginTop = offset +'px';
logo.style.transform = 'rotate(' + offset * 3 +'deg)';
logo.style.webkitTransform = 'rotate(' + offset * 3 +'deg)';
});
block header
+banner(baseURL+'/images/logo.png', '#4682b4', '', 'png', baseURL+'/images/logo.webp')
block content
div(id='about').container
h3.border-bottom.border-light-grey.padding-16 About
p Welcome to a collection of software odds and ends. These are a bunch of my experiments, feel free to have a mooch around.
div(id="posts").container.padding-32
h3.border-bottom.border-light-grey.padding-16 Recent Posts
div.container-row
+postLink(baseURL+'/posts/smartype', 'Smartype Keyboard Weather Adapter', baseURL+'/images/posts/keyview_icon.png', 'png', baseURL+'/images/posts/keyview_icon.webp')
+postLink(baseURL+'/posts/randomtimer', 'Random Timer', baseURL+'/misc/randomtimer/icon.png', 'png', baseURL+'/misc/randomtimer/icon.webp')
+postLink(baseURL+'/posts/ctf', 'CTF Puzzle', baseURL+'/images/posts/lock.png', 'png', baseURL+'/images/posts/lock.webp')
+postLink(baseURL+'/posts/rmab', 'Rapid Mobile App Bodging', baseURL+'/images/posts/rmab.png', 'png', baseURL+'/images/posts/rmab.webp')
div(id="apps").container.padding-32
h3.border-bottom.border-light-grey.padding-16 Popular Apps
div.container-row
+appLink('https://play.google.com/store/apps/details?id=com.gavg.obsrt', 'OBS Remote Tally Light', baseURL+'/images/apps/obsrt.png', 'png', baseURL+'/images/apps/obsrt.webp')
+appLink(baseURL+'/calc/index.html', 'CSS Calc', baseURL+'/images/apps/calc.png', 'png', baseURL+'/images/apps/calc.webp')