Split experiences into single project or multiproject

The idea is try to follow the Linkedin approach for one vs multiple projects visualisation. 
Also removed the link from company to avoid useless clickout
This commit is contained in:
Pau Trepat Segura 2020-06-21 20:01:14 +02:00
parent ef7d0fe108
commit f065c81cb5
3 changed files with 34 additions and 14 deletions

View file

@ -1,14 +1,6 @@
<div class="col-10 col-lg-8">
<div class="experience-entry-heading">
<h5>{{ .designation }}</h5>
<h6><a href="{{ .company.url }}">{{ .company.name }}</a></h6>
<p class="text-muted">{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}</p>
</div>
<p>{{ .company.overview | markdownify }}</p>
<h6 class="text-muted">Responsibilities:</h6>
<ul class="justify-content-around">
{{ range .responsibilities }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
</div>
{{ if .projects }}
{{ partial "experiences/info/multiple-projects.html" . }}
{{ else }}
{{ partial "experiences/info/one-project.html" . }}
{{ end }}

View file

@ -0,0 +1,14 @@
<div class="col-10 col-lg-8">
<div class="experience-entry-heading">
<h5>{{ .company.name }}</h5>
<h6>{{ .designation }}</h6>
<p class="text-muted">{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}</p>
</div>
<p>{{ .company.overview | markdownify }}</p>
<h6 class="text-muted">Responsibilities:</h6>
<ul class="justify-content-around">
{{ range .responsibilities }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
</div>

View file

@ -0,0 +1,14 @@
<div class="col-10 col-lg-8">
<div class="experience-entry-heading">
<h5>{{ .company.name }}</h5>
<h6>{{ if .designation }} {{ .designation }} {{end}}</h6>
<p class="text-muted">{{ .start }} - {{ .end }} , {{ .company.location }}</p>
</div>
<p>{{ .company.overview | markdownify }}</p>
<h6 class="text-muted">Responsibilities:</h6>
<ul class="justify-content-around">
{{ range .responsibilities }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
</div>