mirror of
https://github.com/koel/koel
synced 2024-12-23 02:53:20 +00:00
16 lines
413 B
Vue
16 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>
|