From 60345a5f263374eba71012598667c8f017beb2bd Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Oct 2022 11:39:39 +0200 Subject: [PATCH] feat: create the skill details section --- src/components/SkillPicker.vue | 213 +++++++++++++++++++++++---------- src/components/Timeline.vue | 3 +- src/model/skills.ts | 48 +++++++- 3 files changed, 199 insertions(+), 65 deletions(-) diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index 586bb1a..ecc4393 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -6,9 +6,8 @@
@@ -16,13 +15,28 @@
+
+ +

+

Featured in {{ details.projects.length }} {{ details.projects.length > 1 ? 'projects' : 'project' }}

+

+ +

+

+
+ @@ -33,7 +47,17 @@ @@ -177,9 +191,10 @@ } .categories { + flex: 20em 0 0; + display: flex; height: 100%; - width: 20em; flex-flow: column nowrap; align-items: flex-start; @@ -194,9 +209,10 @@ } .skills { + flex: 20em 0 0; + display: flex; height: 100%; - width: 20em; flex-flow: column nowrap; align-items: flex-start; @@ -210,6 +226,77 @@ } } + .details { + flex: auto; + + display: flex; + height: 100%; + + margin: auto; + + flex-flow: column nowrap; + align-items: center; + justify-content: flex-start; + + img { + display: block; + flex: 8em 0 0; + } + + h1 { + font-size: 4em; + color: #cacaca; + + i { display: none; } + } + + h2 { + margin-top: .3em; + + font-size: 1.8em; + color: #616c7c; + font-weight: 400; + + b { color: #fff; } + } + + h3 { + margin-top: .8em; + + font-size: 1.3em; + font-weight: 400; + color: #616c7c; + + & > span:last-child { + display: none; + } + } + + p { + + flex: auto 0 1; + + display: block; + position: relative; + margin: 0 2em; + margin-top: 2em; + margin-bottom: 4rem; + + font-size: 1.7em; + font-weight: 500; + color: #c1c1c1; + padding: 1em; + + background: #323841; + border: .1rem solid #45454b; + border-radius: .4em / .4em; + + overflow: hidden; + overflow-y: auto; + } + + } + input { display: block; position: absolute; diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 92dd003..02f186e 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -5,7 +5,8 @@