blob: b21d5a6c159c5c617b803da407359444a63604ad [file] [log] [blame]
{{define "projects"}}
<div class="FeaturedUsers">
<h2 id="featured-users" class="sectionHeading">Featured users</h2>
<table>
<thead>
<tr>
<th class="FeaturedUsers--hiddenMobile">Customer</th>
<th>Brief introduction</th>
<th>Projects using go</th>
</tr>
</thead>
<tbody>
{{- range $index, $project := (yaml .)}}
<tr
class="js-featuredUsersRow FeaturedUsers-row"
{{- if (gt $index 2) }}
hidden {{end}}
>
<td class="FeaturedUsers--hiddenMobile">
<img src="/images/logos/{{.logoSrc}}" alt="{{.company}}" />
</td>
<td>
<img
class="FeaturedUsers--hiddenDesktop"
src="/images/logos/{{.logoSrc}}" alt="{{.company}}" />
{{.desc}}
</td>
<td>
<ul>
{{- range .ctas}}
<li><a href="{{.url}}">{{.text}}</a></li>
{{- end}}
</ul>
</td>
</tr>
{{- end}}
</tbody>
</table>
<button
class="js-moreProjectsBtn FeaturedUsers-moreProjectsBtn"
type="button">
More projects
</button>
</div>
{{end}}