-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (44 loc) · 1.75 KB
/
Copy pathindex.html
File metadata and controls
44 lines (44 loc) · 1.75 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#7c3aed" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="PromptHash" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/pwa/apple-touch-icon.png" />
<title>PromptHash — Stellar Prompt Marketplace</title>
<script>
// Immediately set theme class to avoid flash (uses localStorage or system)
(function() {
try {
var key = 'theme-preference'
var stored = localStorage.getItem(key)
var prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
var isDark = stored ? stored === 'dark' : prefersDark
if (isDark) {
document.documentElement.classList.add('dark')
document.documentElement.style.colorScheme = 'dark'
} else {
document.documentElement.classList.remove('dark')
document.documentElement.style.colorScheme = 'light'
}
} catch (e) {
// ignore
}
})()
</script>
<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@100..900&family=Inconsolata:wght@500&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>