From bbd69843cfa5640b4498858b25514c8022593f47 Mon Sep 17 00:00:00 2001 From: NuclearRedeye Date: Wed, 12 Jun 2024 21:51:45 +0100 Subject: [PATCH] refactor: update languages and interests sections --- src/partials/interests.hbs | 21 --------------------- src/partials/languages.hbs | 13 ------------- src/partials/meta.hbs | 33 +++++++++++++++++++++++++++++++++ src/resume.hbs | 3 +-- src/style.css | 1 + 5 files changed, 35 insertions(+), 36 deletions(-) delete mode 100644 src/partials/interests.hbs delete mode 100644 src/partials/languages.hbs create mode 100644 src/partials/meta.hbs diff --git a/src/partials/interests.hbs b/src/partials/interests.hbs deleted file mode 100644 index 8ae9cfa..0000000 --- a/src/partials/interests.hbs +++ /dev/null @@ -1,21 +0,0 @@ -{{#if resume.interests.length}} -
- {{> section-heading value="Interests"}} - - {{#each resume.interests}} -
- {{#if name}} -

{{name}}

- {{/if}} - {{#if keywords.length}} -
    - {{#each keywords}} -
  • {{.}}
  • - {{/each}} -
- {{/if}} -
- {{/each}} - -
-{{/if}} \ No newline at end of file diff --git a/src/partials/languages.hbs b/src/partials/languages.hbs deleted file mode 100644 index 5a8e4f2..0000000 --- a/src/partials/languages.hbs +++ /dev/null @@ -1,13 +0,0 @@ -{{#if resume.languages.length}} -
- {{> section-heading value="Languages"}} - - - -{{/if}} \ No newline at end of file diff --git a/src/partials/meta.hbs b/src/partials/meta.hbs new file mode 100644 index 0000000..7aba0be --- /dev/null +++ b/src/partials/meta.hbs @@ -0,0 +1,33 @@ +{{#if resume.interests.length}} +
+ {{> section-heading icon="asterisk" value="Meta"}} +
+ {{#if resume.languages.length}} +
+

Languages

+
+
+ {{#each resume.languages}} +
+ {{language}} + {{#if fluency}} + ({{fluency}}) + {{/if}} +
+ {{/each}} +
+ {{/if}} + + {{#if resume.interests.length}} +
+

Interests

+
+
+ {{#each resume.interests}} +
{{name}}
+ {{/each}} +
+ {{/if}} +
+
+{{/if}} \ No newline at end of file diff --git a/src/resume.hbs b/src/resume.hbs index 4965d9d..6efb5e4 100644 --- a/src/resume.hbs +++ b/src/resume.hbs @@ -18,10 +18,9 @@ {{> work }} {{> education }} {{> references }} + {{> meta }}