wm-fontis-tibi-2023/frontend/src/lib/components/widgets/moreBtn.svelte
2023-07-14 19:32:33 +00:00

22 lines
499 B
Svelte

<script lang="ts">
import { navigate } from "svelte-routing"
export let path: string
</script>
<button class="more" on:click="{() => navigate(path)}"> mehr </button>
<style lang="less">
@import "../../assets/css/main.less";
.more {
background-color: @bg-color-secondary;
color: @font-color-secondary;
border: none;
height: 36px;
padding: 2px 15px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
}
</style>