feat: add certificates section (#9)

This commit is contained in:
Rafael Bardini 2020-12-13 13:53:20 +01:00 committed by GitHub
parent 24c82c64e8
commit f528cd6af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 9 deletions

22
package-lock.json generated
View File

@ -17,7 +17,7 @@
"husky": "4.3.0", "husky": "4.3.0",
"lint-staged": "10.5.1", "lint-staged": "10.5.1",
"prettier": "2.1.2", "prettier": "2.1.2",
"resume-schema": "0.1.3", "resume-schema": "1.0.0",
"tap": "14.10.8" "tap": "14.10.8"
} }
}, },
@ -4336,9 +4336,9 @@
} }
}, },
"node_modules/resume-schema": { "node_modules/resume-schema": {
"version": "0.1.3", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-0.1.3.tgz", "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-1.0.0.tgz",
"integrity": "sha512-fsqXx62BlWLOKfbjDNhSotXGvgyb+tkddWKECIFLHz239iKDAIv2lB/NVurngT5wqfyeQfFL8vIflU7T6MtcGw==", "integrity": "sha512-9ZEP3oO1IRrjQWTOfDq7fDNNeJp7gWqfS/l2D02f6f25nRw/wRAkpDyvIlw9uoaDARK7Ebj/CN2D/6Ht27S0zg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"z-schema": "^4.2.2" "z-schema": "^4.2.2"
@ -4843,7 +4843,13 @@
"bundleDependencies": [ "bundleDependencies": [
"ink", "ink",
"treport", "treport",
"@types/react" "@types/react",
"import-jsx",
"minipass",
"signal-exit",
"tap-parser",
"tap-yaml",
"yaml"
], ],
"dev": true, "dev": true,
"dependencies": { "dependencies": {
@ -10833,9 +10839,9 @@
} }
}, },
"resume-schema": { "resume-schema": {
"version": "0.1.3", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-0.1.3.tgz", "resolved": "https://registry.npmjs.org/resume-schema/-/resume-schema-1.0.0.tgz",
"integrity": "sha512-fsqXx62BlWLOKfbjDNhSotXGvgyb+tkddWKECIFLHz239iKDAIv2lB/NVurngT5wqfyeQfFL8vIflU7T6MtcGw==", "integrity": "sha512-9ZEP3oO1IRrjQWTOfDq7fDNNeJp7gWqfS/l2D02f6f25nRw/wRAkpDyvIlw9uoaDARK7Ebj/CN2D/6Ht27S0zg==",
"dev": true, "dev": true,
"requires": { "requires": {
"z-schema": "^4.2.2" "z-schema": "^4.2.2"

View File

@ -34,7 +34,7 @@
"husky": "4.3.0", "husky": "4.3.0",
"lint-staged": "10.5.1", "lint-staged": "10.5.1",
"prettier": "2.1.2", "prettier": "2.1.2",
"resume-schema": "0.1.3", "resume-schema": "1.0.0",
"tap": "14.10.8" "tap": "14.10.8"
} }
} }

29
partials/certificates.hbs Normal file
View File

@ -0,0 +1,29 @@
{{#if resume.certificates.length}}
<section id="certificates">
<h3>Certificates</h3>
<div class="stack">
{{#each resume.certificates}}
<article>
<header>
<div class="spaced-list">
<h4>{{name}}</h4>
{{#date}}
<time datetime="{{.}}">{{formatDate .}}</time>
{{/date}}
</div>
<div class="spaced-list">
{{#issuer}}
<span>
Issued by <strong>{{.}}</strong>
</span>
{{/issuer}}
{{#url}}
<a href="{{.}}">{{formatURL .}}</a>
{{/url}}
</div>
</header>
</article>
{{/each}}
</div>
</section>
{{/if}}

View File

@ -21,6 +21,7 @@
{{> education}} {{> education}}
{{> projects}} {{> projects}}
{{> awards}} {{> awards}}
{{> certificates}}
{{> publications}} {{> publications}}
{{> skills}} {{> skills}}
{{> languages}} {{> languages}}