refactor: pass GestureInfo into brick fragment
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
{{ range .Gestures }}
|
||||
{{ with .GetGestureInfo }}
|
||||
<div class="border-2">for {{ .Name }}</div>
|
||||
<div>{{ template "inactiveBrick" .Color }}</div>
|
||||
<div>{{ template "raisedBrick" .Color }}</div>
|
||||
<div>{{ template "speakerBrick" .Color }}</div>
|
||||
<div>{{ template "markBrick" .Color }}</div>
|
||||
<div>{{ template "markAndRaisedBrick" .Color }}</div>
|
||||
<div>{{ template "inactiveBrick" . }}</div>
|
||||
<div>{{ template "raisedBrick" . }}</div>
|
||||
<div>{{ template "speakerBrick" . }}</div>
|
||||
<div>{{ template "markBrick" . }}</div>
|
||||
<div>{{ template "markAndRaisedBrick" . }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user