Basic info about projects but no pages yet
This commit is contained in:
parent
df00d067bf
commit
1edf0fbfff
6 changed files with 71 additions and 23 deletions
|
@ -15,20 +15,9 @@
|
|||
<div class="container timeline text-justify">
|
||||
{{ $totalExperiences:= len .experiences }}
|
||||
{{ range $index,$experience:= .experiences }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="row align-items-center d-flex">
|
||||
{{ partial "sections/experiences/vertical-line.html" $index }}
|
||||
{{ partial "sections/experiences/positions.html" $experience }}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="row align-items-center justify-content-end d-flex">
|
||||
{{ partial "sections/experiences/positions.html" $experience }}
|
||||
{{ partial "sections/experiences/vertical-line.html" $index }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if lt $index (sub $totalExperiences 1) }}
|
||||
{{ partial "sections/experiences/horizontal-line.html" $index }}
|
||||
{{ end }}
|
||||
<div class="row align-items-center justify-content-start d-flex">
|
||||
{{ partial "sections/experiences/positions.html" $experience }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
{{ $mostRecentPosition := index (first 1 .positions) 0}}
|
||||
<div class="company-heading">
|
||||
<h5>{{ if .company.url }}<a href={{.company.url}} title="{{ .company.name }}" target="_blank" rel="noopener">{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h5>
|
||||
<p class="text-muted">
|
||||
<!-- <p class="text-muted">
|
||||
{{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }}
|
||||
</p>
|
||||
</p> -->
|
||||
</div>
|
||||
<p class="text-muted">
|
||||
<i class="fa-solid fa-location-dot"></i> {{ .company.location }}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<h1 class="text-center" style="display: none">
|
||||
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
|
||||
{{ end }}
|
||||
<div class="container ms-auto text-center">
|
||||
<!-- <div class="container ms-auto text-center">
|
||||
<div class="btn-group flex-wrap" role="group" id="project-filter-buttons">
|
||||
{{ range .buttons }}
|
||||
<button type="button" class="btn btn-dark project-filtr-control" data-filter="{{ .filter }}">
|
||||
|
@ -19,7 +19,7 @@
|
|||
</button>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="container filtr-projects">
|
||||
<div class="row" id="project-card-holder">
|
||||
{{ range .projects }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue