| {{$featuredProjects := .Page.Param "featuredProjects"}} |
| |
| <table> |
| <thead> |
| <tr> |
| <th class="FeaturedUsers--hiddenMobile">Customer</th> |
| <th>Brief introduction</th> |
| <th>Projects using go</th> |
| </tr> |
| </thead> |
| |
| <tbody> |
| {{range $index, $project := $featuredProjects}} |
| <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> |