fix: mark & active brick type

This commit is contained in:
efim
2023-11-23 04:15:11 +00:00
parent fad258a537
commit 3d466953d2
4 changed files with 64 additions and 42 deletions

View File

@@ -1,19 +1,21 @@
{{define "main-content"}}
<div style="--d: 10rem">
<div style="--d: 10rem;">
<h2>For each type</h2>
<section class="grid grid-cols-5 border-4 gap-4">
<section class="grid grid-cols-6 border-4 gap-4">
<p>types:</p>
<p> inactive </p>
<p> raised </p>
<p> speaker </p>
<p> mark </p>
<p> mark and active </p>
{{ range .Bricks }}
<div class="border-2">for {{ .Name }}</div>
<div>{{ template "inactiveBrick" .ColorClass }}</div>
<div>{{ template "raisedBrick" .ColorClass }}</div>
<div>{{ template "speakerBrick" .ColorClass }}</div>
<div>{{ template "markBrick" .ColorClass }}</div>
<div>{{ template "markAndRaisedBrick" .ColorClass }}</div>
{{ end }}
</section>