forked from coder29yt/jio-saavn-clone-yt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (27 loc) · 1.28 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
<!doctype html>
<html lang="en">
<head>
<script>
const isDarkMode = localStorage.getItem('theme') === 'dark' ||
(!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches);
if (isDarkMode) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
</script>
<meta charset="UTF-8" />
<link rel="preload" href="/path/to/styles.css" as="style">
<meta name="theme-color" content="#1f2937" media="(prefers-color-scheme: dark)">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="description" content="Music Beta is a responsive music app built with React, Tailwind CSS, and Redux, offering seamless music streaming, song downloads, and playlists. Powered by the JioSaavn API, the app features dark/light themes, language selection, and Progressive Web App (PWA) support for an enhanced user experience." />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" type="image/svg+xml" href="/ios/40.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Music Beta</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>