diff hg-web/src/index.html @ 175:71ad34a8bc9a hg-web

[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
author MrJuneJune <me@mrjunejune.com>
date Tue, 20 Jan 2026 06:06:47 -0800
parents ffb764d2fcc5
children fed99fc04e12
line wrap: on
line diff
--- a/hg-web/src/index.html	Mon Jan 19 18:59:23 2026 -0800
+++ b/hg-web/src/index.html	Tue Jan 20 06:06:47 2026 -0800
@@ -9,14 +9,16 @@
 </head>
 <body>
     <main>
-        <div class="header">
+      <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</code>
+            <code>hg clone http://zenbu.babocoder.com/repo</code>
         </div>
 
         <div class="breadcrumb" id="breadcrumb"></div>
@@ -30,10 +32,10 @@
 
         <div class="empty-state" id="emptyState" style="display: none;">
             <p>No files found in this directory</p>
-        </div>
+        </div> -->
     </main>
 
     <script src="/markdown_to_html.js"></script>
-    <script src="/index.js"></script>
+    <script src="/page.js"></script>
 </body>
 </html>