Skip to content

Commit 0642516

Browse files
committed
feat: create unregistered.html
1 parent 32af13b commit 0642516

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

unregistered.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
7+
<!-- HTML Meta Tags -->
8+
<title>Taken Domain | is-a.dev</title>
9+
10+
<!-- Favicon -->
11+
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
12+
13+
<!-- Stylesheets -->
14+
<link rel="stylesheet" href="styles/main.css" />
15+
<link rel="stylesheet" href="styles/secondary.css" />
16+
<link rel="stylesheet" href="https://cdn.hrsn.net/is-a-dev/website/fonts/Roboto/font.css" rel="prefetch" />
17+
<link rel="stylesheet" href="https://cdn.hrsn.net/is-a-dev/website/fonts/UbuntuMono/font.css" rel="prefetch" />
18+
</head>
19+
20+
<body>
21+
<h1>Available Domain</h1>
22+
<p>The subdomain <span id="subdomainName"></span>.is-a.dev is available for registration, completely for free! </p>
23+
<a href="/">Return to the homepage to learn more about registering is-a.dev subdomains.</a>
24+
25+
<script>
26+
const params = new URLSearchParams(window.location.search);
27+
const subdomain = params.get("subdomain");
28+
if (subdomain) {
29+
const el = document.getElementById("subdomainName");
30+
if (el) { el.textContent = subdomain; }
31+
}
32+
</script>
33+
</body>
34+
</html>

0 commit comments

Comments
 (0)