Skip to content

Commit 8fd9af3

Browse files
committed
integrate new client side BDT
1 parent 6c36744 commit 8fd9af3

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

layouts/shortcodes/web_app.html

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,27 @@ <h3 class="pl-3">{{ .title | markdownify }}
2323
{{ end }}
2424

2525
<!-- Bias Detection Tool -->
26-
<div id="app"></div>
26+
<div class="container">
27+
<iframe title="Bias detection example"
28+
src="https://local-first-bias-detection.s3.eu-central-1.amazonaws.com/bias-detection.html">
29+
</iframe>
30+
<style>
31+
.container {
32+
background-color: #fff;
33+
width: 100%;
34+
display: flex;
35+
flex-direction: column;
36+
justify-content: center;
37+
align-items: center;
38+
}
39+
40+
iframe {
41+
border: none;
42+
width: 100%;
43+
height: 700px;
44+
}
45+
</style>
46+
</div>
2747
<!-- /Bias Detection Tool -->
2848

2949
</div>
@@ -32,6 +52,4 @@ <h3 class="pl-3">{{ .title | markdownify }}
3252
</div>
3353
</div>
3454
<!-- text field -->
35-
36-
<script type="module" src="https://static-files-pdf.s3.amazonaws.com/assets/index.js"></script>
3755
{{ end }}

0 commit comments

Comments
 (0)