quantum-website-2026/static-site-example.html
2026-04-06 13:27:24 +05:30

30 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title - YourSite</title>
</head>
<body>
<!-- ─────────────────────────────────────────────────────────────
Shared Header — one line, that's it.
For same-domain use: <script src="/header.js"></script>
For cross-domain use: <script src="https://quantumtaskai.com/header.js"></script>
To bust cache after update: <script src="https://quantumtaskai.com/header.js?v=2"></script>
──────────────────────────────────────────────────────────────── -->
<script src="/header.js"></script>
<!-- Your page content below -->
<main style="max-width:800px; margin:60px auto; padding:0 24px; font-family:sans-serif;">
<h1>Welcome to YourSite</h1>
<p>The header above is injected automatically by <code>header.js</code>.</p>
<p>To use on any page, add one script tag:</p>
<pre style="background:#f4f4f4; padding:16px; border-radius:8px;">
&lt;script src="https://quantumtaskai.com/header.js"&gt;&lt;/script&gt;</pre>
<p>That's it. No extra HTML, no CSS imports, no dependencies.</p>
</main>
</body>
</html>