forked from tangled.org/core
Monorepo for Tangled — https://tangled.org
1{{ define "title" }}{{ .RepoInfo.FullName }}{{ end }} 2{{ define "extrameta" }} 3 {{ template "repo/fragments/meta" . }} 4 {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo) }} 5{{ end }} 6{{ define "repoContent" }} 7 <main> 8 <div class="relative w-full h-96 flex items-center justify-center"> 9 <div class="w-full h-full grid grid-cols-1 md:grid-cols-2 gap-4 md:divide-x divide-gray-300 dark:divide-gray-600 text-gray-300 dark:text-gray-600"> 10 <!-- mimic the repo view here, placeholders are LLM generated --> 11 <div id="file-list" class="flex flex-col gap-2 col-span-1 w-full h-full p-4 items-start justify-start text-left"> 12 {{ $files := 13 (list 14 "src" 15 "docs" 16 "config" 17 "lib" 18 "index.html" 19 "log.html" 20 "needsUpgrade.html" 21 "new.html" 22 "tags.html" 23 "tree.html") 24 }} 25 {{ range $files }} 26 <span> 27 {{ if (contains . ".") }} 28 {{ i "file" "size-4 inline-flex" }} 29 {{ else }} 30 {{ i "folder" "size-4 inline-flex fill-current" }} 31 {{ end }} 32 33 {{ . }} 34 </span> 35 {{ end }} 36 </div> 37 <div id="commit-list" class="hidden md:flex md:flex-col gap-4 col-span-1 w-full h-full p-4 items-start justify-start text-left"> 38 {{ $commits := 39 (list 40 "Fix authentication bug in login flow" 41 "Add new dashboard widgets for metrics" 42 "Implement real-time notifications system") 43 }} 44 {{ range $commits }} 45 <div class="flex flex-col"> 46 <span>{{ . }}</span> 47 <span class="text-xs">{{ . }}</span> 48 </div> 49 {{ end }} 50 </div> 51 </div> 52 <div class="absolute inset-0 flex items-center justify-center py-12 text-red-500 dark:text-red-400 backdrop-blur"> 53 <div class="text-center"> 54 {{ i "triangle-alert" "size-5 inline-flex items-center align-middle" }} 55 The knot hosting this repository needs an upgrade. This repository is currently unavailable. 56 </div> 57 </div> 58 </div> 59 </main> 60{{ end }}