feat: add dev portfolio template and add dev-hero, portfolio, tech-stack blocks

Also, fix card view to use theme colors rather than hard-coded colors
This commit is contained in:
George Cushen committed 2026-01-05 20:38:38 +00:00
1 parent 30dd554e8d
commit 3526fb1ca1
68 files changed
+6664 -152

No files matched your search

+13 -1
View File
@@ -179,7 +179,19 @@
{{end}}
{{/* Process featured image using utility with placement-specific constraints */}}
{{ if ne $featured.MediaType.SubType "gif" }}
{{ if strings.Contains $featured.MediaType.SubType "svg" }}
{{/* SVGs cannot be processed by Hugo (Fit/Fill). Render directly. */}}
<div class="article-header {{$image_container}} featured-image-wrapper mt-4 mb-16">
<div style="position: relative">
<img src="{{ $featured.RelPermalink }}"
data-pagefind-meta="image[src]"
alt="{{ with $image_params.alt_text }}{{.}}{{ end }}"
class="featured-image"
fetchpriority="high">
{{ with $image_params.caption }}<span class="article-header-caption">{{ . | markdownify | emojify }}</span>{{ end }}
</div>
</div>
{{ else if ne $featured.MediaType.SubType "gif" }}
{{/* Pre-fit image to placement constraints, then apply responsive processing */}}
{{ $fitted_image := $featured }}
{{ if eq $placement 2}}