diff --git a/components/ModPage.vue b/components/ModPage.vue new file mode 100644 index 00000000..79b7e74c --- /dev/null +++ b/components/ModPage.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/nuxt.config.js b/nuxt.config.js index 415fbb79..36a44df3 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -45,30 +45,6 @@ export default { name: 'og:image', content: 'https://cdn.modrinth.com/modrinth.png', }, - - // Twitter - { - hid: 'twitter:card', - name: 'twitter:card', - content: 'summary', - }, - { hid: 'twitter:site', name: 'twitter:site', content: '@modrinth' }, - { hid: 'twitter:creator', name: 'twitter:creator', content: '@modrinth' }, - { - hid: 'twitter:title', - name: 'twitter:title', - content: 'Modrinth', - }, - { - hid: 'twitter:description', - name: 'twitter:description', - content: 'An open source modding platform', - }, - { - hid: 'twitter:image', - name: 'twitter:image', - content: 'https://cdn.modrinth.com/modrinth.png', - }, ], link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, diff --git a/pages/dashboard/projects.vue b/pages/dashboard/projects.vue index a9ade23c..96614c25 100644 --- a/pages/dashboard/projects.vue +++ b/pages/dashboard/projects.vue @@ -24,7 +24,11 @@ - {{ mod.title }} + + + {{ mod.title }} + + Owner @@ -80,7 +84,7 @@ export default { } - diff --git a/pages/mod/_id/version/_version.vue b/pages/mod/_id/version/_version.vue new file mode 100644 index 00000000..6ab2a5b6 --- /dev/null +++ b/pages/mod/_id/version/_version.vue @@ -0,0 +1,96 @@ + + + + diff --git a/pages/mod/_id/versions.vue b/pages/mod/_id/versions.vue index e69de29b..a2d7212c 100644 --- a/pages/mod/_id/versions.vue +++ b/pages/mod/_id/versions.vue @@ -0,0 +1,212 @@ + + + + diff --git a/pages/mods.vue b/pages/mods.vue index bed6ea57..85bd714c 100644 --- a/pages/mods.vue +++ b/pages/mods.vue @@ -395,7 +395,7 @@ export default { if (this.selectedVersions.length > 0) { const versionFacets = [] for (const facet of this.selectedVersions) { - versionFacets.push('versions:' + facet) + versionFacets.push('version:' + facet) } formattedFacets.push(versionFacets) }