17 lines
458 B
Svelte
17 lines
458 B
Svelte
|
|
<script>
|
||
|
|
import {getContext} from "svelte";
|
||
|
|
|
||
|
|
const channel = getContext("channel");
|
||
|
|
export let schemas;
|
||
|
|
export let schema;
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div class="list-group list-group-flush">
|
||
|
|
|
||
|
|
{#each schemas as aschema}
|
||
|
|
<a class="list-group-item list-group-item-action" class:active={aschema.name === schema?.name}
|
||
|
|
aria-current="page"
|
||
|
|
href="{channel.lucentUrl}/content/{aschema.name}">{aschema.label}</a>
|
||
|
|
{/each}
|
||
|
|
</div>
|