Move new playlist button to nav

This commit is contained in:
geoffrey45
2022-09-02 18:51:59 +03:00
parent 3c527f1841
commit 4c8d437530
3 changed files with 32 additions and 7 deletions
@@ -0,0 +1,28 @@
<template>
<div
class="p-card new-playlist-card rounded"
@click="Modal.showNewPlaylistModal()"
>
<PlusSvg />
</div>
</template>
<script setup lang="ts">
import PlusSvg from "../../assets/icons/plus.svg";
import useModalStore from "../../stores/modal";
const Modal = useModalStore();
</script>
<style lang="scss">
.new-playlist-card {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
svg {
transform: scale(3);
}
}
</style>