You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
468 B
20 lines
468 B
<script lang="ts">
|
|
import type { ScopeEntry } from "$lib/models/scope";
|
|
import CardEntry from "../layout/CardEntry.svelte";
|
|
import EntryName from "../layout/EntryName.svelte";
|
|
|
|
export let scope: ScopeEntry
|
|
</script>
|
|
|
|
<a href="/{scope.id}-{scope.abbreviation.toLocaleLowerCase()}/">
|
|
<CardEntry>
|
|
<EntryName subtitle={scope.abbreviation}>{scope.name}</EntryName>
|
|
</CardEntry>
|
|
</a>
|
|
|
|
<style>
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
</style>
|