-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (56 loc) · 2.6 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
<title>Tom Cantellow</title>
<meta name="Tom Cantellow" content="Tom Cantellow's professional portfolio">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="assets/styles.css"> <!-- Link to external stylesheet -->
<script src="assets/script.js" defer></script> <!-- Link to external script -->
</head>
<body>
<div id="header-placeholder"></div>
<script>
// Function to load the header
function loadHeader() {
fetch('assets/header.html') // Fetch the header HTML
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok ' + response.statusText);
}
return response.text();
})
.then(data => {
document.getElementById('header-placeholder').innerHTML = data; // Insert header into the placeholder
})
.catch(error => console.error('Error loading header:', error));
}
// Load the header when the page loads
window.onload = loadHeader;
</script>
<!-- Profile Section -->
<section class="profile">
<img src="assets/images/cantellow.png" alt="Photo of Tom Cantellow">
<div class="profile-info">
<h2>   Tom Cantellow</h2>
<p class="subheading">Quantitative Human Geographer
</div>
</section>
<!-- Introduction Section -->
<section class="intro">
<p>
I am a researcher interested in the economy, society, and politics of Britain. I use quantitative methodologies to analyse inequality, housing, energy efficiency, voting, personal finance, and local economies.
</p>
<p>
I have a PhD in Human Geography from the University of Bristol, an MSc in Applied Geographic Information Systems from the University of Sheffield and a BA in International Relations from the University of Lincoln.
</p>
<p>
I am available to educate, consult, and collaborate on map production, data analysis, survey design, and many other topics. <a href="mailto:[email protected]">Get in touch.</a>
</p>
</section>
<!-- Placeholder for the footer -->
<div id="footer-placeholder"></div>
</main>
</body>
</html>