divyam.dev/layouts/_default/projects.html
Divyam Ahuja bf8b466229
Some checks are pending
Deploy Hugo site to Pages / build (push) Waiting to run
Deploy Hugo site to Pages / deploy (push) Blocked by required conditions
UI enhancements: homepage de-duplication, copy code button, article links on projects, reading time
2026-11-10 02:02:31 +05:30

33 lines
1 KiB
HTML

{{ define "main" }}
<h1 class="page-title">Projects</h1>
<p class="projects-intro">Things I've built, contributed to, or run in production.</p>
<div class="projects-grid">
{{- range .Site.Params.projects }}
<div class="project-card">
<div class="project-card-inner">
<div class="project-card-header">
<h3 class="project-card-name">
{{- if eq .url "#" -}}
{{ .name }}
{{- else -}}
<a href="{{ .url }}" target="_blank" rel="noopener noreferrer">{{ .name }} <span class="project-arrow">↗</span></a>
{{- end -}}
</h3>
{{- with .article }}
<a href="{{ . }}" class="project-article-link">writeup ↗</a>
{{- end }}
</div>
<p class="project-card-desc">{{ .description }}</p>
{{- with .tags }}
<div class="project-card-tags">
{{- range . }}
<span class="project-card-tag">{{ . }}</span>
{{- end }}
</div>
{{- end }}
</div>
</div>
{{- end }}
</div>
{{ end }}