sass-imobiliaria/frontend/index.html

33 lines
1.3 KiB
HTML

<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Encontre os melhores imóveis para comprar ou alugar na sua região." />
<title>ImobiliáriaHub — Encontre seu imóvel ideal</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:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
rel="stylesheet" />
</head>
<body>
<!-- Anti-flash: aplica tema antes de React renderizar -->
<script>
(function () {
try {
var saved = localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
var theme = saved === 'light' || saved === 'dark' ? saved : (prefersDark ? 'dark' : 'light');
document.documentElement.classList.add(theme);
} catch (e) {}
})();
</script>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>