diff --git a/.env b/.env deleted file mode 100755 index feb99fb..0000000 --- a/.env +++ /dev/null @@ -1,3 +0,0 @@ -DOMAIN="evilspins.com" -PORT="7901" -PORT_EXPOSED="3000" diff --git a/.vscode/settings.json b/.vscode/settings.json index ee214f9..ee9373a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,6 @@ "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" - } + }, + "eslint.useFlatConfig": true } diff --git a/app/app.vue b/app/app.vue index e8947b9..a605268 100644 --- a/app/app.vue +++ b/app/app.vue @@ -14,7 +14,6 @@ import { watch, computed } from 'vue' const ui = useUiStore() const player = usePlayerStore() -const { $isMobile } = useNuxtApp() useHead({ bodyAttrs: { class: 'bg-slate-100' @@ -45,7 +44,7 @@ const selectedBoxId = computed(() => ui.getSelectedBox?.id) watch( () => selectedBoxId.value, (id) => { - if (process.client) { + if (import.meta.client) { if (!id) { // Back to root path without navigation to preserve UI state/animations if (location.pathname.startsWith('/box/')) { @@ -53,7 +52,9 @@ watch( } return } - const currentId = location.pathname.startsWith('/box/') ? location.pathname.split('/').pop() : null + const currentId = location.pathname.startsWith('/box/') + ? location.pathname.split('/').pop() + : null if (currentId === id) return requestAnimationFrame(() => { history.replaceState(null, '', `/box/${id}`) @@ -67,14 +68,23 @@ watch( \ No newline at end of file + +* { + user-select: none; +} + +img { + user-drag: none; + user-select: none; +} + diff --git a/app/components/box.vue b/app/components/Box.vue similarity index 85% rename from app/components/box.vue rename to app/components/Box.vue index 8801cc9..d8b9c9c 100644 --- a/app/components/box.vue +++ b/app/components/Box.vue @@ -2,19 +2,19 @@
- +
  • - - {{ track.order }}. - + {{ track.order }}.

    {{ track.title }} -
    {{ track.artist.name }} + +
    + {{ track.artist.name }}

  • @@ -22,15 +22,13 @@
    @@ -43,12 +41,14 @@ diff --git a/app/components/card.vue b/app/components/Card.vue similarity index 50% rename from app/components/card.vue rename to app/components/Card.vue index 8fa21e3..da545cc 100644 --- a/app/components/card.vue +++ b/app/components/Card.vue @@ -1,12 +1,24 @@ \ No newline at end of file + diff --git a/app/components/Deck.vue b/app/components/Deck.vue new file mode 100644 index 0000000..e8225df --- /dev/null +++ b/app/components/Deck.vue @@ -0,0 +1,65 @@ + + + diff --git a/app/components/Loader.vue b/app/components/Loader.vue index 96c67f2..515b927 100644 --- a/app/components/Loader.vue +++ b/app/components/Loader.vue @@ -1,8 +1,8 @@ diff --git a/app/components/Logo.vue b/app/components/Logo.vue new file mode 100644 index 0000000..7be3b77 --- /dev/null +++ b/app/components/Logo.vue @@ -0,0 +1,6 @@ + diff --git a/app/components/Newsletter.vue b/app/components/Newsletter.vue new file mode 100644 index 0000000..711b259 --- /dev/null +++ b/app/components/Newsletter.vue @@ -0,0 +1,11 @@ + diff --git a/app/components/PlayButton.vue b/app/components/PlayButton.vue new file mode 100644 index 0000000..6305d3d --- /dev/null +++ b/app/components/PlayButton.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/app/components/player.vue b/app/components/Player.vue similarity index 52% rename from app/components/player.vue rename to app/components/Player.vue index 8e0f3d7..d24460f 100644 --- a/app/components/player.vue +++ b/app/components/Player.vue @@ -1,9 +1,16 @@