From d7317805787c71a4cc5be99f29c72358742e1944 Mon Sep 17 00:00:00 2001 From: Troplo Date: Sun, 6 Feb 2022 18:22:18 +1100 Subject: [PATCH] update --- package.json | 2 +- src/assets/icons/crystal_icon.svg | 16 ++++++++++++++++ src/views/Projects.vue | 26 +++++++++++++++----------- 3 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 src/assets/icons/crystal_icon.svg diff --git a/package.json b/package.json index f6d3251..4d53f40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "troplo-site", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/assets/icons/crystal_icon.svg b/src/assets/icons/crystal_icon.svg new file mode 100644 index 0000000..8ec60f8 --- /dev/null +++ b/src/assets/icons/crystal_icon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/src/views/Projects.vue b/src/views/Projects.vue index 0406184..6aaea7c 100644 --- a/src/views/Projects.vue +++ b/src/views/Projects.vue @@ -26,11 +26,13 @@ :key="tag.id" :href="tag.link" :color="tag.color" - disabled + :disabled="!tag.link" + :text-color="tag.textColor || 'white'" style="opacity: 1" > - {{ tag.icon }} + + {{ tag.icon }} + {{ tag.name }} @@ -129,7 +131,7 @@ export default { }, { id: 3, - name: "Pinnoto Mira", + name: "Mira", internalName: "mira", tags: [ { @@ -152,9 +154,10 @@ export default { }, { internalName: "crystal", - color: "black", + color: "white", + textColor: "black", name: "Crystal", - icon: "mdi-language-ruby", + icon: "crystal", link: "https://crystal-lang.org" } ], @@ -204,7 +207,7 @@ export default { }, { id: 5, - name: "Pinnoto Berri", + name: "Berri", internalName: "berri", tags: [ { @@ -227,9 +230,10 @@ export default { }, { internalName: "crystal", - color: "black", + color: "white", name: "Crystal", - icon: "mdi-language-ruby", + textColor: "black", + icon: "crystal", link: "https://crystal-lang.org" } ], @@ -256,7 +260,7 @@ export default { }, { id: 7, - name: "Troplo Website", + name: "Troplo's Website", internalName: "troplo-website", tags: [ { @@ -293,7 +297,7 @@ export default { }, { id: 8, - name: "Pinnoto Psittacus", + name: "Psittacus", internalName: "psittacus", tags: [ {