Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
192 lines (170 loc) · 6.26 KB
/
Copy pathindex.html
File metadata and controls
192 lines (170 loc) · 6.26 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.css" />
<style>
body {
background-image: url('background.png');
background-size: cover;
background-position: center;
font-family: 'Comic Sans MS', 'Comic Sans', cursive;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 10px;
}
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 250px;
height: 100%;
background-color: rgba(44, 62, 80, 0.8);
padding: 20px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
color: #ECF0F1;
}
.sidebar img {
width: 100%;
border-radius: 10px;
}
.sidebar .contact-info {
margin-top: 20px;
}
.nav-menu {
list-style: none;
padding: 0;
}
.nav-menu li {
margin: 10px 0;
}
.nav-menu a {
color: #ECF0F1;
text-decoration: none;
font-size: 1.2em;
}
h1 {
color: #ff6347;
font-size: 2.5em;
margin-bottom: 20px;
}
h1 span {
cursor: pointer;
text-decoration: underline;
}
p {
font-size: 1.2em;
line-height: 1.5;
margin-bottom: 15px;
}
.slider {
max-width: 800px;
margin: 20px auto;
}
.slider div {
text-align: center;
}
.slider img {
width: 500px;
height: auto;
margin: 0 auto;
}
.photo-caption {
font-size: 1.5em;
color: #ffffff;
text-shadow: 1px 1px 2px #000;
}
.icon {
position: absolute;
width: 50px;
height: 50px;
display: none;
animation: fly 2s linear;
}
@keyframes fly {
from { top: 50%; left: 50%; }
to { top: 0; left: 100%; }
}
.button {
display: inline-block;
padding: 10px 20px;
font-size: 1.2em;
color: #ECF0F1;
background-color: #2980B9;
border: none;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #3498DB;
}
</style>
</head>
<body>
<div class="sidebar">
<img src="Image_1710483141026.jpg" alt="TingYi He">
<div class="contact-info">
<h2>Contact Info</h2>
<p>Email: <a href="mailto:astrohty03@gmail.com">astrohty03@gmail.com</a></p>
<p>Phone: <a href="tel:+8617347657584">+86 17347657584</a></p>
<p>Address: Chongqing University, Chongqing, China</p>
</div>
<ul class="nav-menu">
<li><a href="#top">Home</a></li>
<li><a href="research.html" class="button">Research</a></li>
<li><a href="publications.html" class="button">Publications</a></li>
<li><a href="#cv">CV/Resume</a></li>
</ul>
</div>
<div class="container" id="top">
<h1>Hi! My name is Ting Yi He, and I hail from the vibrant <span id="chongqing" onclick="flyIcon()">Chongqing</span>, China.</h1>
<p>My fascination with the cosmos began at a young age, inspired by the STARWARS movie series. Initially drawn to Aerospace Engineering, my passion for exploring the unknown and the excitement I felt when deriving theoretical formulas independently outweighs the pressure when designing. This passion led me to explore various scientific disciplines, ultimately solidifying my passion for astrophysics.</p>
<p>Outside of academics, I enjoy playing badminton and basketball, and I have a deep appreciation for jazz music, especially jazz piano.</p>
<div class="attribution">
Background image: Event Horizon Telescope collaboration.
</div>
</div>
<div class="slider">
<div><img src="Playing Basketball.jpg" alt="Playing Basketball"><p class="photo-caption">Don't have many pics in games but do have injuries (Medal of Honor, ACL)</p></div>
<div><img src="presentation.JPG" alt="Presenting at a conference"><p class="photo-caption">Senior high project: design of Hemispherical light sail</p></div>
<div><img src="IMG_1237.JPG" alt="Explaining binary star systems"><p class="photo-caption">Love first sight for astro</p></div>
</div>
<div id="icon" class="icon"><img src="hotpot_icon.jpeg" alt="Hotpot Icon"></div>
<div class="container" id="cv">
<h2>CV/Resume</h2>
<p><a href="TingYiHe_CV.pdf" download>Download my CV</a></p>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
<script>
$(document).ready(function(){
$('.slider').slick({
dots: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1
});
});
function flyIcon() {
var icon = document.getElementById('icon');
icon.style.display = 'block';
icon.style.top = '50%';
icon.style.left = '50%';
setTimeout(function() {
icon.style.display = 'none';
}, 2000);
}
</script>
</body>
</html>