Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (43 loc) · 1.56 KB
/
Copy pathindex.html
File metadata and controls
43 lines (43 loc) · 1.56 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
<!doctype html>
<html lang="es-MX">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/help.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>Computer Selector Helper</title>
<script>
// Apply the saved/system theme before first paint to avoid a flash (FOUC).
// Mirrors the logic in src/hooks/useTheme.js (localStorage key 'csh-theme').
(function () {
try {
var stored = localStorage.getItem('csh-theme');
var theme = stored === 'light' || stored === 'dark'
? stored
: (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
document.documentElement.setAttribute('data-theme', theme);
} catch (e) { /* private mode / no storage — fall back to light */ }
})();
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Computer Selector Helper",
"description": "Asistente para elegir la laptop ideal según tus necesidades y presupuesto",
"url": "https://computer-selector-helper.vercel.app/",
"applicationCategory": "UtilityApplication",
"operatingSystem": "Any",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "MXN"
},
"inLanguage": "es-MX"
}
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>