diff --git a/assets/image/gest-user.svg b/assets/image/gest-user.svg deleted file mode 100644 index 503dc09..0000000 --- a/assets/image/gest-user.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/image/C3logo.png b/assets/images/C3logo.png similarity index 100% rename from assets/image/C3logo.png rename to assets/images/C3logo.png diff --git a/assets/image/ToyBoxlogo.png b/assets/images/ToyBoxLogo.png similarity index 100% rename from assets/image/ToyBoxlogo.png rename to assets/images/ToyBoxLogo.png diff --git a/assets/image/bg-gray.png b/assets/images/bg-gray.png similarity index 100% rename from assets/image/bg-gray.png rename to assets/images/bg-gray.png diff --git a/assets/images/guest-user.svg b/assets/images/guest-user.svg new file mode 100644 index 0000000..c15f909 --- /dev/null +++ b/assets/images/guest-user.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/components/Footer.vue b/components/Footer.vue index 8b2c702..82968c5 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -3,7 +3,7 @@
C3 logo diff --git a/components/Header.vue b/components/Header.vue index 0baa536..e63c787 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -22,7 +22,7 @@ /> ToyBox logo @@ -84,9 +84,12 @@ />
- @@ -120,10 +124,15 @@ " > - user icon --> +
@@ -262,11 +271,14 @@ diff --git a/components/commons/UserTag.vue b/components/commons/UserTag.vue index d3af95e..bd55b9e 100644 --- a/components/commons/UserTag.vue +++ b/components/commons/UserTag.vue @@ -11,7 +11,7 @@ ]" >
user banner image - +
{{ user.display_name }} diff --git a/nuxt.config.js b/nuxt.config.js index 9c988a9..91b9864 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -174,7 +174,9 @@ export default { ]).then(([users, works]) => { const urls = [] users.data.map((user) => urls.push({ route: `/users/${user.id}` })) - works.data.map((work) => urls.push({ route: `/works/${work.id}` })) + works.data.works.map((work) => + urls.push({ route: `/works/${work.id}` }) + ) return urls }) } diff --git a/pages/works/_id/index.vue b/pages/works/_id/index.vue index f9e4ed8..1b619ab 100644 --- a/pages/works/_id/index.vue +++ b/pages/works/_id/index.vue @@ -278,24 +278,12 @@
-
+
-
{{ work.title }}
+
{{ work.title }}
投稿日時: @@ -829,7 +817,36 @@ export default class Works extends Vue { } -