forked from
tangled.org/core
Monorepo for Tangled — https://tangled.org
1{{ define "title" }}tangled · tightly-knit social coding{{ end }}
2
3{{ define "extrameta" }}
4 <meta property="og:title" content="timeline · tangled" />
5 <meta property="og:type" content="object" />
6 <meta property="og:url" content="https://tangled.org" />
7 <meta property="og:description" content="tightly-knit social coding" />
8{{ end }}
9
10
11{{ define "content" }}
12 <div class="flex flex-col gap-4">
13 {{ template "timeline/fragments/hero" . }}
14 {{ template "features" . }}
15 {{ template "timeline/fragments/goodfirstissues" . }}
16 {{ template "timeline/fragments/trending" . }}
17 {{ template "timeline/fragments/timeline" . }}
18 <div class="flex justify-end">
19 <a href="/timeline" class="inline-flex items-center gap-2 text-gray-500 dark:text-gray-400">
20 view more
21 {{ i "arrow-right" "size-4" }}
22 </a>
23 </div>
24 </div>
25{{ end }}
26
27
28{{ define "feature" }}
29 {{ $info := index . 0 }}
30 {{ $bullets := index . 1 }}
31 <div class="flex flex-col items-center gap-6 md:flex-row md:items-top">
32 <div class="flex-1">
33 <h2 class="text-2xl font-bold text-black dark:text-white mb-6">{{ $info.title }}</h2>
34 <ul class="leading-normal">
35 {{ range $bullets }}
36 <li><p>{{ escapeHtml . }}</p></li>
37 {{ end }}
38 </ul>
39 </div>
40 <div class="flex-shrink-0 w-96 md:w-1/3">
41 <a href="{{ $info.image }}">
42 <img src="{{ $info.image }}" alt="{{ $info.alt }}" class="w-full h-auto rounded shadow-sm" />
43 </a>
44 </div>
45 </div>
46{{ end }}
47
48{{ define "features" }}
49 <div class="prose dark:text-gray-200 space-y-12 px-6 py-4 bg-white dark:bg-gray-800 rounded drop-shadow-sm">
50 {{ template "feature" (list
51 (dict
52 "title" "lightweight git repo hosting"
53 "image" "https://assets.tangled.network/what-is-tangled-repo.png"
54 "alt" "A repository hosted on Tangled"
55 )
56 (list
57 "Host your repositories on your own infrastructure using <em>knots</em>—tiny, headless servers that facilitate git operations."
58 "Add friends to your knot or invite collaborators to your repository."
59 "Guarded by fine-grained role-based access control."
60 "Use SSH to push and pull."
61 )
62 ) }}
63
64 {{ template "feature" (list
65 (dict
66 "title" "improved pull request model"
67 "image" "https://assets.tangled.network/pulls.png"
68 "alt" "Round-based pull requests."
69 )
70 (list
71 "An intuitive and effective round-based pull request flow, with inter-diffing between rounds."
72 "Stacked pull requests using Jujutsu's change IDs."
73 "Paste a <code>git diff</code> or <code>git format-patch</code> for quick drive-by changes."
74 )
75 ) }}
76
77 {{ template "feature" (list
78 (dict
79 "title" "run pipelines using spindles"
80 "image" "https://assets.tangled.network/pipelines.png"
81 "alt" "CI pipeline running on spindle"
82 )
83 (list
84 "Run pipelines on your own infrastructure using <em>spindles</em>—lightweight CI runners."
85 "Natively supports Nix for package management."
86 "Easily extended to support different execution backends."
87 )
88 ) }}
89 </div>
90{{ end }}