-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (55 loc) · 2.22 KB
/
index.html
File metadata and controls
60 lines (55 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>HeaderHawk — Security Headers Scanner</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;500;600;700&display=swap" rel="stylesheet">
<!-- Corrected path -->
<link rel="stylesheet" href="/static/style.css" />
<link rel="icon" href="/static/favicon.ico" sizes="any">
</head>
<body>
<header class="site-header">
<div class="container row">
<div class="brand">
<div class="logo" aria-hidden="true">🦅</div>
<span class="title">HeaderHawk</span>
</div>
<nav aria-label="Primary" class="nav">
<a href="/api/scan?url=https://example.com" class="nav-cta" target="_blank" rel="noopener">API</a>
</nav>
</div>
</header>
<main class="container">
<section class="hero">
<h1 class="hero-title">Your first line of defense in web security scanning</h1>
<p class="hero-sub">Scan any site in seconds. Spot missing headers. Patch leaks before attackers find them.</p>
</section>
<section class="card">
<form id="scan-form" class="scan-form" aria-label="Scan a website for security headers">
<label for="url" class="label">Target URL</label>
<div class="input-row">
<input id="url" name="url" type="url" inputmode="url" placeholder="https://example.com" required class="input" />
<button type="submit" class="btn">Scan</button>
</div>
<p class="hint">Tip: you can also call the JSON API →
<code>/api/scan?url=…</code>
</p>
</form>
</section>
</main>
<footer class="site-footer">
<div class="container row small">
<span>© <span id="year"></span> HeaderHawk</span>
<span>Made with 🩷 by
<a href="https://www.piyushinfinity.dev/" target="_blank" rel="noopener" style="text-decoration: none; color: rgb(255, 0, 157);">BATMAN</a>
</span>
</div>
</footer>
<!-- Corrected JS path -->
<script src="/static/js/index.js" defer></script>
</body>
</html>