-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
224 lines (213 loc) · 9.1 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Onur Çatmabacak - Personal Website</title>
<!--- Custom CSS File --->
<link rel="stylesheet" href="style.css">
<style>
/* Optional CSS for smooth scroll and appearance */
body {
scroll-behavior: smooth; /* Smooth scrolling */
background-color: black; /* Set background color to black */
color: white; /* Set text color to white for contrast */
margin: 0; /* Remove default margins */
padding: 0; /* Remove default padding */
position: relative; /* Relative position for social links */
min-height: 100vh; /* Minimum height to cover the viewport */
}
.container {
display: flex;
flex-direction: column;
align-items: center; /* Center items horizontally */
justify-content: flex-start; /* Align items to the top */
flex-grow: 1; /* Allow container to grow */
padding: 20px; /* Add some padding */
}
.cv-container, .publications-container, .research-container {
display: none; /* Initially hidden */
width: 100%; /* Full width */
max-width: 800px; /* Max width for the containers */
margin: 20px 0; /* Margin above and below */
}
.cv-container {
margin-top: 40px; /* Space above CV section */
}
.button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
color: rgb(0, 0, 0);
background-color: #ffffff; /* Button color */
border: none;
border-radius: 5px;
text-decoration: none; /* Remove underline */
cursor: pointer;
margin-top: 20px; /* Space above the button */
}
.button:hover {
background-color: #ffffff; /* Darker shade on hover */
}
iframe {
width: 100%; /* Full width */
height: 600px; /* Set height to limit visibility of the icons */
border: none; /* Remove border */
display: block; /* Block element for centering */
}
.social-links {
display: flex;
justify-content: center; /* Center social links */
position: fixed; /* Fixed position at the bottom */
bottom: 20px; /* Space from the bottom */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Center adjustment */
/* margin: 0; Remove margin */
}
.social-links a {
margin: 0 10px; /* Space between icons */
}
.research-item {
margin-bottom: 40px; /* Space between research items */
}
.research-item img {
width: 100%; /* Make image responsive */
height: auto; /* Maintain aspect ratio */
}
.research-item h3 {
margin-top: 10px; /* Space above title */
}
.research-container {
padding-bottom: 2cm; /* Ensure padding applies to research content */
}
/* Align captions to the left */
figcaption {
text-align: left; /* Align captions to the left */
margin-top: 5px; /* Optional: Add some space above captions */
}
</style>
</head>
<body>
<div class="container">
<nav>
<div class="logo">
<a href="#home" id="logo-link">Onur Çatmabacak<span></span></a>
</div>
<ul>
<li><a href="#home" id="home-link">Home</a></li>
<li><a href="#cv" id="cv-link">CV</a></li>
<li><a href="#publications" id="publications-link">Publications</a></li>
<li><a href="#research" id="research-link">Research</a></li>
</ul>
</nav>
<div class="content" id="home">
<h2>Hello,<br>I'm Onur Çatmabacak</h2>
<p>I'm a Computational Scientist.<br>
This is a space where I share my work, projects, and publications.</p>
</div>
<div class="cv-container" id="cv">
<h2>My Curriculum Vitae</h2>
<iframe src="OnurCatmabacak_CV.pdf" style="object-fit: cover;">
This browser does not support PDFs. Please download the PDF to view it: <a href="OnurCatmabacak_CV.pdf">Download PDF</a>
</iframe>
</div>
<div class="publications-container" id="publications">
<h2>My Publications</h2>
<p>You can view my publications directly at the following link:</p>
<a href="https://ui.adsabs.harvard.edu/search/fq=%7B!type%3Daqp%20v%3D%24fq_database%7D&fq_database=(database%3Aastronomy%20OR%20database%3Aphysics)&q=%20author%3A%22catmabacak%2C%20onur%22&sort=date%20desc%2C%20bibcode%20desc&p_=0" target="_blank" class="button">View Publications</a>
</div>
<!-- Research Section -->
<div class="research-container" id="research">
<br>
<h2><u>Accretion Disks Around Compact Objects</u></h2>
<br>
<div class="research-item">
<img src="BHXRB_artist_int_with_labels-1.jpeg" alt="Research Image 1">
<figcaption>Image Credit: NASA/CXC/M.Weiss.</figcaption>
<p>This is a brief description of the first research topic. It covers the main points and findings of the study.</p>
</div>
<br>
<br>
<h2><u>Numerical Methods</u></h2>
<br>
<div class="research-item">
<img src="astro_diff_equation.jpg" alt="Research Image 2">
<figcaption>Image Credit: <a href="https://maths.anu.edu.au/research/groups/theoretical-astrophysics">Australian National University</a></figcaption>
<p>This is a brief description of the second research topic. It highlights the significance and implications of the research.</p>
</div>
<br>
<br>
<h2><u>Galaxy Formation and Evolution</u></h2>
<br>
<div class="research-item">
<img src="galaxy_simulations.png" alt="Research Image 3">
<figcaption>Image Credit: <a href="https://arxiv.org/pdf/1909.07976">Vogelsberger et al. 2019</a></figcaption>
<p>This is a brief description of the third research topic. It highlights the significance and implications of the research.</p>
</div>
<br>
<br>
<h2><u>Introduction to Computational Astrophysics</u></h2>
<br>
<p>This is a brief description of the research topic. It highlights the significance and implications of the research.</p>
<p>For more detailed instructions on how to proceed, please visit the
<a href="instructions.html" class="button">Instructions Page</a>.
</p>
</div>
</div>
<div class="social-links">
<a href="mailto:onurcatmabacak@gmail.com" target="_blank">
<img src="https://img.icons8.com/ios-filled/50/ffffff/email.png" alt="Email">
</a>
<a href="https://github.com/onurcatmabacak" target="_blank">
<img src="https://img.icons8.com/ios-filled/50/ffffff/github.png" alt="GitHub">
</a>
<a href="https://www.linkedin.com/in/onurcatmabacak/" target="_blank">
<img src="https://img.icons8.com/ios-filled/50/ffffff/linkedin.png" alt="LinkedIn">
</a>
</div>
<script>
function showSection(sectionId) {
// Hide all sections
document.querySelector('.content').style.display = 'none';
document.querySelector('.cv-container').style.display = 'none';
document.querySelector('.publications-container').style.display = 'none';
document.querySelector('.research-container').style.display = 'none';
// Show the selected section
if (sectionId === 'home') {
document.querySelector('.content').style.display = 'block';
} else if (sectionId === 'cv') {
document.querySelector('.cv-container').style.display = 'block';
} else if (sectionId === 'publications') {
document.querySelector('.publications-container').style.display = 'block';
} else if (sectionId === 'research') {
document.querySelector('.research-container').style.display = 'block';
}
}
// Smooth scroll to the section if URL has a hash
document.addEventListener("DOMContentLoaded", function() {
if (window.location.hash) {
const sectionId = window.location.hash.substring(1); // Remove the '#' from the hash
showSection(sectionId);
const element = document.getElementById(sectionId);
if (element) {
element.scrollIntoView({ behavior: 'smooth' });
}
}
});
// Event listeners for navigation links
document.getElementById('home-link').addEventListener('click', function() {
showSection('home');
});
document.getElementById('cv-link').addEventListener('click', function() {
showSection('cv');
});
document.getElementById('publications-link').addEventListener('click', function() {
showSection('publications');
});
document.getElementById('research-link').addEventListener('click', function() {
showSection('research');
});
</script>
</body>
</html>