-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (42 loc) · 1.29 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Interactive - aplikacje internetowe dla Twojej firmy </title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="icon" type="image/png" href="/logo.png">
<!-- Dodajemy skrypt inicjalizujący motyw -->
<script>
// Sprawdź localStorage
const theme = localStorage.getItem('theme');
// Jeśli jest zapisany motyw, użyj go
if (theme) {
document.documentElement.classList.toggle('dark', theme === 'dark');
}
</script>
<style type="text/tailwindcss">
html {
color-scheme: light dark;
}
* {
@apply border-gray-200 dark:border-gray-800;
}
body {
@apply bg-gray-50 text-gray-950 dark:bg-gray-900 dark:text-gray-200;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EGFDFVSQ3F"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-EGFDFVSQ3F');
</script>
</body>
</html>