-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
42 lines (40 loc) · 1.79 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Contact page offering business, personal, and fun email options. Toggle between light and dark themes.">
<meta name="keywords" content="Contact, Business Email, Personal Email, Fun Email, Theme Toggle, Dark Mode, Light Mode">
<meta name="author" content="Alf">
<meta property="og:title" content="Contact Page">
<meta property="og:description" content="Reach out via business, personal, or fun email. Try switching between light and dark themes!">
<meta property="og:image" content="static/og-image.png">
<meta property="og:url" content="" id="og-url">
<meta name="twitter:card" content="summary_large_image">
<title>Email dznv - a contact page.</title>
<link rel="stylesheet" type="text/css" href="static/styles.css">
</head>
<body>
<canvas id="canvas"></canvas>
<div class="container">
<h1 id="dynamic-title">Contact <span id="dynamic-text"></span></h1>
<div class="button-column">
<button class="pill-button">📍Business Email</button>
<button class="pill-button">✔️ Personal Email</button>
<button class="pill-button">😃 Email if you're bored!</button>
</div>
</div>
<button class="theme-toggle">
<span class="theme-icon">🌞</span>
<span class="theme-text">Light Mode</span>
</button>
<script>
const currentDomain = window.location.hostname;
const ogUrlTag = document.getElementById('og-url');
if (ogUrlTag) {
ogUrlTag.setAttribute('content', `https://${currentDomain}/contact`);
}
</script>
<script src="static/script.js"></script>
</body>
</html>