forked from PasinduOG/qr-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (45 loc) · 2.32 KB
/
index.html
File metadata and controls
48 lines (45 loc) · 2.32 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
45
46
47
48
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Free online QR Code Generator - Create beautiful QR codes quickly and easily for URLs, text, and more" />
<meta name="keywords" content="QR code, generator, QR code generator, scan, barcode, free QR code, custom QR code" />
<meta name="author" content="PasinduOG" />
<meta name="theme-color" content="#3b82f6" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://qr-code-gen-80b5c9da635a.herokuapp.com/" />
<meta property="og:title" content="QR Code Generator | Create Beautiful QR Codes" />
<meta property="og:description" content="Free online QR Code Generator. Create beautiful QR codes with custom colors, size, and error correction levels. Download as PNG." />
<meta property="og:image" content="/logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://qr-code-gen-80b5c9da635a.herokuapp.com/" />
<meta property="twitter:title" content="QR Code Generator | Create Beautiful QR Codes" />
<meta property="twitter:description" content="Free online QR Code Generator. Create beautiful QR codes with custom colors, size, and error correction levels. Download as PNG." />
<meta property="twitter:image" content="/logo.png" />
<link rel="apple-touch-icon" href="/logo.png" />
<link rel="manifest" href="/manifest.json" /> <title>QR Code Generator</title>
<script>
// Immediately set dark mode based on saved preference to prevent flickering
(function() {
const savedTheme = localStorage.getItem('theme') || 'system';
if (
savedTheme === 'dark' ||
(savedTheme === 'system' &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>