diff --git a/app.vue b/app.vue
index ea4ef5c..8f56ebd 100644
--- a/app.vue
+++ b/app.vue
@@ -1,3 +1,11 @@
-
+
+
+
diff --git a/assets/css/main.css b/assets/css/main.css
index c157f0e..af5822c 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -26,12 +26,6 @@
box-shadow: 0 0 0 0 black;
}
-.button--close {
- right: 24px;
- padding-top: 10px;
- position: absolute;
-}
-
.button--screened {
top: 74px;
}
diff --git a/components/compilationObject.vue b/components/compilationObject.vue
new file mode 100644
index 0000000..bb00189
--- /dev/null
+++ b/components/compilationObject.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/compilations-list.vue b/components/compilations-list.vue
new file mode 100644
index 0000000..d65c2d8
--- /dev/null
+++ b/components/compilations-list.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
diff --git a/components/zero-a.vue b/components/zero-a.vue
deleted file mode 100644
index 7c4e827..0000000
--- a/components/zero-a.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 326fae5..fceb3ae 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -1,5 +1,6 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
+ ssr: true,
devtools: { enabled: true },
css: ['~/assets/css/main.css'],
@@ -7,6 +8,7 @@ export default defineNuxtConfig({
plugins: {
tailwindcss: {},
autoprefixer: {},
+
},
},
@@ -17,5 +19,6 @@ export default defineNuxtConfig({
}
},
- compatibilityDate: '2024-07-10'
-})
+ compatibilityDate: '2024-07-10',
+ modules: ['@pinia/nuxt']
+})
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 987bae2..a8dc842 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,8 +7,10 @@
"name": "nuxt-app",
"hasInstallScript": true,
"dependencies": {
+ "@pinia/nuxt": "^0.5.5",
"atropos": "^2.0.2",
"nuxt": "^3.12.3",
+ "pinia": "^2.2.4",
"unhead": "^1.9.15",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
@@ -1153,6 +1155,18 @@
"node": ">=0.10"
}
},
+ "node_modules/@pinia/nuxt": {
+ "version": "0.5.5",
+ "resolved": "https://registry.npmjs.org/@pinia/nuxt/-/nuxt-0.5.5.tgz",
+ "integrity": "sha512-wjxS7YqIesh4OLK+qE3ZjhdOJ5pYZQ+VlEmZNtTwzQn1Kavei/khovx7mzXVXNA/mvSPXVhb9xBzhyS3XMURtw==",
+ "dependencies": {
+ "@nuxt/kit": "^3.9.0",
+ "pinia": "^2.2.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/posva"
+ }
+ },
"node_modules/@pkgjs/parseargs": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
@@ -5391,6 +5405,56 @@
"node": ">=0.10.0"
}
},
+ "node_modules/pinia": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.2.4.tgz",
+ "integrity": "sha512-K7ZhpMY9iJ9ShTC0cR2+PnxdQRuwVIsXDO/WIEV/RnMC/vmSoKDTKW/exNQYPI+4ij10UjXqdNiEHwn47McANQ==",
+ "dependencies": {
+ "@vue/devtools-api": "^6.6.3",
+ "vue-demi": "^0.14.10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/posva"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.4.0",
+ "typescript": ">=4.4.4",
+ "vue": "^2.6.14 || ^3.3.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pinia/node_modules/vue-demi": {
+ "version": "0.14.10",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz",
+ "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
"node_modules/pirates": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
diff --git a/package.json b/package.json
index 48db45f..3a951fc 100644
--- a/package.json
+++ b/package.json
@@ -10,8 +10,10 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
+ "@pinia/nuxt": "^0.5.5",
"atropos": "^2.0.2",
"nuxt": "^3.12.3",
+ "pinia": "^2.2.4",
"unhead": "^1.9.15",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
diff --git a/pages/about.vue b/pages/about.vue
index fada1b0..e4b898f 100644
--- a/pages/about.vue
+++ b/pages/about.vue
@@ -133,6 +133,5 @@ img {
pre {
white-space: pre-line;
font-family: sans-serif;
- @apply text-xl;
}
-
\ No newline at end of file
+
diff --git a/pages/atropos.vue b/pages/atropos.vue
deleted file mode 100644
index 2566a61..0000000
--- a/pages/atropos.vue
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/pages/compilations/[id].vue b/pages/compilations/[id].vue
new file mode 100644
index 0000000..58264f7
--- /dev/null
+++ b/pages/compilations/[id].vue
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+ {{ currentTrack.title }}
+
+
+ {{ store.getArtistById(currentTrack.artist).name }}
+
+
+ {{ compilation.name }}
+
+
+
+
+
+ see artist page:
+
+ {{ store.getArtistById(currentTrack.artist).name }}
+
+ purchase the track:
+
+ {{ currentTrack.title }}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index.vue b/pages/index.vue
index 5e95382..8098af6 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -3,7 +3,7 @@
@@ -105,106 +36,21 @@
-