Skip to content

Commit

Permalink
Update anchors for workshop 1
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Dec 16, 2024
1 parent b68c274 commit 5847038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{#each meta as step, i}
{#if step.status == 'done'}
<li class="mb-10 ms-6">
<Anchor breadcrumbAction="push" href={step.href} class="hover:text-purple-800">
<Anchor href={step.href} class="hover:text-purple-800">
<span
class="absolute flex items-center justify-center w-8 h-8 bg-green-200 rounded-full -start-4 ring-4 ring-white"
>
Expand All @@ -42,7 +42,7 @@
</li>
{:else}
<li class="mb-10 ms-6">
<Anchor breadcrumbAction="push" href={step.href} class="hover:text-purple-800">
<Anchor href={step.href} class="hover:text-purple-800">
<span
class="absolute flex items-center justify-center w-8 h-8 bg-gray-100 rounded-full -start-4 ring-4 ring-white"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import type { ModalComponent, ModalSettings, ModalStore } from '@skeletonlabs/skeleton';
import { TabGroup, Tab, getModalStore } from '@skeletonlabs/skeleton';
import { checkConstraints } from '$lib/utils/crud';
import Anchor from '$lib/components/Anchor/Anchor.svelte';
const modalStore: ModalStore = getModalStore();
Expand Down Expand Up @@ -84,13 +85,13 @@
{ebiosRmStudy.status}
</span>
</div>
<a
<Anchor
href={`${$page.url.pathname}/edit?activity=${activeActivity}&next=${$page.url.pathname}?activity=${activeActivity}`}
class="btn variant-filled-primary h-fit"
>
<i class="fa-solid fa-pen-to-square mr-2" data-testid="edit-button" />
{m.edit()}
</a>
</Anchor>
</div>
<div
id="activityOne"
Expand Down Expand Up @@ -119,7 +120,7 @@
<ul class="list-disc list-inside text-gray-600">
{#if ebiosRmStudy.authors?.length}
{#each ebiosRmStudy.authors as author}
<li><a class="anchor" href="/users/{author.id}">{author.str}</a></li>
<li><Anchor class="anchor" href="/users/{author.id}">{author.str}</Anchor></li>
{/each}
{:else}
<li>{m.noAuthor()}</li>
Expand All @@ -134,7 +135,7 @@
<ul class="list-disc list-inside text-gray-600">
{#if ebiosRmStudy.reviewers?.length}
{#each ebiosRmStudy.reviewers as reviewer}
<li><a class="anchor" href="/users/{reviewer.id}">{reviewer.str}</a></li>
<li><Anchor class="anchor" href="/users/{reviewer.id}">{reviewer.str}</Anchor></li>
{/each}
{:else}
<li>{m.noReviewer()}</li>
Expand Down

0 comments on commit 5847038

Please sign in to comment.