Monorepo for Tangled
tangled.org
1{{ define "repo/fragments/participants" }}
2 {{ $all := . }}
3 {{ $ps := take $all 5 }}
4 <div class="px-2 md:px-0">
5 <div class="py-1 flex items-center text-sm">
6 <span class="font-bold text-gray-500 dark:text-gray-400 capitalize">Participants</span>
7 <span class="bg-gray-200 dark:bg-gray-700 rounded py-1/2 px-1 ml-1">{{ len $all }}</span>
8 </div>
9 {{ template "fragments/tinyAvatarList" (dict "all" $all "classes" "w-8 h-8") }}
10 </div>
11{{ end }}