-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (133 loc) · 4.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="Description" content="Felix Fong (@felixfong227) personal website" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Felix Fong (@felixfong227)</title>
<link
rel="stylesheet"
href="./style/critical.css"
/>
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Krona+One&family=Oswald:wght@700&family=Oxygen:wght@700&display=swap"
as="style"
/>
<link
rel="preload"
href="./style/style.css"
as="style"
/>
<link
rel="preload"
href="./img/profile_picture.jpg"
as="image"
/>
<link
rel="preload"
href="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/github.svg"
as="image"
/>
<link
rel="preload"
href="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg"
as="image"
/>
</head>
<body>
<div id="social_buttons_container">
<a href="https://github.com/felixfong227" data-attr="github">
<img
width="40"
height="40"
src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/github.svg"
alt="Link to my Github page at https://github.com/felixfong227"
/>
</a>
<a href="https://linkedin.com/in/felixfong227" data-attr="linkedin">
<img
width="40"
height="40"
src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg"
alt="Link to my LinkedIn page at https://linkedin.com/in/felixfong227"
/>
</a>
</div>
<div id="info_card">
<div class="desktop_content">
<img
src="./img/profile_picture_100.png"
alt="Felix Fong's profile picture"
id="profile_picture"
/>
</div>
<h1 id="name">Felix Fong</h1>
</div>
<div class="desktop_content">
<div id="text_group1" class="screen-reader-text text_group">
<p class="text1">
<span class="quote">“</span>
Back End Solution Engineer
<span class="quote">”</span>
</p>
<p class="text2">Specializing in NodeJS and Go</p>
</div>
<div id="text_group2" class="screen-reader-text text_group">
<p>Designing and maintaining large-scale</p>
<p class="text2">production application for the real world</p>
</div>
</div>
<div id="bottom_bg"></div>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Krona+One&family=Oswald:wght@700&family=Oxygen:wght@700&display=swap"
/>
<link rel="stylesheet" href="./style/style.css" />
<script>
window.addEventListener("load", () => {
const a = document.querySelectorAll(".screen-reader-text");
a.forEach(b => {
b.classList.remove("screen-reader-text");
});
});
(() => {
const a = document.querySelector('#profile_picture');
if(a) a.src = './img/profile_picture.jpg';
})();
</script>
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-performance.js"></script>
<script>
if(window.location.hostname === 'felixfong227.me') {
var firebaseConfig = {
apiKey: "AIzaSyBcbIGp2Pp6opqj3fSoM0sc_5kJEnGBqVg",
authDomain: "felixfong227-me-1fd2e.firebaseapp.com",
databaseURL: "https://felixfong227-me-1fd2e.firebaseio.com",
projectId: "felixfong227-me-1fd2e",
storageBucket: "felixfong227-me-1fd2e.appspot.com",
messagingSenderId: "626074367935",
appId: "1:626074367935:web:a5da0f26b629451808530a",
measurementId: "G-V3Y8X8PM1Q"
};
firebase.initializeApp(firebaseConfig);
firebase.analytics();
firebase.performance();
const allSocialButtons = document.querySelectorAll('#social_buttons_container > a')
allSocialButtons.forEach(el => {
el.addEventListener('click', e => {
const attr = el.dataset.attr;
if (attr) {
analytics.logEvent('social_buttons_click', {
buttonAttr: attr,
});
}
});
});
}
</script>
</body>
</html>