Files
package-browser/index.html
2025-01-14 19:42:25 +02:00

70 lines
3.6 KiB
HTML

<!doctype html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Browse and explore Snigdha OS packages easily with this lightweight package viewer." />
<!-- Author Metadata -->
<meta name="author" content="Eshan Roy, d3v1l0n, XlebyllleK" />
<meta name="author:website" content="https://www.eshanized.github.io/, https://www.d3v1l0n.github.io/, https://github.com/Xlebylllek/" />
<meta name="author:github" content="https://github.com/eshanized, https://github.com/d3v1l0n, https://github.com/XlebyllleK" />
<meta name="author:twitter" content="https://twitter.com/eshanized, https://twitter.com/d3v1l0n" />
<meta name="author:bio" content="Eshan Roy is a software developer, open-source enthusiast, and the creator of Snigdha OS. d3v1l0n is a cybersecurity expert and open-source contributor working on various security-focused tools. XlebyllleK is a software developer, open-source enthusiast, and the creator of Snigdha OS." />
<meta name="author:email" content="m.eshanized@gmail.com, d3v1l0n@outlook.in, celestifyx@gmail.com" />
<!-- Open Graph Meta Tags for social media sharing -->
<meta property="og:title" content="Snigdha OS Packages" />
<meta property="og:description" content="Explore a curated list of Snigdha OS packages with ease." />
<meta property="og:image" content="https://github.com/Snigdha-OS/package-browser/blob/master/public/snigdhaos-og-image.png" />
<meta property="og:url" content="https://snigdha-os.github.io/package-browser" />
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Snigdha OS Packages" />
<meta name="twitter:description" content="Explore a curated list of Snigdha OS packages with ease." />
<meta name="twitter:image" content="https://github.com/Snigdha-OS/package-browser/blob/master/public/snigdhaos-og-image.png" />
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<!-- Google Fonts (with preconnect to Google) -->
<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=Fira+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Title -->
<title>Snigdha OS Packages - Browse and Explore Lightweight Linux Packages for Snigdha OS</title>
<!-- Dark Mode CSS (optional, if you have a dark mode stylesheet) -->
<!-- <link rel="stylesheet" href="/path/to/dark-mode.css" /> -->
</head>
<body>
<!-- Main Application Root Element -->
<div id="root"></div>
<!-- Script for Application -->
<script type="module" src="/src/main.tsx"></script>
<!-- Optional: Script to toggle between dark and light mode -->
<script>
// Script to toggle light/dark mode based on user preference
const userPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const htmlElement = document.documentElement;
// Set the initial theme based on system preference
if (userPrefersDark) {
htmlElement.classList.remove('light');
htmlElement.classList.add('dark');
}
// Optional: Toggle theme dynamically if desired
// htmlElement.addEventListener('click', () => {
// htmlElement.classList.toggle('dark');
// htmlElement.classList.toggle('light');
// });
</script>
</body>
</html>