From 0c0074ccc1a545768b2a9842988ad21ade8fdf3c Mon Sep 17 00:00:00 2001 From: valere Date: Sun, 8 Sep 2024 18:53:20 +0200 Subject: [PATCH] player can switch between compilation --- assets/css/main.css | 39 +++++ components/zero-a.vue | 25 +-- components/zero-b.vue | 20 +-- pages/index.vue | 71 +++----- public/play.svg | 38 +++++ server/api/artists.ts | 136 +++++++-------- server/api/compilations.ts | 20 +-- server/api/styles.ts | 16 +- server/api/tracks.ts | 334 ++++++++++++++++++++++++------------- 9 files changed, 419 insertions(+), 280 deletions(-) create mode 100644 public/play.svg diff --git a/assets/css/main.css b/assets/css/main.css index b5c61c9..c157f0e 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,3 +1,42 @@ @tailwind base; @tailwind components; @tailwind utilities; + +.button { + text-decoration: none; + box-shadow: 0 8px 0 0 black; + transition: all .3s; + border: 8px black solid; + line-height: 100%; + height: 70px; + width: 70px; + border-width: 2px; + border-radius: 100px; + cursor: pointer; + color: black; + font-size: 26px; + background-color: #ffffff59; +} + +.button:hover { + background-color: #fdec50ff; +} + +.button:active { + box-shadow: 0 0 0 0 black; +} + +.button--close { + right: 24px; + padding-top: 10px; + position: absolute; +} + +.button--screened { + top: 74px; +} + +.compilation { + cursor: pointer; + max-width: 420px; +} \ No newline at end of file diff --git a/components/zero-a.vue b/components/zero-a.vue index 8706f49..7c4e827 100644 --- a/components/zero-a.vue +++ b/components/zero-a.vue @@ -1,40 +1,27 @@