I do not remember

This commit is contained in:
Ben Visness 2024-06-03 18:50:29 -05:00
parent 2980d66d4b
commit 826761f6f0
3 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,6 @@
<a href="javascript:;" class="imginput-reset-link">Reset</a> <a href="javascript:;" class="imginput-reset-link">Reset</a>
<a href="javascript:;" class="imginput-remove-link">Remove</a> <a href="javascript:;" class="imginput-remove-link">Remove</a>
</div> </div>
<div class="imginput-filename b truncate"></div> <div class="imginput-filename b truncate lh-title"></div>
</div> </div>
</div> </div>

View File

@ -1,11 +1,11 @@
{{- /*gotype: git.handmade.network/hmn/hmn/src/templates.ProjectCardData*/ -}} {{- /*gotype: git.handmade.network/hmn/hmn/src/templates.ProjectCardData*/ -}}
<a class="project-card pa3 flex br2 overflow-hidden items-center relative {{ .Classes }}" href="{{ .Project.Url }}" > <a class="project-card pa3 flex g3 br2 overflow-hidden relative {{ .Classes }}" href="{{ .Project.Url }}" >
{{ with .Project.Logo }} {{ with .Project.Logo }}
<div class="image-container flex-shrink-0 aspect-ratio"> <div class="image-container flex-shrink-0 aspect-ratio">
<div class="image bg-center cover aspect-ratio--1x1" style="background-image:url({{ . }})"></div> <div class="image bg-center cover aspect-ratio--1x1" style="background-image:url({{ . }})"></div>
</div> </div>
{{ end }} {{ end }}
<div class="details pa3 flex-grow-1"> <div class="details flex-grow-1">
<h3 class="b mb2 f4">{{ .Project.Name }}</h3> <h3 class="b mb2 f4">{{ .Project.Name }}</h3>
<div class="blurb">{{ .Project.Blurb }}</div> <div class="blurb">{{ .Project.Blurb }}</div>
<hr> <hr>

View File

@ -9,7 +9,7 @@
{{ define "content" }} {{ define "content" }}
<div class="flex flex-row justify-center"> <div class="flex flex-row justify-center">
<div class="flex-grow-1 flex flex-column items-center mw-site"> <div class="flex-grow-1 flex flex-column items-center mw-site pt4">
<div class="w-100 h5 bg-white-50 bg-center cover" style="background-image: url('{{ .Project.HeaderImage }}')"></div> <div class="w-100 h5 bg-white-50 bg-center cover" style="background-image: url('{{ .Project.HeaderImage }}')"></div>
<div class="w-100 mw-site-narrow flex justify-center" style="margin-top: -3rem"> <div class="w-100 mw-site-narrow flex justify-center" style="margin-top: -3rem">
{{ template "project_card.html" projectcarddata .Project "flex-grow-1 project-card-black" }} {{ template "project_card.html" projectcarddata .Project "flex-grow-1 project-card-black" }}