From f528cd6af411330e7e11efc7fef4ac22686ffe7a Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Sun, 13 Dec 2020 13:53:20 +0100 Subject: [PATCH] feat: add certificates section (#9) --- package-lock.json | 22 ++++++++++++++-------- package.json | 2 +- partials/certificates.hbs | 29 +++++++++++++++++++++++++++++ resume.hbs | 1 + 4 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 partials/certificates.hbs diff --git a/package-lock.json b/package-lock.json index 7186f1c..fc27ecb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "husky": "4.3.0", "lint-staged": "10.5.1", "prettier": "2.1.2", - "resume-schema": "0.1.3", + "resume-schema": "1.0.0", "tap": "14.10.8" } }, @@ -4336,9 +4336,9 @@ } }, "node_modules/resume-schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-0.1.3.tgz", - "integrity": "sha512-fsqXx62BlWLOKfbjDNhSotXGvgyb+tkddWKECIFLHz239iKDAIv2lB/NVurngT5wqfyeQfFL8vIflU7T6MtcGw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-1.0.0.tgz", + "integrity": "sha512-9ZEP3oO1IRrjQWTOfDq7fDNNeJp7gWqfS/l2D02f6f25nRw/wRAkpDyvIlw9uoaDARK7Ebj/CN2D/6Ht27S0zg==", "dev": true, "dependencies": { "z-schema": "^4.2.2" @@ -4843,7 +4843,13 @@ "bundleDependencies": [ "ink", "treport", - "@types/react" + "@types/react", + "import-jsx", + "minipass", + "signal-exit", + "tap-parser", + "tap-yaml", + "yaml" ], "dev": true, "dependencies": { @@ -10833,9 +10839,9 @@ } }, "resume-schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-0.1.3.tgz", - "integrity": "sha512-fsqXx62BlWLOKfbjDNhSotXGvgyb+tkddWKECIFLHz239iKDAIv2lB/NVurngT5wqfyeQfFL8vIflU7T6MtcGw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-1.0.0.tgz", + "integrity": "sha512-9ZEP3oO1IRrjQWTOfDq7fDNNeJp7gWqfS/l2D02f6f25nRw/wRAkpDyvIlw9uoaDARK7Ebj/CN2D/6Ht27S0zg==", "dev": true, "requires": { "z-schema": "^4.2.2" diff --git a/package.json b/package.json index 2caac33..eab11e4 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "husky": "4.3.0", "lint-staged": "10.5.1", "prettier": "2.1.2", - "resume-schema": "0.1.3", + "resume-schema": "1.0.0", "tap": "14.10.8" } } diff --git a/partials/certificates.hbs b/partials/certificates.hbs new file mode 100644 index 0000000..36728a7 --- /dev/null +++ b/partials/certificates.hbs @@ -0,0 +1,29 @@ +{{#if resume.certificates.length}} +
+

Certificates

+
+ {{#each resume.certificates}} +
+
+
+

{{name}}

+ {{#date}} + + {{/date}} +
+
+ {{#issuer}} + + Issued by {{.}} + + {{/issuer}} + {{#url}} + {{formatURL .}} + {{/url}} +
+
+
+ {{/each}} +
+
+{{/if}} diff --git a/resume.hbs b/resume.hbs index fc76b8f..0852bfb 100644 --- a/resume.hbs +++ b/resume.hbs @@ -21,6 +21,7 @@ {{> education}} {{> projects}} {{> awards}} + {{> certificates}} {{> publications}} {{> skills}} {{> languages}}