Skip to content

Commit ddf379a

Browse files
committed
Fix modal link
Signed-off-by: Jay Wang <jay@zijie.wang>
1 parent ec7ff79 commit ddf379a

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ explorer
1717
lite
1818

1919
combine.ipynb
20-
public/data/diffusiondb/umap.ndjson
20+
public/data/diffusiondb/umap.ndjson
21+
.gitignoreghpage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build:github": "vite build --mode github",
99
"build:vercel": "vite build --mode vercel",
1010
"deploy:vercel": "sh ./publish-vercel.sh",
11+
"deploy:github": "sh ./publish-github.sh",
1112
"deploy": "pnpm run deploy:vercel",
1213
"preview": "vite preview",
1314
"check": "svelte-check --tsconfig ./tsconfig.json"

src/components/embedding/Embedding.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
showContour: true,
2828
showPoint: true,
2929
showGrid: false,
30-
showLabel: false
30+
showLabel: true
3131
};
3232
3333
export let datasetName = 'diffusiondb';

src/components/footer/Footer.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767
<div class="dataset-list">
6868
<ul>
6969
<li>
70-
<a href="/?dataset=diffusiondb"
70+
<a href="./?dataset=diffusiondb"
7171
>DiffusionDB (1.8M text + 1.8M images)</a
7272
>
7373
</li>
7474
<li>
75-
<a href="/?dataset=acl-abstracts"> ACL Abstracts (63k text) </a>
75+
<a href="./?dataset=acl-abstracts"> ACL Abstracts (63k text) </a>
7676
</li>
7777
</ul>
7878
</div>

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export default defineConfig(({ command, mode }) => {
3838
case 'github': {
3939
// Production: github page
4040
return {
41+
base: '/wizmap/',
4142
build: {
4243
outDir: 'gh-page'
4344
},

0 commit comments

Comments
 (0)