-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
99 lines (88 loc) · 4.01 KB
/
contact.html
File metadata and controls
99 lines (88 loc) · 4.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact | Katherine Ormerod</title>
<link href="https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav class="navigation">
<a href="index.html" class="site-title">Katherine Ormerod</a>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="research.html">Research</a></li>
<li><a href="publications.html">Publications</a></li>
<li><a href="talks.html">Talks</a></li>
<li><a href="contact.html" class="active">Contact</a></li>
</ul>
<button class="menu-toggle">☰</button>
</nav>
</header>
<main>
<section id="contact" class="contact-section">
<div class="content-wrapper">
<h2>Contact</h2>
<div class="contact-grid">
<div class="contact-info">
<h3>Get in touch</h3>
<p>Email: [email protected]</p>
<p>Astrophysics Research Institute,
<br>Liverpool John Moores University,
<br>146 Brownlow Hill,
<br>Liverpool</p>
</div>
<div class="contact-form">
<form action="https://formsubmit.co/[email protected]" method="POST">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Email Address" required>
</div>
<div class="form-group">
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" placeholder="Subject" required>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5" placeholder="Enter your message here" required></textarea>
</div>
<button type="submit">Send Message</button>
<input type="hidden" name="_next" value="https://k-ormerod.github.io/">
</form>
</div>
</div>
</div>
</section>
</main>
<footer>
<p>© 2026 Katherine Ormerod</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
const menuToggle = document.querySelector('.menu-toggle');
const navMenu = document.querySelector('.navigation ul');
menuToggle.addEventListener('click', function() {
navMenu.classList.toggle('show');
});
document.addEventListener('click', function(event) {
const isClickInsideNav = event.target.closest('.navigation');
if (!isClickInsideNav && navMenu.classList.contains('show')) {
navMenu.classList.remove('show');
}
});
window.addEventListener('resize', function() {
if (window.innerWidth > 768 && navMenu.classList.contains('show')) {
navMenu.classList.remove('show');
}
});
});
</script>
</body>
</html>