mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
28 lines
600 B
Vue
28 lines
600 B
Vue
<template>
|
|
<div class="playlists-nav">
|
|
<SimpleTitle :text="'Playlists'" />
|
|
<div class="buttons">
|
|
<button @click="showNewPlaylistModal()"><PlusSvg /> New Playlist</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import SimpleTitle from "./SimpleTitle.vue";
|
|
import PlusSvg from "../../../assets/icons/plus.svg";
|
|
|
|
import useModalStore from "@/stores/modal";
|
|
const { showNewPlaylistModal } = useModalStore();
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.playlists-nav {
|
|
display: grid;
|
|
grid-template-columns: 1fr max-content;
|
|
|
|
button {
|
|
padding-right: $small;
|
|
}
|
|
}
|
|
</style>
|