mirror of
https://github.com/koel/koel
synced 2024-12-22 10:33:16 +00:00
17 lines
413 B
Vue
17 lines
413 B
Vue
|
<template>
|
||
|
<a
|
||
|
class="bg-black/20 flex items-center px-3.5 rounded-md !text-k-text-secondary hover:!text-k-text-primary"
|
||
|
href="#/home"
|
||
|
@click="onClick"
|
||
|
>
|
||
|
<Icon :icon="faHome" fixed-width />
|
||
|
</a>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { faHome } from '@fortawesome/free-solid-svg-icons'
|
||
|
import { eventBus } from '@/utils'
|
||
|
|
||
|
const onClick = () => eventBus.emit('TOGGLE_SIDEBAR')
|
||
|
</script>
|