mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add now playing card settings
+ move left sidebar to separate component
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
<template>
|
||||
<div
|
||||
class="switch rounded"
|
||||
@click="toggled = !toggled"
|
||||
:class="{ toggled: toggled }"
|
||||
>
|
||||
<div class="switch rounded" :class="{ toggled: state }">
|
||||
<div class="circle circular"></div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -11,7 +7,9 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
|
||||
const toggled = ref(false);
|
||||
defineProps<{
|
||||
state: boolean;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user