Commit 3f5ae21d authored by Sébastien Chopin's avatar Sébastien Chopin

chore: Rename components to PascalCase

parent 8c64e570
<template> <template>
<li v-if="comment" class="comment"> <li v-if="comment && comment.user" class="comment">
<div class="by"> <div class="by">
<router-link :to="'/user/' + comment.user"> <router-link :to="'/user/' + comment.user">
{{ comment.user }} {{ comment.user }}
...@@ -54,10 +54,10 @@ export default { ...@@ -54,10 +54,10 @@ export default {
} }
.by { .by {
color: #828282; color: #222;
a { a {
color: #828282; color: #222;
text-decoration: underline; text-decoration: underline;
} }
} }
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
overflow-wrap: break-word; overflow-wrap: break-word;
a:hover { a:hover {
color: #ff6600; color: #111;
} }
pre { pre {
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
border-radius: 4px; border-radius: 4px;
a { a {
color: #828282; color: #222;
cursor: pointer; cursor: pointer;
} }
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
</template> </template>
<script> <script>
import Item from '~/components/item.vue' import Item from '~/components/Item.vue'
import ItemListNav from '~/components/item-list-nav.vue' import ItemListNav from '~/components/ItemListNav.vue'
import LazyWrapper from '~/components/lazy-wrapper' import LazyWrapper from '~/components/LazyWrapper'
import { feeds, validFeeds } from '~/common/api' import { feeds, validFeeds } from '~/common/api'
export default { export default {
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
</template> </template>
<script> <script>
import Comment from '~/components/comment.vue' import Comment from '~/components/Comment'
import LazyWrapper from '~/components/lazy-wrapper' import LazyWrapper from '~/components/LazyWrapper'
export default { export default {
name: 'ItemView', name: 'ItemView',
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</template> </template>
<script> <script>
import LazyWrapper from '~/components/lazy-wrapper' import LazyWrapper from '~/components/LazyWrapper'
export default { export default {
name: 'UserView', name: 'UserView',
...@@ -39,7 +39,9 @@ export default { ...@@ -39,7 +39,9 @@ export default {
}, },
head() { head() {
return this.user ? this.user.id : 'User not found' return {
title: this.user ? this.user.id : 'User not found'
}
}, },
fetch({ store, route: { params: { id } } }) { fetch({ store, route: { params: { id } } }) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment