Skip to content

Commit

Permalink
Add recommender overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Wang <[email protected]>
  • Loading branch information
xiaohk committed Oct 3, 2023
1 parent 4ae0438 commit 84c645a
Show file tree
Hide file tree
Showing 18 changed files with 3,253 additions and 2,205 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"rollup-plugin-terser": "^7.0.0",
"sass": "^1.32.6",
"svelte": "^3.0.0",
"svelte-preprocess": "^4.5.2"
"svelte-preprocess": "^5.0.4"
},
"dependencies": {
"d3": "^6.4.0",
Expand Down
16 changes: 12 additions & 4 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@
}
</style>

<svelte:head>
<script
type="module"
src="https://unpkg.com/recommender-overlay/dist/recommender-overlay.es.js"
></script>
</svelte:head>

<div class='app-page'>

<div class="app-page">
<!-- <div class='saliency'>
<GraphView />
</div> -->

<recommender-overlay
my-brand="Dodrio"
position-left="20"
display-delay="20000"
/>
<Main />

</div>
Loading

0 comments on commit 84c645a

Please sign in to comment.