-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
125 lines (123 loc) · 4.02 KB
/
index.html
File metadata and controls
125 lines (123 loc) · 4.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Jordanne Chan</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<link
rel="icon"
type="image/svg"
href="https://cdn.glitch.com/2dba3f80-d64b-42c9-a179-7b466e6c7985%2Fegg.svg?v=1564926052698"
/>
<meta
name="description"
content="Jordanne Chan is a creative technologist and educator located in Toronto"
/>
<meta name="author" content="Jordanne Chan" />
<link
href="https://fonts.googleapis.com/css?family=Space+Mono:400,700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
crossorigin="anonymous"
/>
<script src="/script.js" defer></script>
</head>
<body>
<div id="head">
<div id="cont">
<a href="#home">
<div id="dini-wrap">
<img
src="https://cdn.glitch.com/dc0962ae-568e-4c08-9942-ffc44f329775%2Ftlomlopes.png?v=1568913215351"
alt="Dini the cat"
/></div
></a>
</div>
</div>
<header id="home">
<div class="flex-container">
<h1>Jordanne Chan</h1>
<p class="intro" id="intro">
Hi! I'm <strong>Jordanne</strong>.
<br />
<span class="pronounce" onclick="play()">
<audio
id="audio"
src="/assets/jordannechan_pronunciation.m4a"
></audio
><i class="fa fa-volume-up"></i
></span>
IPA: <span class="pronounce">/ˈdʒɔːdæn tʃæn/</span>
<br />
I'm a
<strong>creative technologist & educator</strong> spreading digital
whimsy. I have two cats, <strong>Dini</strong> and
<strong>Yuanyuan</strong>.
<br />
I love to make things! I'm good with cats, kids, computers and crafts.
</p>
<br>
<a href="/blog" class="link">Blog</a>
</div>
</header>
<footer>
<div class="flex-container">
<h2>Contact Me</h2>
<img
src="https://cdn.glitch.com/f35254f6-46c9-4e5a-8877-1749cca0d9cb%2Fcatsandbread.gif?v=1574114191807"
class="breadoflife"
alt="Dini and Yuanyuan"
/>
<div class="contact">
<a href="https://github.com/challah"
><i class="fab fa-github-alt fa-2x"></i
></a>
<a href="https://glitch.com/@challah"
><i class="fas fa-fish fa-2x"></i
></a>
<a href="https://twitter.com/JordanneChan"
><i class="fab fa-twitter fa-2x"></i
></a>
<a href="https://pinterest.com/breadpins"
><i class="fab fa-pinterest fa-2x"></i
></a>
<a href="mailto:chan.jordanne@gmail.com"
><i class="fas fa-envelope fa-2x"></i
></a>
</div>
</div>
</footer>
<script>
window.onbeforeunload = function () {
window.scrollTo(0, 0);
};
let prevScrollpos = window.pageYOffset;
let show = "no";
window.onscroll = function () {
let currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
// let headTopInterval = clearInterval(headTop);
document.getElementById("head").style.bottom = "-110px";
if (show === "yes") {
show = "no";
}
}
prevScrollpos = currentScrollPos;
let bottom = document.body.offsetHeight;
let almostBottom = bottom * 0.8;
if (window.innerHeight + window.scrollY >= almostBottom) {
}
if (window.innerHeight + window.scrollY >= bottom * 0.97) {
document.getElementById("head").style.bottom = "-5px";
// headTopInterval = setInterval(headTop, 2000);
show = "yes";
}
};
</script>
</body>
</html>