Files
DiscordClone/apps/web/index.html
Bryan1029384756 ef2b538a7c Brycord v1.0.35
2026-02-21 16:49:09 -06:00

42 lines
1.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#1e1f22" />
<meta name="description" content="A Discord clone with voice, video, and text chat" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Brycord" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<title>Brycord</title>
</head>
<body>
<script>
(function() {
// Polyfills for older WebViews / non-secure contexts
if (!Object.hasOwn) {
Object.hasOwn = function(obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
};
}
if (!crypto.randomUUID) {
crypto.randomUUID = function() {
var b = new Uint8Array(16);
crypto.getRandomValues(b);
b[6] = (b[6] & 0x0f) | 0x40;
b[8] = (b[8] & 0x3f) | 0x80;
var h = Array.from(b).map(function(v) { return v.toString(16).padStart(2, '0'); }).join('');
return h.slice(0,8)+'-'+h.slice(8,12)+'-'+h.slice(12,16)+'-'+h.slice(16,20)+'-'+h.slice(20);
};
}
var t = localStorage.getItem('discord-theme') || 'theme-dark';
document.documentElement.className = t;
})();
</script>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>