mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2025-05-14 05:55:17 +00:00
Add websites section
This commit is contained in:
parent
7a6e54e1c3
commit
a6c6275af3
3 changed files with 29 additions and 0 deletions
10
assets/scss/components/_websites.scss
Normal file
10
assets/scss/components/_websites.scss
Normal file
|
@ -0,0 +1,10 @@
|
|||
.websites {
|
||||
li {
|
||||
margin-bottom: 1.6rem;
|
||||
}
|
||||
&__link {
|
||||
text-decoration: none;
|
||||
color: $color-dark;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
|
@ -38,5 +38,6 @@ $pages: {{ .Site.Params.pages | default 1}} !default;
|
|||
@import "components/certifications";
|
||||
@import "components/travel";
|
||||
@import "components/projects";
|
||||
@import "components/websites";
|
||||
|
||||
@import "custom";
|
||||
|
|
18
layouts/partials/_websites.html
Normal file
18
layouts/partials/_websites.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ if .Projects }}
|
||||
<div class="sideSection">
|
||||
<div class="sideSection__heading">
|
||||
<h2 class="sideSection__title">Websites</h2>
|
||||
</div>
|
||||
<div class="sideSection__content">
|
||||
<ul class="websites">
|
||||
{{ range .Projects }}
|
||||
<li class="flex-container">
|
||||
<div class="flex-item"><h3>{{ .Name }}</h3></div>
|
||||
<div class="flex-item"><a class="websites__link" href="https://{{.Url}}">{{ .Url }}</a></div>
|
||||
<div class="flex-item">{{ .Description }}</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue