forked from Mirrors/swingmusic-webclient
remove welcome dialog
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
<template>
|
||||
<div class="welcome-to-swing">
|
||||
<h3 class="t-center">
|
||||
Welcome to
|
||||
<span class="app-name">Swing Music</span>
|
||||
</h3>
|
||||
<p>
|
||||
Swing Music is a web based music player that is designed to provide
|
||||
a home 🏡 for all your local music files 💿️.
|
||||
</p>
|
||||
<hr />
|
||||
<p class="t-center">Let there be music!</p>
|
||||
<hr />
|
||||
<br />
|
||||
|
||||
<div class="bottom-banner">
|
||||
<div class="creator t-center">
|
||||
Designed and developed by
|
||||
<span class="name"
|
||||
><a
|
||||
target="_blank"
|
||||
href="https://github.com/cwilvx"
|
||||
>@cwilvx</a
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.welcome-to-swing {
|
||||
p {
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-bottom: 1px $gray3 solid;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
font-size: 1.5rem;
|
||||
color: $pink;
|
||||
}
|
||||
|
||||
.bottom-banner {
|
||||
font-size: small;
|
||||
margin-top: 1rem;
|
||||
opacity: 0.74;
|
||||
|
||||
a {
|
||||
color: $pink;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -37,7 +37,6 @@
|
||||
@hideModal="hideModal"
|
||||
@setTitle="setTitle"
|
||||
/>
|
||||
<WelcomeModal v-if="modal.component == modal.options.welcome" />
|
||||
<div v-if="modal.component == modal.options.deletePlaylist">
|
||||
<ConfirmModal
|
||||
:text="'Are you sure you want to permanently delete this playlist?'"
|
||||
@@ -66,7 +65,6 @@ import { deletePlaylist as delPlaylist } from '@/requests/playlists'
|
||||
import useModalStore, { ModalOptions } from '@/stores/modal'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
import WelcomeModal from './WelcomeModal.vue'
|
||||
import AuthLogin from './modals/AuthLogin.vue'
|
||||
import ConfirmModal from './modals/ConfirmModal.vue'
|
||||
import NewPlaylist from './modals/NewPlaylist.vue'
|
||||
|
||||
@@ -3,7 +3,6 @@ import { defineStore } from "pinia";
|
||||
export enum ModalOptions {
|
||||
newPlaylist,
|
||||
updatePlaylist,
|
||||
welcome,
|
||||
deletePlaylist,
|
||||
SetIP,
|
||||
rootDirsPrompt,
|
||||
@@ -62,9 +61,6 @@ export default defineStore("newModal", {
|
||||
showEditPlaylistModal() {
|
||||
this.showModal(ModalOptions.updatePlaylist);
|
||||
},
|
||||
showWelcomeModal() {
|
||||
this.showModal(ModalOptions.welcome);
|
||||
},
|
||||
showDeletePlaylistModal(pid: number) {
|
||||
const props = {
|
||||
pid: pid,
|
||||
|
||||
Reference in New Issue
Block a user