2025-11-12 18:26:18 +00:00
|
|
|
{{define "section-projects"}}
|
|
|
|
|
<!-- Projects Section -->
|
|
|
|
|
{{if .CV.Projects}}
|
2025-11-18 20:18:28 +00:00
|
|
|
<section id="projects" class="cv-section component-wrapper">
|
|
|
|
|
<!-- Actual Content -->
|
|
|
|
|
<div class="actual-content">
|
|
|
|
|
<details open>
|
|
|
|
|
<summary>
|
|
|
|
|
<h3 class="section-title">
|
|
|
|
|
<iconify-icon icon="mdi:web" width="24" height="24" class="section-icon"></iconify-icon>
|
2025-11-30 10:13:37 +00:00
|
|
|
{{.UI.Navigation.Projects}}
|
2025-11-18 20:18:28 +00:00
|
|
|
</h3>
|
|
|
|
|
</summary>
|
|
|
|
|
{{range .CV.Projects}}
|
2025-12-01 13:03:06 +00:00
|
|
|
<div class="project-item" id="proj-{{.ProjectID}}" data-project="{{.ProjectID}}" data-title="{{if .ProjectName}}{{.ProjectName}}{{else}}{{.Title}}{{end}}">
|
2025-11-12 18:26:18 +00:00
|
|
|
<div class="project-icon">
|
2025-12-04 11:38:36 +00:00
|
|
|
{{if .LogoIndex}}
|
|
|
|
|
<span class="icon-sprite icon-section icon-project" style="--icon-index: {{.LogoIndex}};" role="img" aria-label="{{.Title}} logo"></span>
|
|
|
|
|
{{else if .ProjectLogo}}
|
2025-11-12 18:26:18 +00:00
|
|
|
<img src="/static/images/projects/{{.ProjectLogo}}" alt="{{.Title}} logo" onerror="this.parentElement.innerHTML='<iconify-icon icon=\'mdi:web\' width=\'80\' height=\'80\' class=\'default-project-icon\'></iconify-icon>'">
|
2025-12-04 11:38:36 +00:00
|
|
|
{{else}}
|
2025-11-12 18:26:18 +00:00
|
|
|
<iconify-icon icon="mdi:web" width="80" height="80" class="default-project-icon"></iconify-icon>
|
2025-12-04 11:38:36 +00:00
|
|
|
{{end}}
|
2025-11-12 18:26:18 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="project-content">
|
|
|
|
|
<strong>
|
|
|
|
|
{{if .ProjectName}}
|
|
|
|
|
{{if .URL}}<a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.ProjectName}}</a>{{else}}{{.ProjectName}}{{end}}{{if .ProjectDesc}} - {{.ProjectDesc}}{{end}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{if .URL}}<a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.Title}}</a>{{else}}{{.Title}}{{end}}
|
|
|
|
|
{{end}}
|
|
|
|
|
</strong>
|
|
|
|
|
{{if .Current}}<span class="live-badge"><iconify-icon icon="mdi:wifi" width="14" height="14"></iconify-icon>LIVE</span>{{end}}
|
2026-04-03 23:15:59 +01:00
|
|
|
{{if .GitRepoUrl}}<a href="{{.GitRepoUrl}}" target="_blank" rel="noopener noreferrer" class="github-badge"><iconify-icon icon="mdi:github" width="14" height="14"></iconify-icon>GitHub</a>{{end}}
|
2026-05-04 13:47:05 +01:00
|
|
|
{{if and .OpenSource .GitRepoUrl}}<a href="{{.GitRepoUrl}}/stargazers" target="_blank" rel="noopener noreferrer" class="stars-badge" data-repo="{{githubRepo .GitRepoUrl}}"><iconify-icon icon="mdi:star" width="14" height="14"></iconify-icon>stars <span class="stars-count"></span></a>{{end}}
|
2025-11-30 10:13:37 +00:00
|
|
|
{{if .MaintainedBy}}<span class="maintained-badge">{{$.UI.Sections.MaintainedBy}} {{.MaintainedBy}}</span>{{end}}
|
2025-11-12 18:26:18 +00:00
|
|
|
<br>
|
2025-11-30 10:13:37 +00:00
|
|
|
<small>{{if .StartDate}}{{.StartDate}}{{if .Current}}{{if .DynamicDate}} / {{.DynamicDate}}{{else}} / {{$.UI.Sections.Present}}{{end}}{{end}}{{end}} - ({{.Location}})</small>
|
2025-11-12 18:26:18 +00:00
|
|
|
|
|
|
|
|
{{if .ShortDescription}}
|
|
|
|
|
<p class="project-desc short-desc">{{.ShortDescription | safeHTML}}</p>
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
{{if .Responsibilities}}
|
|
|
|
|
<ul class="responsibilities long-only">
|
|
|
|
|
{{range .Responsibilities}}
|
|
|
|
|
<li>{{. | safeHTML}}</li>
|
|
|
|
|
{{end}}
|
|
|
|
|
</ul>
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
{{if .Technologies}}
|
|
|
|
|
<div class="project-technologies long-only">
|
2025-11-30 10:13:37 +00:00
|
|
|
<strong>{{$.UI.Sections.Technologies}}</strong>
|
2025-11-12 18:26:18 +00:00
|
|
|
{{range $index, $tech := .Technologies}}{{if $index}}, {{end}}{{$tech}}{{end}}
|
|
|
|
|
</div>
|
|
|
|
|
{{end}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{end}}
|
|
|
|
|
|
2025-11-18 20:18:28 +00:00
|
|
|
<!-- Link to full portfolio -->
|
|
|
|
|
<div class="projects-footer">
|
2025-11-30 10:13:37 +00:00
|
|
|
<p>{{.UI.Portfolio.SeeAllProjects}}
|
|
|
|
|
<a href="{{.CV.Personal.Domestika}}" target="_blank" rel="noopener noreferrer"><strong>{{.UI.Portfolio.DomestikaPortfolio}}</strong></a></p>
|
2025-11-18 20:18:28 +00:00
|
|
|
</div>
|
|
|
|
|
</details>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Skeleton Content -->
|
|
|
|
|
<div class="skeleton-content">
|
|
|
|
|
<div class="skeleton-section">
|
|
|
|
|
<div class="skeleton skeleton-section-title"></div>
|
|
|
|
|
|
|
|
|
|
<!-- Project Item 1 - With responsibilities and technologies -->
|
|
|
|
|
<div class="skeleton-project-item">
|
|
|
|
|
<div class="skeleton skeleton-project-icon"></div>
|
|
|
|
|
<div class="skeleton-project-content">
|
|
|
|
|
<div class="skeleton skeleton-project-title-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-date-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-description-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-responsibility-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-responsibility-line" style="width: 93%;"></div>
|
|
|
|
|
<div class="skeleton skeleton-tech-line"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Project Item 2 - Shorter -->
|
|
|
|
|
<div class="skeleton-project-item">
|
|
|
|
|
<div class="skeleton skeleton-project-icon"></div>
|
|
|
|
|
<div class="skeleton-project-content">
|
|
|
|
|
<div class="skeleton skeleton-project-title-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-date-line"></div>
|
|
|
|
|
<div class="skeleton skeleton-description-line" style="width: 88%;"></div>
|
|
|
|
|
<div class="skeleton skeleton-tech-line"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Projects footer -->
|
|
|
|
|
<div class="skeleton skeleton-footer-line"></div>
|
|
|
|
|
</div>
|
2025-11-12 18:26:18 +00:00
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
{{end}}
|
2026-05-04 13:47:05 +01:00
|
|
|
<script>
|
|
|
|
|
(function() {
|
|
|
|
|
document.querySelectorAll('.stars-badge[data-repo]').forEach(function(badge) {
|
|
|
|
|
var repo = badge.getAttribute('data-repo');
|
|
|
|
|
if (!repo) return;
|
|
|
|
|
fetch('https://api.github.com/repos/' + repo, {headers: {'Accept': 'application/vnd.github.v3+json'}})
|
|
|
|
|
.then(function(r) { return r.json(); })
|
|
|
|
|
.then(function(data) {
|
|
|
|
|
if (data.stargazers_count !== undefined) {
|
|
|
|
|
var el = badge.querySelector('.stars-count');
|
|
|
|
|
if (el) el.textContent = data.stargazers_count;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(function() {});
|
|
|
|
|
});
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
2025-11-12 18:26:18 +00:00
|
|
|
{{end}}
|