From d4e9d1449abf6a58099c817a880b584b5bd2b7b3 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 22 Nov 2022 13:16:31 +0100 Subject: [PATCH] feat: add interest and mastery levels to skills --- src/components/LevelDisplay.vue | 5 +- src/components/SkillPicker.vue | 46 +++++++-- src/model/level.ts | 8 ++ src/model/projects.ts | 16 ++-- src/model/skills.ts | 165 +++++++++++++++++++++++++------- 5 files changed, 190 insertions(+), 50 deletions(-) create mode 100644 src/model/level.ts diff --git a/src/components/LevelDisplay.vue b/src/components/LevelDisplay.vue index bf21f59..b6e56ad 100644 --- a/src/components/LevelDisplay.vue +++ b/src/components/LevelDisplay.vue @@ -60,12 +60,13 @@ export default class LevelDisplay extends Vue { div { display: block; position: relative; - width: .8em; - height: .8em; + width: 1em; + height: 1em; margin: 0 .2em; border-radius: 50%; + border: .2rem solid #141619; background: #141619; &.active { diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index 56676a7..c36d458 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -22,7 +22,11 @@
- +
+ interest + + mastery +

{{ $t('skills.featured-before') }} {{ details.projects.length }} {{ details.projects.length > 1 ? $t('skills.featured-after-n') : $t('skills.featured-after-1') }}

@@ -54,6 +58,7 @@