diff --git a/src/components/LevelDisplay.vue b/src/components/LevelDisplay.vue index b6e56ad..8138b0d 100644 --- a/src/components/LevelDisplay.vue +++ b/src/components/LevelDisplay.vue @@ -60,8 +60,8 @@ export default class LevelDisplay extends Vue { div { display: block; position: relative; - width: 1em; - height: 1em; + width: 1.2em; + height: 1.2em; margin: 0 .2em; @@ -69,13 +69,15 @@ export default class LevelDisplay extends Vue { border: .2rem solid #141619; background: #141619; - &.active { - background: #6252c6; - } } - .l1 { - margin-left: 0; - } + .l1.active { background: darken(#6252c6, 8%); } + .l2.active { background: darken(#6252c6, 6%); } + .l3.active { background: darken(#6252c6, 4%); } + .l4.active { background: darken(#6252c6, 2%); } + .l5.active { background: darken(#6252c6, 0%); } + + .l1 { margin-left: 0; } + .l5 { margin-right: 0; } } diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index c36d458..152de2a 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -23,9 +23,9 @@
- interest + {{ $t('skills.interest') }} - mastery + {{ $t('skills.mastery') }}

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

diff --git a/src/locales/en.json b/src/locales/en.json index 3e2a3a2..63734f0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -20,6 +20,8 @@ "skills.browse": "Browse projects", "skills.browse-all": "Browse all projects", "skills.guide": "You can select a skill to browse related projects. You can browse all projects by not selecting or deselecting the active skill.", + "skills.interest": "interest level", + "skills.mastery": "mastery level", "tag.all": "All", "tag.web": "Web", diff --git a/src/locales/fr.json b/src/locales/fr.json index 5c551a7..1512714 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -20,6 +20,8 @@ "skills.browse": "Parcourir les projets", "skills.browse-all": "Parcourir tous les projets", "skills.guide": "Vous pouvez sélectionner une compétence afin de parcourir les projets liés. Vous pouvez aussi parcourir tous les projets en ne sélectionnant pas de compétence.", + "skills.interest": "intérêt", + "skills.mastery": "maîtrise", "tag.all": "Tout", "tag.web": "Web",