53 lines
2.5 KiB
HTML
53 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>Bitfielder</title>
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<link rel="manifest" href="/manifest.json">
|
|
<meta name="theme-color" content="#000000">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<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="Bitfielder">
|
|
<link rel="apple-touch-icon" href="/icon-192.png">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png">
|
|
<link rel="icon" type="image/png" sizes="512x512" href="/icon-512.png">
|
|
<meta name="description" content="Bitfielder is a live bitfield shader editor for creating visual patterns using bitwise operations.">
|
|
<meta name="author" content="BuboBubo">
|
|
<meta name="keywords" content="shader, bitfield, visual, patterns, programming, interactive, editor">
|
|
<meta property="og:title" content="Bitfielder - Bitfield Shader App">
|
|
<meta property="og:description" content="Interactive bitfield shader editor for creating visual patterns using bitwise operations">
|
|
<meta property="og:type" content="website">
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:title" content="Bitfielder - Bitfield Shader App">
|
|
<meta name="twitter:description" content="Interactive bitfield shader editor for creating visual patterns using bitwise operations">
|
|
<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=IBM+Plex+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/src/styles/main.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
|
|
<!-- PWA Service Worker Registration -->
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
window.addEventListener('load', () => {
|
|
navigator.serviceWorker.register('/sw.js')
|
|
.then(registration => {
|
|
console.log('SW registered: ', registration);
|
|
})
|
|
.catch(registrationError => {
|
|
console.log('SW registration failed: ', registrationError);
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|