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",
"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"

View File

@ -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"
}
}

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}}
{{> projects}}
{{> awards}}
{{> certificates}}
{{> publications}}
{{> skills}}
{{> languages}}