Skip to content

Commit

Permalink
hrefs to start with hash, fixes #87
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetz committed May 8, 2024
1 parent 7af24ac commit da5f94e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Unplug /> Login system offline
</span>
You will not be able to upload or chat.<br>
You can still use the <a href="/uploader">Uploader</a> to create a resource locally.
You can still use the <a href="#/uploader">Uploader</a> to create a resource locally.
<span slot="footer">
If this problem persists, please contact a member of the BioImage.IO team or create an Issue.
</span>
Expand Down
4 changes: 2 additions & 2 deletions src/components/HamburgerMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ button{
{#if $hypha_version}
<li><span style="font-family:monospace;">Hypha: {$hypha_version}</span></li>
{/if}
<li><a href="/uploader" style="color: white;">New Upload</a></li>
<li><a href="/status" style="color: white;">Overview</a></li>
<li><a href="#/uploader" style="color: white;">New Upload</a></li>
<li><a href="#/status" style="color: white;">Overview</a></li>
<li><LoginButton /></li>
</ul>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<li><img style="height: 50px;" src="https://bioimage.io/static/img/bioimage-io-logo-white.svg" alt="BioImage.IO"><strong>{#if SANDBOX}SANDBOX{/if}</strong></li>
</ul>
<ul class="right-menu horizontal">
<li><a href="/uploader" style="color: white;">New Upload</a></li>
<li><a href="/status" style="color: white;">Overview</a></li>
<li><a href="#/uploader" style="color: white;">New Upload</a></li>
<li><a href="#/status" style="color: white;">Overview</a></li>
<li>
<LoginButton />
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Status.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{#each staged as {id, id_emoji, info, description, version_number}}

<article>
<a href="/status/{id}/{version_number}">
<a href="#/status/{id}/{version_number}">
<h2>{id_emoji} {id} ({version_number})</h2>
</a>
<p>{description}</p>
Expand All @@ -108,7 +108,7 @@
<!--div class="grid" -->
{#each published as {id, id_emoji, info, version_number, description}}
<article>
<a href="/status/{id}">
<a href="#/status/{id}">
<h2>{id_emoji} {id}</h2>
</a>
<p>{description}</p>
Expand Down

0 comments on commit da5f94e

Please sign in to comment.