wm-fontis-tibi-2023/frontend/src/lib/components/widgets/moreBtn.svelte
robin 157e667227
All checks were successful
deploy to production / deploy (push) Successful in 36s
fixes
2023-09-01 12:09:35 +00:00

25 lines
575 B
Svelte

<script lang="ts">
import { navigate } from "svelte-routing"
export let path: string
export let bright
</script>
<button class="more" class:bright="{bright}" 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: 20px;
font-weight: bold;
}
.bright {
border: 2px solid @bg-color;
}
</style>