fix
All checks were successful
deploy to production / deploy (push) Successful in 29s

This commit is contained in:
Robin Grenzdörfer 2023-11-18 16:32:41 +00:00
parent 99be954f5c
commit c0209910e2

View File

@ -11,13 +11,26 @@
{#each jobOffers as job, i} {#each jobOffers as job, i}
{#if i < 3} {#if i < 3}
<button <button
class="page-ref" class="row-ref fill"
on:click="{() => { on:click="{() => {
$rerender = $rerender + 1 $rerender = $rerender + 1
navigate(pageReference + '?elem=' + pages[i].id) navigate(pageReference + '?elem=' + pages[i].id)
}}" }}"
on:mouseenter="{() => {
focused = i
}}"
on:mouseleave="{() => {
focused = -1
}}"
> >
{job.title} <div>
{job.title}
</div>
<svg
data-src="/media/arrow-r.svg"
stroke="{i == focused ? '#fff' : 'black'}"
fill="{i == focused ? '#fff' : 'black'}"
style="z-index: 9999; position: relative;"></svg>
</button> </button>
{:else} {:else}
<button <button
@ -27,18 +40,13 @@
on:mouseleave="{() => { on:mouseleave="{() => {
focused = -1 focused = -1
}}" }}"
class="row-ref fill"
on:click="{() => { on:click="{() => {
$rerender = $rerender + 1 $rerender = $rerender + 1
navigate(pageReference) navigate(pageReference)
}}" }}"
class="page-ref"
> >
<div>Mehr offene Stellen</div> <div>Mehr offene Stellen</div>
<svg
data-src="/media/arrow-r.svg"
stroke="{i == focused ? '#fff' : 'black'}"
fill="{i == focused ? '#fff' : 'black'}"
style="z-index: 9999; position: relative;"></svg>
</button> </button>
{/if} {/if}
{/each} {/each}
@ -75,6 +83,9 @@
width: 20px; width: 20px;
height: auto; height: auto;
} }
&:hover {
color: white !important;
}
} }
.page-ref { .page-ref {