-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelcome.html
More file actions
270 lines (242 loc) · 8.09 KB
/
Copy pathwelcome.html
File metadata and controls
270 lines (242 loc) · 8.09 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to Lapsed</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
<style>
:root {
--bg: #f9f7f4;
--ink: #1a1a1a;
--muted: #6b6b6b;
--border: #d8d4ce;
--border-light: #e8e4de;
--surface: #ffffff;
--accent: #2563eb;
--positive: #16a34a;
--mono: 'IBM Plex Mono', monospace;
--sans: 'IBM Plex Sans', sans-serif;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #111110;
--ink: #e8e6e3;
--muted: #888580;
--border: #2e2c29;
--border-light: #252422;
--surface: #1a1918;
}
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: var(--sans);
background: var(--bg);
color: var(--ink);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 40px 24px;
}
.container {
width: 100%;
max-width: 680px;
background: var(--surface);
border: 1px solid var(--border);
padding: 56px;
box-shadow: 0 4px 32px rgba(0,0,0,0.04);
}
/* Header */
.header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 48px;
}
.logo-wrapper { margin-bottom: 20px; }
.brand-text {
font-family: var(--mono);
font-size: 1.25rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 6px;
}
.brand-tagline {
font-size: 1rem;
color: var(--muted);
}
/* Sections */
.section { margin-bottom: 36px; }
.section-title {
font-family: var(--mono);
font-size: 0.65rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 20px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border-light);
}
.feature-list { list-style: none; }
.feature-item {
display: flex;
gap: 16px;
margin-bottom: 18px;
line-height: 1.5;
}
.feature-icon { flex-shrink: 0; width: 24px; font-size: 1.1rem; text-align: center; }
.feature-text strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.feature-text span { font-size: 0.9rem; color: var(--muted); }
/* Shortcut Box */
.shortcut-box {
background: var(--bg);
border: 1px solid var(--border-light);
padding: 14px 18px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 4px;
margin-top: 20px;
}
.shortcut-label { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
kbd {
font-family: var(--mono);
background: var(--surface);
border: 1px solid var(--border);
border-bottom-width: 3px;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.8rem;
color: var(--ink);
}
.footer {
margin-top: 48px;
padding-top: 32px;
border-top: 1px solid var(--border-light);
text-align: center;
}
.btn {
display: inline-block;
font-family: var(--mono);
font-size: 0.85rem;
font-weight: 500;
padding: 14px 40px;
background: var(--ink);
color: var(--bg);
text-decoration: none;
border: none;
cursor: pointer;
transition: transform 0.1s, opacity 0.1s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.github-link {
display: block;
margin-top: 20px;
font-family: var(--mono);
font-size: 0.7rem;
color: var(--muted);
text-decoration: none;
transition: color 0.15s;
}
.github-link:hover { color: var(--ink); }
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo-wrapper">
<svg width="48" height="48" viewBox="0 0 32 32" fill="none" title="Lapsed Logo">
<path d="M16 4C10.477 4 6 8.477 6 14v13l3.5-2.5 2.5 2.5 4-2.5 4 2.5 2.5-2.5L26 27V14C26 8.477 21.523 4 16 4z" fill="var(--ink)" fill-opacity="0.08" stroke="var(--ink)" stroke-width="1.5" stroke-linejoin="round"/>
<circle cx="12.5" cy="14" r="2" fill="var(--ink)"/>
<circle cx="19.5" cy="14" r="2" fill="var(--ink)"/>
</svg>
</div>
<h1 class="brand-text">Welcome to Lapsed</h1>
<p class="brand-tagline">Domain diagnostics when things vanish</p>
</div>
<div class="section">
<h2 class="section-title">How it works</h2>
<div class="feature-item">
<div class="feature-icon">🔄</div>
<div class="feature-text">
<strong>Automatic Detection</strong>
<span>Navigate as usual. If a domain fails to load, Lapsed automatically replaces the error page with a diagnostic dashboard.</span>
</div>
</div>
<div class="feature-item">
<div class="feature-icon">🔍</div>
<div class="feature-text">
<strong>Manual Lookup</strong>
<span>Check any domain instantly by clicking the toolbar icon or using the global keyboard shortcut.</span>
</div>
</div>
<div class="shortcut-box" title="Use this shortcut anywhere in your browser">
<span class="shortcut-label">Keyboard shortcut</span>
<span id="shortcutDisplay"><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd></span>
</div>
</div>
<div class="section">
<h2 class="section-title">Diagnostic Features</h2>
<ul class="feature-list">
<li class="feature-item">
<div class="feature-icon">✅</div>
<div class="feature-text">
<strong>Domain Availability</strong>
<span>Instantly see if a domain is available or already registered.</span>
</div>
</li>
<li class="feature-item">
<div class="feature-icon">📋</div>
<div class="feature-text">
<strong>Registration Details</strong>
<span>View registrar, creation date, and expiry for taken domains.</span>
</div>
</li>
<li class="feature-item">
<div class="feature-icon">📷</div>
<div class="feature-text">
<strong>Web History</strong>
<span>Quick links to the Wayback Machine to see past versions of the site.</span>
</div>
</li>
<li class="feature-item">
<div class="feature-icon">🕵️</div>
<div class="feature-text">
<strong>DNS Diagnostics</strong>
<span>Check A, MX, and NS records to see if the domain still resolves.</span>
</div>
</li>
</ul>
</div>
<div class="section">
<h2 class="section-title">Privacy & Transparency</h2>
<ul class="feature-list">
<li class="feature-item">
<div class="feature-icon">🔒</div>
<div class="feature-text">
<strong>Privacy First</strong>
<span>Lapsed does not collect or store personal data. All diagnostics are performed locally in your browser.</span>
</div>
</li>
<li class="feature-item">
<div class="feature-icon">💎</div>
<div class="feature-text">
<strong>Transparency</strong>
<span>Lapsed is supported by affiliate partnerships. If you register a domain through our links, we may receive a commission at no extra cost to you.</span>
</div>
</li>
</ul>
</div>
<div class="footer">
<a href="#" class="btn" id="closeBtn" title="Launch the Lapsed popup and get started">Get Started</a>
<a href="https://github.com/roie/lapsed" target="_blank" class="github-link" title="View source code and documentation on GitHub">View on GitHub</a>
</div>
</div>
<script src="welcome.js"></script>
</body>
</html>