From 1406eb91668755afb1f8138d62a3668ce8ff5628 Mon Sep 17 00:00:00 2001 From: Troplo Date: Sat, 5 Feb 2022 21:28:05 +1100 Subject: [PATCH] update --- package.json | 2 +- public/index.html | 4 +-- public/robots.txt | 2 -- src/components/Header.vue | 8 +++-- src/views/Projects.vue | 69 ++++++++++++++++++++------------------- vue.config.js | 2 +- 6 files changed, 45 insertions(+), 42 deletions(-) delete mode 100644 public/robots.txt diff --git a/package.json b/package.json index 131d168..f6d3251 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build --no-clean", + "build": "vue-cli-service build", "lint": "vue-cli-service lint", "postinstall": "patch-package" }, diff --git a/public/index.html b/public/index.html index 351665d..5917f8a 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ - <%= htmlWebpackPlugin.options.title %> + Troplo's Website @@ -14,7 +14,7 @@
diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index eb05362..0000000 --- a/public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: diff --git a/src/components/Header.vue b/src/components/Header.vue index c23e6d3..478bc69 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -19,7 +19,7 @@ :key="item.id" class="ml-1" :to="item.path" - style="text-transform: unset !important;" + style="text-transform: unset !important" :disabled="item.disabled" > {{ item.title }} @@ -57,7 +57,11 @@ {{ item.title }} - + {{ $vuetify.theme.dark ? "mdi-lightbulb-on" : "mdi-lightbulb-outline" diff --git a/src/views/Projects.vue b/src/views/Projects.vue index 6e53a7c..0406184 100644 --- a/src/views/Projects.vue +++ b/src/views/Projects.vue @@ -10,7 +10,9 @@ {{ project.name }} - {{ project.description }} + {{ + project.description + }} @@ -20,12 +22,12 @@ {{ tag.icon }} @@ -38,11 +40,11 @@ {{ link.name }} @@ -86,7 +88,7 @@ export default { } ], description: - "A 3D sandbox game, and social avatar platform written in Express and Vue.js.", + "A 3D sandbox game, and social avatar platform written in Express and Vue.js.", visible: true, links: [] }, @@ -116,7 +118,7 @@ export default { } ], description: - "An invite only file uploading service written in Express and Vue.js.", + "An invite only file uploading service written in Express and Vue.js.", visible: true, links: [ { @@ -191,7 +193,7 @@ export default { } ], description: - "Helping create the brand new website for Polytoria, a 3D sandbox platform.", + "Helping create the brand new website for Polytoria, a 3D sandbox platform.", visible: true, links: [ { @@ -232,7 +234,7 @@ export default { } ], description: - "Open source file hosting service which aims to be performant, and modular.\nName not finalized.", + "Open source file hosting service which aims to be performant, and modular.\nName not finalized.", visible: true, links: {} }, @@ -276,8 +278,7 @@ export default { link: "https://vuejs.org" } ], - description: - "The website you are viewing right now.", + description: "The website you are viewing right now.", visible: true, links: [ { @@ -325,24 +326,24 @@ export default { visible: true, links: [] } - ] - } -}, -computed: { - getVisible() { - return this.projects.filter((i) => i.visible) - } -}, -methods: { - getImage(image) { - try { - return require("../assets/images/" + image + ".png") - } catch { - return ( + ] + } + }, + computed: { + getVisible() { + return this.projects.filter((i) => i.visible) + } + }, + methods: { + getImage(image) { + try { + return require("../assets/images/" + image + ".png") + } catch { + return ( "https://dummyimage.com/1920x1080/151515/ffffff.png&text=" + image - ) + ) + } } } } -} diff --git a/vue.config.js b/vue.config.js index 7395c63..1171610 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,5 +34,5 @@ module.exports = { } }) ] - }, + } }