-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
227 lines (194 loc) · 8.37 KB
/
main.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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!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">
<title>Haoyun (Jerry) Tang Homepage</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<!-- Custom CSS -->
<style>
body {
font-family: 'Poppins', sans-serif;
background-color: #f8f9fa;
color: #343a40;
padding-top: 60px;
}
.container {
max-width: 800px;
}
.section-title {
margin-top: 50px;
margin-bottom: 30px;
text-transform: uppercase;
font-weight: 600;
color: #007bff;
}
a {
color: #007bff;
}
a:hover {
text-decoration: none;
color: #0056b3;
}
.gallery img {
width: 100%;
height: auto;
margin-bottom: 20px;
border-radius: 8px;
}
.gallery-icon {
width: 100px; /* Adjust size to make the icons smaller */
height: auto;
margin: 10px auto;
display: block; /* Centers the image */
transition: transform 0.2s;
}
.gallery-icon:hover {
transform: scale(1.1); /* Slight zoom effect on hover */
}
.gallery-subtitle {
margin-top: 5px;
font-size: 14px;
color: #343a40;
text-align: center;
}
.footer {
background-color: #343a40;
color: #ffffff;
padding: 20px 0;
text-align: center;
margin-top: 50px;
}
.footer a {
color: #ffffff;
}
.footer a:hover {
text-decoration: underline;
}
.navbar {
background-color: #f4f4f4 !important; /* Light grey background */
}
.navbar-toggler {
padding: 0.5rem 1rem; /* Vertical padding is smaller than horizontal */
}
.navbar-icon {
font-size: 1.5rem; /* Slightly bigger size */
color: #9e9e9e; /* Lighter grey color */
}
.section-offset::before {
content: "";
display: block;
height: 60px; /* Adjust this to match your navbar height */
margin-top: -60px; /* Matches the height to offset correctly */
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<a class="navbar-brand" href="#">Jerry Tang</a>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars navbar-icon"></i>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="https://yunhaotang.wixsite.com/home" target="_blank">Portfolio</a></li>
<li class="nav-item"><a class="nav-link" href="#connect">Connect</a></li>
<li class="nav-item"><a class="nav-link" href="#gallery">Gallery</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</nav>
<div class="container text-center">
<h1 class="mt-5">Hi, I'm Haoyun (Jerry) Tang</h1>
<p class="lead">Entrepreneur & Roboticist, PhD in Mechanical Engineering</p>
<section id="connect" class="section-offset">
<h2 class="section-title">Connect</h2>
<p>Find me on <a href="https://www.linkedin.com/in/tang-jerry/" target="_blank">LinkedIn</a> or <a href="mailto:hyjerrytang@gmail.com">send me an email</a>.</p>
</section>
<section id="gallery" class="section-offset">
<h2 class="section-title">Startups Gallery</h2>
<div class="row justify-content-center">
<div class="col-md-2 text-center">
<a href="https://roba-tea.com/" target="_blank">
<img src="assets/figures/2.png" alt="RobaTea" class="gallery-icon">
</a>
<p class="gallery-subtitle">RobaTea</p>
</div>
<div class="col-md-2 text-center">
<a href="https://www.canva.com/design/DAGThR06FV0/mWjANcvqAO8v0JALo2KdwQ/edit?utm_content=DAGThR06FV0&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton" target="_blank">
<img src="assets/figures/3.png" alt="Tennie" class="gallery-icon">
</a>
<p class="gallery-subtitle">Tennie</p>
</div>
<div class="col-md-2 text-center">
<a href="assets/html/blank.html" target="_blank">
<img src="assets/figures/1.png" alt="eMai" class="gallery-icon">
</a>
<p class="gallery-subtitle">eMai</p>
</div>
<div class="col-md-2 text-center">
<a href="assets/html/blank.html" target="_blank">
<img src="assets/figures/4.png" alt="AimBOTs" class="gallery-icon">
</a>
<p class="gallery-subtitle">AimBOTs</p>
</div>
</div>
</section>
<section id="research" class="section-offset">
<h2 class="section-title">Research</h2>
<div class="row justify-content-center">
<div class="col-md-2 text-center">
<a href="assets/html/PairTilt.html" target="_blank">
<img src="assets/figures/5.png" alt="Research Paper" class="gallery-icon">
</a>
<p class="gallery-subtitle">IROS 2024</p>
</div>
</div>
</section>
<section id="contact" class="section-offset">
<h2 class="section-title">Contact Me</h2>
<form action="mailto:hyjerrytang@gmail.com" method="post" enctype="text/plain">
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Name" required>
</div>
<div class="form-group">
<input type="email" class="form-control" id="email" name="email" placeholder="Email" required>
</div>
<div class="form-group">
<textarea class="form-control" id="message" name="message" rows="4" placeholder="Message" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Send</button>
</form>
</section>
</div>
<footer class="footer">
<p>© 2024 Haoyun (Jerry) Tang. Designed and developed by Jerry Tang.</p>
</footer>
<!-- jQuery and Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const navbarToggler = document.querySelector(".navbar-toggler");
const navbarIcon = navbarToggler.querySelector(".navbar-icon");
navbarToggler.addEventListener("click", function () {
if (navbarIcon.classList.contains("fa-bars")) {
navbarIcon.classList.remove("fa-bars");
navbarIcon.classList.add("fa-chevron-up");
} else {
navbarIcon.classList.remove("fa-chevron-up");
navbarIcon.classList.add("fa-bars");
}
});
});
</script>
</body>
</html>