Skip to content

Commit 3d30bd0

Browse files
deploy: e738137
1 parent e463b90 commit 3d30bd0

1 file changed

Lines changed: 28 additions & 54 deletions

File tree

showcase/index.html

Lines changed: 28 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,6 @@
120120
margin-right: 0;
121121
}
122122
</style>
123-
<script type="text/x-thebe-config">
124-
{
125-
"requestKernel": true,
126-
"binderOptions": {
127-
"repo": "Electa-Git/LineCableModels.jl",
128-
"ref": "HEAD",
129-
"repoProvider": "github"
130-
},
131-
"kernelOptions": { "name": "julia-1.11", "path": "." },
132-
"selector": "[data-executable]"
133-
}
134-
</script>
135123
</head>
136124
<body class="quarto-dark">
137125
<div class="reveal">
@@ -158,38 +146,27 @@ <h1>Hello</h1>
158146

159147
</section></section>
160148
<section>
161-
<section id="live-cell-click-activate" class="title-slide slide level1 center">
162-
<h1>Live cell (click “Activate”)</h1>
163-
<p>After the deck loads, hit <strong>Activate</strong> (Thebe) → Binder spins up a Julia kernel → run:</p>
164-
</section>
165-
<section class="slide level2">
166-
167-
</section></section>
168-
<section>
169-
<section id="activate-kernel-if-needed" class="title-slide slide level1 center">
170-
<h1>Activate Kernel (if needed)</h1>
171-
<p>If you don’t see Thebe’s Activate control, click the button below:</p>
172-
<button id="thebe-activate" style="padding:8px 12px; font-size:0.9rem;">
173-
Activate (start Binder)
174-
</button>
175-
<script>
176-
window.addEventListener('DOMContentLoaded', () => {
177-
const btn = document.getElementById('thebe-activate');
178-
if (btn && window.thebe) {
179-
btn.addEventListener('click', async () => {
180-
try { await thebe.bootstrap(); btn.textContent = 'Activated'; } catch (e) { console.error(e); btn.textContent = 'Activation failed'; }
181-
});
182-
}
183-
});
184-
</script>
149+
<section id="a-simple-computation" class="title-slide slide level1 center">
150+
<h1>A simple computation</h1>
151+
<p>This is rendered at build time (if execution is enabled):</p>
152+
<div id="4" class="cell" data-execution_count="1">
153+
<div class="cell-output cell-output-display" data-execution_count="1">
154+
<pre><code>(385, 120)</code></pre>
155+
</div>
156+
</div>
185157
</section>
186158
<section class="slide level2">
187159

188160
</section></section>
189161
<section>
190-
<section id="your-package-hook-optional-live" class="title-slide slide level1 center">
191-
<h1>Your package hook (optional live)</h1>
192-
<p>Uncomment and replace with your package to smoke-test imports.</p>
162+
<section id="your-package-hook-static" class="title-slide slide level1 center">
163+
<h1>Your package hook (static)</h1>
164+
<p>Uncomment and replace with your package to smoke-test imports locally:</p>
165+
<div id="6" class="cell" data-execution_count="1">
166+
<div class="cell-output cell-output-display" data-execution_count="1">
167+
<pre><code>"ready"</code></pre>
168+
</div>
169+
</div>
193170
</section>
194171
<section class="slide level2">
195172

@@ -203,25 +180,22 @@ <h1>Footer</h1>
203180

204181
</section></section>
205182
<section>
206-
<section id="pluto-widget-live" class="title-slide slide level1 center">
207-
<h1>Pluto Widget (live)</h1>
208-
<p>If Thebe feels limited for UI widgets, here is a Pluto cell embedded via Binder. First load can take a minute.</p>
209-
<iframe class="pluto-frame" src="https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/hello.jl" loading="lazy">
210-
</iframe>
211-
<p>If the frame doesn’t load, open in a new tab:</p>
212-
<p><a href="https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/hello.jl">Open Pluto on Binder</a></p>
183+
<section id="pluto-live-new-tab" class="title-slide slide level1 center">
184+
<h1>Pluto (live, new tab)</h1>
185+
<p>Open these Pluto notebooks on Binder (first launch can take a few minutes):</p>
186+
<ul>
187+
<li>Hello demo: https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/hello.jl</li>
188+
<li>Plot demo: https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/plot.jl</li>
189+
<li>Showcase: https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/showcase.jl</li>
190+
</ul>
213191
</section>
214192
<section class="slide level2">
215193

216-
</section></section>
217-
<section id="pluto-plot-live" class="title-slide slide level1 center">
218-
<h1>Pluto Plot (live)</h1>
219-
<p>Interactive plot using Plots.jl inside Pluto.</p>
220-
<iframe class="pluto-frame" src="https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/plot.jl" loading="lazy">
221-
</iframe>
222-
<p><a href="https://mybinder.org/v2/gh/Electa-Git/LineCableModels.jl/HEAD?urlpath=pluto/open?path=docs/showcase/pluto/plot.jl">Open Pluto Plot on Binder</a></p>
223-
224194
</section>
195+
<section class="slide level2">
196+
197+
198+
</section></section>
225199
</div>
226200
<div class="quarto-auto-generated-content" style="display: none;">
227201
<div class="footer footer-default">

0 commit comments

Comments
 (0)