diff hg-web/src/index.html @ 190:a2725419f988 hg-web

Updated so that bun builds will with already existing js files.
author MrJuneJune <me@mrjunejune.com>
date Sat, 24 Jan 2026 21:06:42 -0800
parents fed99fc04e12
children a06710325c30
line wrap: on
line diff
--- a/hg-web/src/index.html	Fri Jan 23 22:50:28 2026 -0800
+++ b/hg-web/src/index.html	Sat Jan 24 21:06:42 2026 -0800
@@ -1,40 +1,18 @@
 <!DOCTYPE html>
 <html lang="en">
-<head>
+  <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Zenbu Repository</title>
+    <link rel="stylesheet" href="/a11y-dark.min.css"  media="(prefers-color-scheme: dark)">
+    <link rel="stylesheet" href="/a11y-light.min.css" media="(prefers-color-scheme: light)">
+    <script src="/highlight.min.js"></script>
     <link rel="icon" type="image/svg+xml" href="/public/epi_all_colors.svg">
-</head>
-<body>
+  </head>
+  <body>
     <main>
       <div id="root"></div>
-
-<!--        <div class="header">
-            <h1>Zenbu Repository</h1>
-            <p class="description">Browse and clone this mercurial repository</p>
-        </div>
-
-        <div class="clone-info">
-            <strong>Clone this repository:</strong><br>
-            <code>hg clone http://zenbu.babocoder.com/repo</code>
-        </div>
-
-        <div class="breadcrumb" id="breadcrumb"></div>
-
-        <div class="file-list" id="fileList"></div>
-
-        <div class="readme-section" id="readmeSection" style="display: none;">
-            <h2>README</h2>
-            <div class="readme-content" id="readmeContent"></div>
-        </div>
-
-        <div class="empty-state" id="emptyState" style="display: none;">
-            <p>No files found in this directory</p>
-        </div> -->
     </main>
-
-    <script src="/markdown_to_html.js"></script>
-    <script src="/page.js"></script>
-</body>
+    <script type="module" src="/page.js"></script>
+  </body>
 </html>