fix: reorder page 2 sections to Awards → Personal Projects → Courses
Changed section order on page 2 from: Courses → Projects → Awards To the requested order: Awards → Personal Projects → Courses
This commit is contained in:
+39
-39
@@ -157,35 +157,26 @@
|
||||
<div class="page-content">
|
||||
<!-- Main Content Area - Page 2 -->
|
||||
<main class="cv-main">
|
||||
<!-- Courses Section -->
|
||||
{{if .CV.Courses}}
|
||||
<section id="courses" class="cv-section">
|
||||
<!-- Awards Section -->
|
||||
{{if .CV.Awards}}
|
||||
<section id="awards" class="cv-section">
|
||||
<h3 class="section-title">
|
||||
<iconify-icon icon="mdi:school" width="24" height="24" class="section-icon"></iconify-icon>
|
||||
{{if eq .Lang "es"}}Cursos Realizados{{else}}Courses{{end}}
|
||||
<iconify-icon icon="mdi:trophy" width="24" height="24" class="section-icon"></iconify-icon>
|
||||
{{if eq .Lang "es"}}Premios y Reconocimientos{{else}}Awards{{end}}
|
||||
</h3>
|
||||
{{range .CV.Courses}}
|
||||
<div class="course-item">
|
||||
<div class="course-icon">
|
||||
<iconify-icon icon="mdi:school" width="80" height="80" class="default-course-icon"></iconify-icon>
|
||||
{{range .CV.Awards}}
|
||||
<div class="award-item">
|
||||
{{if .AwardLogo}}
|
||||
<div class="award-logo">
|
||||
<img src="/static/images/companies/{{.AwardLogo}}" alt="{{.Title}} logo" onerror="this.parentElement.innerHTML='<iconify-icon icon=\'mdi:trophy\' width=\'60\' height=\'60\' class=\'default-award-icon\'></iconify-icon>'">
|
||||
</div>
|
||||
<div class="course-content">
|
||||
<div class="course-header">
|
||||
<h4 class="course-title">
|
||||
<span class="course-title-text">{{.Title}}</span>
|
||||
<span class="course-institution">{{.Institution}}</span>
|
||||
</h4>
|
||||
<span class="course-period">{{.Date}}</span>
|
||||
{{if .Duration}}
|
||||
<span class="course-separator"> - </span>
|
||||
<span class="course-duration">{{.Duration}}</span>
|
||||
{{end}}
|
||||
<span class="course-separator"> - </span>
|
||||
<span class="course-location">({{.Location}})</span>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="award-content">
|
||||
<strong>{{.Title}}</strong><br>
|
||||
<small>{{.Issuer}} - {{.Date}}</small>
|
||||
|
||||
{{if .ShortDescription}}
|
||||
<p class="course-desc short-desc">{{.ShortDescription | safeHTML}}</p>
|
||||
<p class="award-desc short-desc">{{.ShortDescription | safeHTML}}</p>
|
||||
{{end}}
|
||||
|
||||
{{if .Responsibilities}}
|
||||
@@ -268,26 +259,35 @@
|
||||
</section>
|
||||
{{end}}
|
||||
|
||||
<!-- Awards Section -->
|
||||
{{if .CV.Awards}}
|
||||
<section id="awards" class="cv-section">
|
||||
<!-- Courses Section -->
|
||||
{{if .CV.Courses}}
|
||||
<section id="courses" class="cv-section">
|
||||
<h3 class="section-title">
|
||||
<iconify-icon icon="mdi:trophy" width="24" height="24" class="section-icon"></iconify-icon>
|
||||
{{if eq .Lang "es"}}Premios y Reconocimientos{{else}}Awards{{end}}
|
||||
<iconify-icon icon="mdi:school" width="24" height="24" class="section-icon"></iconify-icon>
|
||||
{{if eq .Lang "es"}}Cursos Realizados{{else}}Courses{{end}}
|
||||
</h3>
|
||||
{{range .CV.Awards}}
|
||||
<div class="award-item">
|
||||
{{if .AwardLogo}}
|
||||
<div class="award-logo">
|
||||
<img src="/static/images/companies/{{.AwardLogo}}" alt="{{.Title}} logo" onerror="this.parentElement.innerHTML='<iconify-icon icon=\'mdi:trophy\' width=\'60\' height=\'60\' class=\'default-award-icon\'></iconify-icon>'">
|
||||
{{range .CV.Courses}}
|
||||
<div class="course-item">
|
||||
<div class="course-icon">
|
||||
<iconify-icon icon="mdi:school" width="80" height="80" class="default-course-icon"></iconify-icon>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="award-content">
|
||||
<strong>{{.Title}}</strong><br>
|
||||
<small>{{.Issuer}} - {{.Date}}</small>
|
||||
<div class="course-content">
|
||||
<div class="course-header">
|
||||
<h4 class="course-title">
|
||||
<span class="course-title-text">{{.Title}}</span>
|
||||
<span class="course-institution">{{.Institution}}</span>
|
||||
</h4>
|
||||
<span class="course-period">{{.Date}}</span>
|
||||
{{if .Duration}}
|
||||
<span class="course-separator"> - </span>
|
||||
<span class="course-duration">{{.Duration}}</span>
|
||||
{{end}}
|
||||
<span class="course-separator"> - </span>
|
||||
<span class="course-location">({{.Location}})</span>
|
||||
</div>
|
||||
|
||||
{{if .ShortDescription}}
|
||||
<p class="award-desc short-desc">{{.ShortDescription | safeHTML}}</p>
|
||||
<p class="course-desc short-desc">{{.ShortDescription | safeHTML}}</p>
|
||||
{{end}}
|
||||
|
||||
{{if .Responsibilities}}
|
||||
|
||||
Reference in New Issue
Block a user