-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
67 lines (67 loc) · 2.48 KB
/
contact.html
File metadata and controls
67 lines (67 loc) · 2.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact - Gofi</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; line-height: 1.5; color: #2e3440; background: #f0f1f3; }
a { text-decoration: none; color: #2e3440; }
nav { background: #fff; border-bottom: 1px solid #ccc; padding: 0.5rem 1rem; }
nav ul { display: flex; list-style: none; justify-content: flex-end; gap: 1.5rem; }
nav li a { font-weight: bold; padding: 0.25rem 0.5rem; }
nav li a:hover { background: #e2e4e6; border-radius: 4px; }
.container { max-width: 800px; margin: 1.5rem auto; background: #fff; padding: 1.5rem; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
h1 { margin-bottom: 1rem; font-size: 1.75rem; text-align: center; }
.email-box {
margin: 2.5rem auto 0 auto;
text-align: center;
font-size: 1.2rem;
background: #f7f9fa;
border: 1px solid #dbe2ea;
border-radius: 8px;
padding: 2rem 1.5rem;
width: 350px;
box-shadow: 0 2px 8px rgba(0,0,0,0.03);
letter-spacing: 0.02em;
user-select: none;
}
.email-link {
color: #2e86de;
font-weight: bold;
text-decoration: underline dotted;
cursor: pointer;
}
.hint { color: #888; font-size: 0.95em; margin-top: 1.5rem; }
</style>
<script>
// Reveal email on click to avoid scraping
function revealEmail() {
var e = ['hello','supr','design'];
var mail = e[0] + '@' + e[1] + '.' + e[2];
var link = document.getElementById('email-link');
link.textContent = mail;
link.href = 'mailto:' + mail;
}
</script>
</head>
<body>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="pricing.html">Pricing</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<div class="container">
<h1>Contact Us</h1>
<div class="email-box">
<span class="email-link" id="email-link" onclick="revealEmail()" tabindex="0" style="cursor:pointer;">
Click to reveal email
</span>
<div class="hint">(This helps prevent spam.)</div>
</div>
</div>
</body>
</html>