-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (59 loc) · 3.23 KB
/
index.html
File metadata and controls
74 lines (59 loc) · 3.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HYPERLOCAL</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="box">
<div class="logo">
<div class="logo-hyper">HYPER</div>
<div class="logo-local">LOCAL</div>
</div>
<p class="tagline">Don't outsource your intelligence.</p>
<p>AI is powerful. But it comes with strings attached: your data in someone else's cloud, conversations
filtered through corporate policy, intelligence rented by the month.</p>
<p class="highlight">HyperLocal is a project, a community to fight back and own your intelligence.</p>
<p class="product">Say hello to our first product. We call it <strong>Indie</strong> – a little box for your
home or office. <a href="https://brainbot-com.github.io/indie-landing/" target="_blank">Learn more →</a>
</p>
<p class="newsletter">Sign up to our weekly newsletter.</p>
<div class="language-selector">
<button class="lang-btn active" data-lang="en">EN</button>
<button class="lang-btn" data-lang="de">DE</button>
</div>
<form id="form-en" action="https://buttondown.email/api/emails/embed-subscribe/hyperlocal" method="post"
target="popupwindow" onsubmit="window.open('', 'popupwindow', 'scrollbars=yes,width=800,height=600')"
class="embeddable-buttondown-form active">
<input type="email" name="email" placeholder="your@email.com" required />
<input type="submit" value="Sign up →" />
</form>
<form id="form-de" action="https://buttondown.email/api/emails/embed-subscribe/hyperlocal-de" method="post"
target="popupwindow" onsubmit="window.open('', 'popupwindow', 'scrollbars=yes,width=800,height=600')"
class="embeddable-buttondown-form">
<input type="email" name="email" placeholder="deine@email.com" required />
<input type="submit" value="Anmelden →" />
</form>
<script>
const langButtons = document.querySelectorAll('.lang-btn');
const forms = document.querySelectorAll('.embeddable-buttondown-form');
langButtons.forEach(btn => {
btn.addEventListener('click', () => {
const lang = btn.dataset.lang;
langButtons.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
forms.forEach(f => f.classList.remove('active'));
document.getElementById(`form-${lang}`).classList.add('active');
});
});
</script>
</div>
</div>
</body>
</html>