mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2025-05-17 23:34:11 +00:00
Merge pull request #1 from matthh9797/add_certificates_section
Add certifications to side bar
This commit is contained in:
commit
09d9001f67
4 changed files with 41 additions and 0 deletions
23
assets/scss/components/_certificates.scss
Normal file
23
assets/scss/components/_certificates.scss
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
.certificates {
|
||||||
|
line-height: 2rem;
|
||||||
|
|
||||||
|
&__item {
|
||||||
|
position: relative;
|
||||||
|
font-size: 1rem;
|
||||||
|
|
||||||
|
& > img {
|
||||||
|
width: 3rem;
|
||||||
|
height: 3rem;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
& > span {
|
||||||
|
@include vt-center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&__link {
|
||||||
|
text-decoration: none;
|
||||||
|
color: $color-dark;
|
||||||
|
}
|
||||||
|
}
|
|
@ -35,5 +35,6 @@ $pages: {{ .Site.Params.pages | default 1}} !default;
|
||||||
@import "components/languages";
|
@import "components/languages";
|
||||||
@import "components/interests";
|
@import "components/interests";
|
||||||
@import "components/404";
|
@import "components/404";
|
||||||
|
@import "components/certificates";
|
||||||
|
|
||||||
@import "custom";
|
@import "custom";
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
{{ partial "_avatar.html" $data }}
|
{{ partial "_avatar.html" $data }}
|
||||||
{{ partial "_contacts.html" $data }}
|
{{ partial "_contacts.html" $data }}
|
||||||
{{ partial "_skills.html" $data }}
|
{{ partial "_skills.html" $data }}
|
||||||
|
{{ partial "_certificates.html" $data }}
|
||||||
{{ partial "_languages.html" $data }}
|
{{ partial "_languages.html" $data }}
|
||||||
{{ partial "_diplomas.html" $data }}
|
{{ partial "_diplomas.html" $data }}
|
||||||
{{ partial "_interests.html" $data }}
|
{{ partial "_interests.html" $data }}
|
||||||
|
|
16
layouts/partials/_certificates.html
Normal file
16
layouts/partials/_certificates.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{{ if .Certificates }}
|
||||||
|
<div class="sideSection">
|
||||||
|
<div class="sideSection__heading">
|
||||||
|
<h2 class="sideSection__title">Certifications</h2>
|
||||||
|
</div>
|
||||||
|
<div class="sideSection certificates">
|
||||||
|
<ul>
|
||||||
|
{{ range .Certificates }}
|
||||||
|
<li class="certificates__item">
|
||||||
|
<img src="{{ .Badge }}"> <span>{{ .Name | safeHTML }}</span>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue