Skip to content

Commit f09e736

Browse files
port over javascript, but its a little broken
1 parent 6998ce6 commit f09e736

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta http-equiv="content-type" content="text/html; charset=utf-8">
1313
<meta name="viewport" content="width=device-width, initial-scale=1">
1414
<link href="./style.css" rel="stylesheet" type="text/css">
15+
<link rel="stylesheet" href="./diff-viz-styles.css">
1516
<title>Refactoring Codebases through Library Design</title>
1617

1718
<!-- MathJax Configuration -->
@@ -95,7 +96,22 @@ <h2 id="abstract">Abstract</h2>
9596
<section>
9697
<h2 id="demo">Demo</h2>
9798
<figure id="demo-figure">
98-
<img src="images/diff-animation-natural.gif" alt="Demo animation showing Librarian's refactoring process">
99+
<div class="status-badge">
100+
<span class="phase-indicator"></span>
101+
<span id="currentPhase">Loading...</span>
102+
| Timestep <span id="timestepCount">0</span>
103+
</div>
104+
105+
<div class="container">
106+
<div class="code-panel">
107+
<div class="code-header" id="libraryFileName">library.py</div>
108+
<div class="code-content" id="libraryContent"></div>
109+
</div>
110+
<div class="code-panel">
111+
<div class="code-header" id="solutionFileName">solution.py</div>
112+
<div class="code-content" id="solutionContent"></div>
113+
</div>
114+
</div>
99115
<figcaption>Librarian in action: watch as it identifies common patterns and refactors multiple code sources into shorter versions by creating a unified library with reusable components.</figcaption>
100116
</figure>
101117
</section>
@@ -263,5 +279,6 @@ <h2 id="acknowledgments">Acknowledgments</h2>
263279
<p class="license">This website template is inspired by <a href="https://nerfies.github.io/">Nerfies</a> and <a href="https://imaging.cs.cmu.edu/">CMU Computational Imaging Lab</a> research pages.</p>
264280
<p class="license">Website template from <a href="https://github.com/zzigak/research-project-website">research-project-website</a>.</p>
265281
</footer>
282+
<script src="./script.js"></script>
266283
</body>
267284
</html>

0 commit comments

Comments
 (0)