This repository has no description
1{{ define "title" }}Tangled · The next-generation social coding platform{{ end }}
2
3{{ define "extrameta" }}
4 <!-- Open Graph Meta Tags -->
5 <meta property="og:title" content="Tangled · The next-generation social coding platform" />
6 <meta property="og:type" content="website" />
7 <meta property="og:url" content="https://tangled.org" />
8 <meta property="og:description" content="The next-generation social coding platform." />
9 <meta property="og:image" content="https://assets.tangled.network/tangled_og.png" />
10 <meta property="og:image:width" content="1200" />
11 <meta property="og:image:height" content="630" />
12
13 <!-- Twitter Card Meta Tags -->
14 <meta name="twitter:card" content="summary_large_image" />
15 <meta name="twitter:title" content="Tangled" />
16 <meta name="twitter:description" content="The next-generation social coding platform." />
17 <meta name="twitter:image" content="https://assets.tangled.network/tangled_og.png" />
18
19 <!-- Additional SEO -->
20 <meta name="description" content="The next-generation social coding platform. Host repositories on your infrastructure with knots, use stacked pull requests, and run CI with spindles." />
21 <link rel="canonical" href="https://tangled.org" />
22
23 <script>
24 document.addEventListener('DOMContentLoaded', () => {
25 const videos = document.querySelectorAll('video[data-hls]');
26 if (!videos.length) return;
27
28 const attach = () => {
29 videos.forEach((video) => {
30 const src = video.dataset.hls;
31 if (video.canPlayType('application/vnd.apple.mpegurl')) {
32 video.src = src;
33 } else if (window.Hls && Hls.isSupported()) {
34 const hls = new Hls();
35 hls.loadSource(src);
36 hls.attachMedia(video);
37 }
38 });
39 };
40
41 const needsHls = Array.from(videos).some(
42 (v) => !v.canPlayType('application/vnd.apple.mpegurl')
43 );
44 if (!needsHls) {
45 attach();
46 return;
47 }
48
49 const script = document.createElement('script');
50 script.src = '/static/hls.min.js';
51 script.onload = attach;
52 document.head.appendChild(script);
53 });
54 </script>
55 <script>
56 document.addEventListener('DOMContentLoaded', () => {
57 document.querySelectorAll('[data-bsky-carousel]').forEach(el => {
58 let maxRatio = 0;
59 el.querySelectorAll('img[data-aspect]').forEach(img => {
60 const [w, h] = img.dataset.aspect.split(':').map(Number);
61 if (h > 0) maxRatio = Math.max(maxRatio, w / h);
62 });
63 if (maxRatio > 0) {
64 el.style.height = Math.min(Math.round(el.clientWidth / maxRatio), 400) + 'px';
65 }
66 });
67 });
68 </script>
69{{ end }}
70
71
72{{ define "content" }}
73 <div class="flex flex-col gap-20 md:gap-40 my-20 md:my-32">
74 <div class="relative">
75 <div class="hidden md:block absolute inset-0 pointer-events-none z-0 opacity-50 dark:opacity-5
76 [mask-image:linear-gradient(to_bottom,black_0%,black_60%,transparent_100%)]
77 [-webkit-mask-image:linear-gradient(to_bottom,black_0%,black_60%,transparent_100%)]
78 [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat]
79 [mask-size:100%_100%] [-webkit-mask-size:100%_100%]">
80 <div class="absolute inset-0 bg-slate-200 dark:bg-slate-400
81 [mask-image:url('https://assets.tangled.network/Rope.svg')]
82 [-webkit-mask-image:url('https://assets.tangled.network/Rope.svg')]
83 [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat]
84 [mask-position:10%_center] [-webkit-mask-position:10%_center]
85 [mask-size:contain] [-webkit-mask-size:contain]"></div>
86 </div>
87 <div class="relative z-10 flex flex-col gap-20 md:gap-40">
88 {{ template "timeline/fragments/hero" . }}
89 {{ template "timeline/fragments/preview" . }}
90 </div>
91 </div>
92 {{ template "features1" . }}
93 {{ template "features2" . }}
94 {{ template "features3" . }}
95 {{ template "recentUpdates" . }}
96 {{ if .ShowNewsletter }}{{ template "newsletter" . }}{{ end }}
97 </div>
98{{ end }}
99
100{{ block "topbarLayout" . }}
101 <header class="max-w-screen-xl mx-auto w-full col-span-full md:col-span-1 md:col-start-2" style="z-index: 20;">
102 {{ if .LoggedInUser }}
103 <div id="upgrade-banner"
104 hx-get="/upgradeBanner"
105 hx-trigger="load"
106 hx-swap="innerHTML">
107 </div>
108 {{ end }}
109 {{ template "layouts/fragments/topbar" . }}
110 </header>
111{{ end }}
112
113{{ block "footerLayout" . }}
114 <footer class="z-10">
115 {{ template "layouts/fragments/footerFull" . }}
116 </footer>
117{{ end }}
118
119{{ block "bodyClasses" . }}
120 bg-transparent bg-gradient-to-b from-white to-slate-100 dark:bg-none dark:bg-gray-900
121{{ end }}
122
123{{ block "mainLayout" . }}
124 <div class="flex-grow relative">
125 <div
126 class="absolute opacity-50 dark:opacity-5 inset-x-0 top-0 bottom-[-50px] md:bottom-[-150px] pointer-events-none w-full [mask-image:linear-gradient(to_top,transparent_0px,black_250px)] [-webkit-mask-image:linear-gradient(to_top,transparent_0px,black_250px)] [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat] [mask-size:100%_100%] [-webkit-mask-size:100%_100%]">
127 <div class="absolute inset-0 bg-slate-200 dark:bg-slate-400 [mask-image:url('https://assets.tangled.network/yarn_ball_mask.svg')] [-webkit-mask-image:url('https://assets.tangled.network/yarn_ball_mask.svg')] [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat] [mask-position:right_bottom] [-webkit-mask-position:right_bottom] [mask-size:auto] [-webkit-mask-size:auto]"></div>
128 </div>
129 <div class="max-w-screen-xl mx-auto flex flex-col gap-4 relative z-10">
130 {{ block "contentLayout" . }}
131 <main>
132 {{ block "content" . }}{{ end }}
133 </main>
134 {{ end }}
135
136 {{ block "contentAfterLayout" . }}
137 <main>
138 {{ block "contentAfter" . }}{{ end }}
139 </main>
140 {{ end }}
141 </div>
142 </div>
143{{ end }}
144
145{{ define "features1" }}
146 {{ $labelStyle := "normal-case cursor-pointer w-auto md:w-full p-4 md:px-6 rounded bg-white dark:bg-gray-800 font-medium text-base md:text-lg opacity-50 border border-gray-200 dark:border-gray-700 relative overflow-hidden" }}
147 {{ $spanStyle := "z-10 items-center justify-between gap-2 w-full" }}
148 {{ $connectorStyle := "w-0.5 h-6 bg-gray-200 dark:bg-gray-700 opacity-0 mx-auto" }}
149 {{ $contentStyle := "hidden bg-white dark:bg-gray-800 rounded shadow-sm border border-gray-200 dark:border-gray-700 grid-cols-1 animate-fadein" }}
150 {{ $progressOverlayStyle := "absolute inset-0 bg-gray-600/10 dark:bg-gray-100/10 w-0 transition-none" }}
151
152 <style>
153 @media (max-width: 768px) {
154 .features-grid:has(#feature-prs:checked) {
155 grid-template-columns: 1fr auto auto;
156 }
157
158 .features-grid:has(#feature-knots:checked) {
159 grid-template-columns: auto 1fr auto;
160 }
161
162 .features-grid:has(#feature-spindles:checked) {
163 grid-template-columns: auto auto 1fr;
164 }
165
166 #feature-prs:checked ~ label[for="feature-prs"] .label-text,
167 #feature-knots:checked ~ label[for="feature-knots"] .label-text,
168 #feature-spindles:checked ~ label[for="feature-spindles"] .label-text {
169 display: inline-flex !important;
170 }
171 #feature-prs:checked ~ label[for="feature-prs"] .icon-only,
172 #feature-knots:checked ~ label[for="feature-knots"] .icon-only,
173 #feature-spindles:checked ~ label[for="feature-spindles"] .icon-only {
174 display: none !important;
175 }
176 }
177 </style>
178
179 <div class="features-grid w-full grid grid-cols-3 gap-x-6 px-2">
180 <input type="radio" id="feature-prs" name="feature" class="peer/prs hidden" checked />
181 <input type="radio" id="feature-knots" name="feature" class="peer/knots hidden" />
182 <input type="radio" id="feature-spindles" name="feature" class="peer/spindles hidden" />
183
184 <label for="feature-prs" class="{{ $labelStyle }} peer-checked/prs:opacity-100 peer-checked/prs:shadow-sm">
185 <span class="label-text hidden md:inline-flex {{ $spanStyle }}">Stacked Pull-Requests {{ i "git-pull-request" "size-5" }}</span>
186 <span class="icon-only inline-flex md:hidden {{ $spanStyle }}">{{ i "git-pull-request" "size-5" }}</span>
187 <div class="{{ $progressOverlayStyle }}" data-progress="prs"></div>
188 </label>
189
190 <label for="feature-knots" class="{{ $labelStyle }} peer-checked/knots:opacity-100 peer-checked/knots:shadow-sm">
191 <span class="label-text hidden md:inline-flex {{ $spanStyle }}">Completely self-hostable {{ i "hard-drive" "size-5" }}</span>
192 <span class="icon-only inline-flex md:hidden {{ $spanStyle }}">{{ i "hard-drive" "size-5" }}</span>
193 <div class="{{ $progressOverlayStyle }}" data-progress="knots"></div>
194 </label>
195
196 <label for="feature-spindles" class="{{ $labelStyle }} peer-checked/spindles:opacity-100 peer-checked/spindles:shadow-sm">
197 <span class="label-text hidden md:inline-flex {{ $spanStyle }}">MicroVM-based CI {{ i "layers-2" "size-5" }}</span>
198 <span class="icon-only inline-flex md:hidden {{ $spanStyle }}">{{ i "layers-2" "size-5" }}</span>
199 <div class="{{ $progressOverlayStyle }}" data-progress="spindles"></div>
200 </label>
201
202 <div class="{{ $connectorStyle }} peer-checked/prs:opacity-100"></div>
203 <div class="{{ $connectorStyle }} peer-checked/knots:opacity-100"></div>
204 <div class="{{ $connectorStyle }} peer-checked/spindles:opacity-100"></div>
205
206 {{ $titleStyle := "text-2xl md:text-6xl my-2 md:mb-4 text-black dark:text-white font-medium" }}
207 {{ $textContentStyle := "p-4 md:p-6 md:text-xl" }}
208 {{ $imgContentStyle := "w-full overflow-hidden place-content-center bg-gradient-to-b from-slate-50 to-slate-100 dark:from-gray-800 dark:to-gray-900 border-t border-gray-200 dark:border-gray-700" }}
209 {{ $linkDesktopStyle := "hover:no-underline items-center gap-2 p-3 text-base btn" }}
210
211 <div class="col-span-3 {{ $contentStyle }} peer-checked/prs:grid">
212 <div class="{{ $textContentStyle }} flex gap-4 md:gap-8">
213 <section class="space-y-4">
214 <h1 class="{{ $titleStyle }}">Pull requests, reimagined</h1>
215 <p class="text-gray-600 dark:text-gray-400">
216 Break down large features into small, reviewable chunks. Stack pull
217 requests on top of each other and ship faster with round-based code
218 reviews. Tangled natively supports stacking using Jujutsu.
219 </p>
220 <a href="https://blog.tangled.org/stacking" class="hover:no-underline inline-flex items-center gap-2 text-sm md:text-base text-black dark:text-white font-medium">
221 Learn more
222 {{ i "arrow-right" "size-4" }}
223 </a>
224 </section>
225 <div class="w-fit hidden md:flex items-center">
226 <div class="size-32 rounded-full flex items-center justify-center bg-yellow-100 dark:bg-yellow-900 -mr-4" >
227 {{ i "wand-sparkles" "size-16 text-yellow-500 dark:text-yellow-500" }}
228 </div>
229 <div class="size-40 rounded-full flex items-center justify-center bg-green-100 dark:bg-green-900 z-10">
230 {{ i "git-pull-request-arrow" "size-24 text-green-500 dark:text-green-500 rotate-12" }}
231 </div>
232 </div>
233 </div>
234 <div class="{{ $imgContentStyle }} relative overflow-hidden flex items-center justify-center">
235 <div class="w-[120%] md:w-full flex">
236 <picture class="w-full">
237 <source srcset="https://assets.tangled.network/home-page-prs-dark.svg" media="(prefers-color-scheme: dark)" />
238 <img src="https://assets.tangled.network/home-page-prs-light.svg" class="w-full block" alt="A list of stacked pull requests with CI checks and PR comments"/>
239 </picture>
240 </div>
241 </div>
242 </div>
243
244 <div class="col-span-3 {{ $contentStyle }} peer-checked/knots:grid">
245 <div class="{{ $textContentStyle }} flex place-content-between gap-4 md:gap-8">
246 <section class="space-y-4">
247 <h1 class="{{ $titleStyle }}">Run it at home</h1>
248 <p class="text-gray-600 dark:text-gray-400">
249 Host your repositories on your own infrastructure with <a href="https://docs.tangled.org/knot-self-hosting-guide.html#knot-self-hosting-guide" class="no-underline">knots</a>.
250 Run CI on your own machines with <a href="https://docs.tangled.org/spindles.html#self-hosting-guide" class="no-underline">spindles</a>.
251 <br>
252 Don't want to self-host? All are welcome on our hosted instances.
253 </p>
254 <a href="https://docs.tangled.org/knot-self-hosting-guide.html#knot-self-hosting-guide" class="hover:no-underline inline-flex items-center gap-2 text-sm md:text-base text-black dark:text-white font-medium">
255 Learn more
256 {{ i "arrow-right" "size-4" }}
257 </a>
258 </section>
259 <div class="w-fit hidden md:flex items-center">
260 <div class="size-32 rounded-full flex items-center justify-center bg-blue-100 dark:bg-blue-900 -mr-4" >
261 {{ i "workflow" "size-16 text-blue-500 dark:text-blue-500" }}
262 </div>
263 <div class="size-40 rounded-full flex items-center justify-center bg-yellow-100 dark:bg-yellow-900 z-10">
264 {{ i "server" "size-24 text-yellow-500 dark:text-yellow-500" }}
265 </div>
266 </div>
267 </div>
268 <div class="{{ $imgContentStyle }} relative overflow-hidden flex items-center justify-center">
269 <div class="w-[120%] md:w-full flex">
270 <picture class="w-full">
271 <source srcset="https://assets.tangled.network/home-page-self-host-dark.svg" media="(prefers-color-scheme: dark)" />
272 <img src="https://assets.tangled.network/home-page-self-host-light.svg" class="w-full block" alt="A world map with knots hosting code on servers in different locations across the world" />
273 </picture>
274 </div>
275 </div>
276 </div>
277
278 <div class="col-span-3 {{ $contentStyle }} peer-checked/spindles:grid">
279 <div class="{{ $textContentStyle }} flex place-content-between gap-4 md:gap-8">
280 <section class="space-y-4">
281 <h1 class="{{ $titleStyle }}">Nix-powered CI</h1>
282 <p class="text-gray-600 dark:text-gray-400">
283 Run your CI in NixOS powered microVMs. Build containers with Docker
284 or setup up services like Postgres, Redis.
285 <br>
286 Inputs are cached making subsequent runs <em>quick</em>.
287 </p>
288 <a href="https://blog.tangled.org/spindle-microvm/" class="hover:no-underline inline-flex items-center gap-2 text-sm md:text-base text-black dark:text-white font-medium">
289 Learn more
290 {{ i "arrow-right" "size-4" }}
291 </a>
292 </section>
293 <div class="w-fit hidden md:flex items-center">
294 <div class="size-32 rounded-full flex items-center justify-center bg-green-100 dark:bg-green-900 -mr-4" >
295 {{ i "package" "size-16 text-green-500 dark:text-green-500" }}
296 </div>
297 <div class="size-40 rounded-full flex items-center justify-center bg-indigo-100 dark:bg-indigo-900 z-10">
298 {{ i "snowflake" "size-24 text-indigo-500 dark:text-indigo-500 rotate-12" }}
299 </div>
300 </div>
301 </div>
302 <div class="{{ $imgContentStyle }} flex items-end justify-center pb-0 overflow-hidden">
303 <div class="w-[120%] md:w-full flex">
304 <picture class="w-full">
305 <source srcset="https://assets.tangled.network/home-page-ci-dark.svg" media="(prefers-color-scheme: dark)" />
306 <img src="https://assets.tangled.network/home-page-ci-light.svg" class="w-full block" alt="The Tangled UI showing status checks, a Nix-based CI workflow YAML file, and logs from a CI job"/>
307 </picture>
308 </div>
309 </div>
310 </div>
311 </div>
312
313 <script>
314 document.addEventListener('DOMContentLoaded', function() {
315 const featureIds = ['feature-prs', 'feature-knots', 'feature-spindles'];
316 const progressNames = ['prs', 'knots', 'spindles'];
317 let currentIndex = 0;
318 let timerInterval = null;
319
320 function stopTimer() {
321 if (timerInterval) {
322 clearInterval(timerInterval);
323 timerInterval = null;
324 }
325 document.querySelectorAll('[data-progress]').forEach(el => {
326 el.classList.remove('animate-progress');
327 });
328 }
329
330 const firstProgress = document.querySelector('[data-progress="prs"]');
331 if (firstProgress) {
332 firstProgress.classList.add('animate-progress');
333 }
334
335 document.querySelectorAll('label[for^="feature-"]').forEach(label => {
336 label.addEventListener('click', stopTimer);
337 });
338
339 timerInterval = setInterval(function() {
340 document.querySelectorAll('[data-progress]').forEach(el => {
341 el.classList.remove('animate-progress');
342 void el.offsetWidth; // force reflow
343 });
344
345 currentIndex = (currentIndex + 1) % featureIds.length;
346 document.getElementById(featureIds[currentIndex]).checked = true;
347
348 const activeProgress = document.querySelector('[data-progress="' + progressNames[currentIndex] + '"]');
349 if (activeProgress) {
350 activeProgress.classList.add('animate-progress');
351 }
352 }, 10000);
353 });
354 </script>
355{{ end }}
356
357{{ define "features2" }}
358 {{ $cardStyle := "w-full max-w-[548px] bg-white dark:bg-gray-800 rounded shadow-sm border border-gray-200 dark:border-gray-700 p-4 md:p-6 flex flex-col" }}
359 {{ $imgBoxStyle := "w-full rounded overflow-hidden outline outline-1 -outline-offset-1 outline-gray-200 dark:outline-gray-700 bg-gradient-to-b from-slate-50 to-slate-100 dark:from-gray-800 dark:to-gray-900 mb-6" }}
360 {{ $titleStyle := "text-2xl md:text-3xl font-bold mb-2 md:mb-3 text-gray-900 dark:text-gray-100" }}
361 {{ $descriptionStyle := "text-gray-600 dark:text-gray-300 leading-relaxed mb-6 flex-1" }}
362 {{ $linkStyle := "hover:no-underline inline-flex items-center gap-2 text-sm md:text-base text-black dark:text-white font-medium" }}
363
364 <div class="w-full max-w-screen-xl mx-auto px-2">
365 <div class="text-center mb-10 md:mb-16 space-y-3">
366 <h2 class="text-3xl md:text-4xl font-bold text-gray-900 dark:text-gray-100">Tools to help you work</h2>
367 <p class="text-lg text-gray-600 dark:text-gray-400">For when the internet shows up in your inbox.</p>
368 </div>
369
370 <div class="flex flex-col md:flex-row items-center md:items-stretch md:justify-center gap-6">
371 <div class="{{ $cardStyle }}">
372 <div class="{{ $imgBoxStyle }}">
373 <picture class="block">
374 <source srcset="https://assets.tangled.network/home-page-vouching-dark.svg" media="(prefers-color-scheme: dark)" />
375 <img src="https://assets.tangled.network/home-page-vouching-light.svg" class="block w-full h-auto" alt="A globe with contributors carrying coloured trust shields, connected in a web" />
376 </picture>
377 </div>
378 <h3 class="{{ $titleStyle }}">A web of trust</h3>
379 <p class="{{ $descriptionStyle }}">
380 Vouch for the people you collaborate with. Trusted contributors carry
381 a green shield right where you interact with them, so you and your
382 circle can tell real work from LLM spam at a glance.
383 </p>
384 <a href="https://blog.tangled.org/vouching/" class="{{ $linkStyle }}">
385 Learn more
386 {{ i "arrow-right" "size-4" }}
387 </a>
388 </div>
389
390 <div class="{{ $cardStyle }}">
391 <div class="{{ $imgBoxStyle }}">
392 <picture class="block">
393 <source srcset="https://assets.tangled.network/home-page-focus-dark.svg" media="(prefers-color-scheme: dark)" />
394 <img src="https://assets.tangled.network/home-page-focus-light.svg" class="block w-full h-auto" alt="A focus-mode inbox stepping through issues, pull requests, and mentions one at a time" />
395 </picture>
396 </div>
397 <h3 class="{{ $titleStyle }}">Focus mode</h3>
398 <p class="{{ $descriptionStyle }}">
399 Focus Mode is a new way to clear notifications: lock in and knock out
400 your list one item at a time, with a task bar that nudges you to stay
401 on track until the queue is empty.
402 </p>
403 <a href="https://blog.tangled.org/newsletter-03/#focus-mode" class="{{ $linkStyle }}">
404 Learn more
405 {{ i "arrow-right" "size-4" }}
406 </a>
407 </div>
408 </div>
409 </div>
410{{ end }}
411
412{{ define "features3" }}
413 {{ $cardStyle := "bg-white dark:bg-gray-800 rounded shadow-sm border border-gray-200 dark:border-gray-700" }}
414 {{ $cardInnerStyle := "flex flex-row items-center gap-4 md:gap-6 p-4 md:p-6 md:pt-8 relative" }}
415 {{ $contentStyle := "flex-1 flex flex-col" }}
416 {{ $titleStyle := "text-xl md:text-2xl font-bold mb-2 md:mb-3 text-gray-900 dark:text-gray-100" }}
417 {{ $descriptionStyle := "text-gray-600 dark:text-gray-300 text-sm md:text-base leading-relaxed mb-5 md:mb-0" }}
418 {{ $linkMobileStyle := "hover:no-underline inline-flex md:hidden items-center gap-2 text-sm text-black dark:text-white font-medium" }}
419 {{ $iconContainerStyle := "relative shrink-0 w-24 h-24 md:w-48 md:h-48" }}
420 {{ $iconCircleStyle := "rounded-full flex items-center justify-center border border-gray-200 dark:border-gray-700" }}
421 {{ $linkDesktopStyle := "hover:no-underline hidden md:inline-flex absolute -bottom-10 -right-14 items-center gap-2 p-3 text-base btn" }}
422
423 <div class="relative">
424 <div class="hidden md:block absolute -top-32 -bottom-32 inset-x-0 pointer-events-none z-0 opacity-50 dark:opacity-5
425 [mask-image:linear-gradient(to_bottom,transparent_0%,black_15%,black_85%,transparent_100%)]
426 [-webkit-mask-image:linear-gradient(to_bottom,transparent_0%,black_15%,black_85%,transparent_100%)]
427 [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat]
428 [mask-size:100%_100%] [-webkit-mask-size:100%_100%]">
429 <div class="absolute inset-0 bg-slate-200 dark:bg-slate-400
430 [mask-image:url('https://assets.tangled.network/rope-2.svg')]
431 [-webkit-mask-image:url('https://assets.tangled.network/rope-2.svg')]
432 [mask-repeat:no-repeat] [-webkit-mask-repeat:no-repeat]
433 [mask-position:-400px_center] [-webkit-mask-position:-400px_center]
434 [mask-size:auto_200%] [-webkit-mask-size:auto_200%]"></div>
435 </div>
436 <div class="relative z-10 w-full flex flex-col gap-6 md:gap-40 max-w-5xl mx-auto px-2">
437 <div class="{{ $cardStyle }} md:mr-32">
438 <div class="{{ $cardInnerStyle }}">
439 {{ $moreLink := "https://docs.tangled.org/quick-start-guide.html#login-or-sign-up" }}
440 <div class="{{ $contentStyle }}">
441 <h2 class="{{ $titleStyle }}">Built on AT Protocol</h2>
442 <p class="{{ $descriptionStyle }}">
443 <a class="underline" href="https://atproto.com/">AT Protocol</a> enables federated code-collaboration. Submit
444 pull-requests or bug-reports to any repository hosted on any
445 server.
446 <br>
447 <br>
448 Bring an existing AT Protocol account (such as your Bluesky
449 account), or signup for one with us.
450 </p>
451 <a href="{{ $moreLink }}" class="{{ $linkMobileStyle }}">
452 Learn more
453 {{ i "arrow-right" "size-4" }}
454 </a>
455 </div>
456 <div class="{{ $iconContainerStyle }}">
457 <div class="{{ $iconCircleStyle }} w-full h-full bg-blue-100 dark:bg-blue-900/50">
458 {{ i "at-sign" "size-12 md:size-24" "text-blue-500 dark:text-blue-500" "rotate-12" }}
459 </div>
460 <div class="{{ $iconCircleStyle }} absolute -top-2 -left-2 w-10 h-10 md:w-16 md:h-16 rounded-full bg-white dark:bg-gray-800 -rotate-12">
461 {{ i "globe" "size-4 md:size-8" "text-blue-500 dark:text-blue-500" }}
462 </div>
463 <a href="{{ $moreLink }}" class="{{ $linkDesktopStyle }}">
464 Learn more
465 {{ i "arrow-right" "size-4" }}
466 </a>
467 </div>
468 </div>
469 </div>
470
471 <div class="{{ $cardStyle }} md:ml-32">
472 <div class="{{ $cardInnerStyle }}">
473 {{ $moreLink := "https://tangled.org/core" }}
474 <div class="{{ $contentStyle }}">
475 <h2 class="{{ $titleStyle }}">Free and open source</h2>
476 <p class="{{ $descriptionStyle }}">
477 All of Tangled is open source and built with the community!
478 Check out the <a class="underline" href="https://tangled.org/core">monorepo</a> and join in on the fun.
479 <br>
480 <br>
481 We welcome contributions however big or small. You can start contributing by picking up a
482 <a class="underline" href="https://tangled.org/tangled.org/core/issues?q=state%3Aopen+label%3Agood-first-issue">good-first-issue</a>.
483 </p>
484 <a href="{{ $moreLink }}" class="{{ $linkMobileStyle }}">
485 View source
486 {{ i "arrow-right" "size-4" }}
487 </a>
488 </div>
489 <div class="{{ $iconContainerStyle }}">
490 <div class="{{ $iconCircleStyle }} w-full h-full bg-green-100 dark:bg-green-900/50">
491 {{ i "package-open" "size-12 md:size-24" "text-green-500 dark:text-green-500" "-rotate-12" }}
492 </div>
493 <div class="absolute -top-2 -left-2 w-10 h-10 md:w-16 md:h-16 rounded-full bg-white dark:bg-gray-800 flex items-center justify-center border border-gray-200 dark:border-gray-700 rotate-12">
494 {{ i "heart" "size-4 md:size-8" "text-green-500 dark:text-green-500" }}
495 </div>
496 <a href="{{ $moreLink }}" class="{{ $linkDesktopStyle }}">
497 View source
498 {{ i "arrow-right" "size-4" }}
499 </a>
500 </div>
501 </div>
502 </div>
503
504 <div class="{{ $cardStyle }} md:mr-32">
505 <div class="{{ $cardInnerStyle }}">
506 {{ $moreLink := "/timeline" }}
507 <div class="{{ $contentStyle }}">
508 <h2 class="{{ $titleStyle }}">Social coding is back</h2>
509 <p class="{{ $descriptionStyle }}">
510 Discover trending projects, follow your friends and star your favourite repositories. Coding is better together!
511 </p>
512 <a href="{{ $moreLink }}" class="{{ $linkMobileStyle }}">
513 Explore timeline
514 {{ i "arrow-right" "size-4" }}
515 </a>
516 </div>
517 <div class="{{ $iconContainerStyle }}">
518 <div class="{{ $iconCircleStyle }} w-full h-full bg-amber-100 dark:bg-amber-900/50">
519 {{ i "message-circle-heart" "size-12 md:size-24" "text-amber-500 dark:text-amber-500" "rotate-12" }}
520 </div>
521 <div class="absolute -top-2 -left-2 w-10 h-10 md:w-16 md:h-16 rounded-full bg-white dark:bg-gray-800 flex items-center justify-center border border-gray-200 dark:border-gray-700 -rotate-12">
522 {{ i "users" "size-4 md:size-8" "text-amber-500 dark:text-amber-500" }}
523 </div>
524 <a href="{{ $moreLink }}" class="{{ $linkDesktopStyle }}">
525 Explore timeline
526 {{ i "arrow-right" "size-4" }}
527 </a>
528 </div>
529 </div>
530 </div>
531 </div>
532 </div>
533{{ end }}
534
535{{ define "changelog" }}
536 <div class="w-full px-2 py-16 md:py-24">
537 <h2 class="text-3xl md:text-4xl font-bold mb-8 text-gray-900 dark:text-gray-100">Changelog</h2>
538
539 <div class="grid grid-cols-1 gap-6 mb-6">
540 {{ range $index := list 0 1 2 3 }}
541 <div class="bg-white dark:bg-gray-800 rounded shadow-sm border border-gray-200 dark:border-gray-700 p-6">
542 <div class="flex items-center gap-2 mb-3">
543 <span class="text-xs font-medium text-gray-500 dark:text-gray-400">v1.{{ sub 3 $index }}.0</span>
544 <span class="text-xs text-gray-400 dark:text-gray-500">•</span>
545 <span class="text-xs text-gray-500 dark:text-gray-400">Feb {{ sub 16 $index }}, 2026</span>
546 </div>
547 <h3 class="text-lg font-semibold mb-2 text-gray-900 dark:text-gray-100">Feature Update {{ sub 4 $index }}</h3>
548 <p class="text-sm text-gray-600 dark:text-gray-300 leading-relaxed">
549 Improvements to the platform including bug fixes, performance enhancements, and new features.
550 </p>
551 </div>
552 {{ end }}
553 </div>
554
555 <div class="flex justify-end">
556 <a href="/changelog" class="hover:no-underline inline-flex items-center gap-2 px-4 py-2 text-base btn">
557 View full changelog
558 {{ i "arrow-right" "size-4" }}
559 </a>
560 </div>
561 </div>
562{{ end }}
563
564{{ define "recentUpdates" }}
565 <div class="w-full px-2 py-16 md:py-24">
566 <h2 class="px-4 text-3xl md:text-4xl font-bold text-gray-900 dark:text-gray-100 mb-2">Recent updates</h2>
567 <p class="px-4 mb-8 text-gray-500 dark:text-gray-400">
568 Follow <a href="https://bsky.app/profile/tangled.org">@tangled.org</a> on Bluesky for more!
569 </p>
570 <div class="columns-1 md:columns-2 lg:columns-3 gap-6">
571 {{ range $index, $post := .BlueskyPosts }}
572 <div class="{{ if ge $index 3 }}hidden md:block{{ end }}">
573 {{ template "post" $post }}
574 </div>
575 {{ end }}
576 </div>
577 </div>
578{{ end }}
579
580{{ define "post" }}
581 {{ $author := or .AuthorDid "tangled.org" }}
582 <div class="bg-white dark:bg-gray-800 rounded shadow-sm border border-gray-200 dark:border-gray-700 px-6 py-4 flex flex-col gap-2 break-inside-avoid mb-6">
583 <div class="flex items-center justify-between text-sm text-gray-500 dark:text-gray-400">
584 <a href="https://bsky.app/profile/{{ $author }}" target="_blank" rel="noopener noreferrer" class="flex items-center gap-2 no-underline hover:no-underline">
585 {{ template "user/fragments/picHandle" $author }}
586 </a>
587 <span>{{ template "repo/fragments/shortTimeAgo" .CreatedAt }}</span>
588 </div>
589 <p class="text-gray-900 dark:text-gray-100 text-base leading-relaxed whitespace-pre-wrap">{{ .Text }}</p>
590
591 {{ if .Embed }}
592 {{ if .Embed.Images }}
593 {{ if eq (len .Embed.Images) 1 }}
594 {{ with index .Embed.Images 0 }}
595 <img src="{{ .Fullsize }}" alt="{{ .Alt }}"
596 class="rounded w-full h-auto object-cover border border-gray-200 dark:border-gray-700"
597 loading="lazy" />
598 {{ end }}
599 {{ else }}
600 {{ $total := len .Embed.Images }}
601 <div class="flex overflow-x-auto gap-1.5 rounded"
602 style="scrollbar-width: none; -ms-overflow-style: none;"
603 data-bsky-carousel>
604 {{ range $i, $img := .Embed.Images }}
605 <div class="relative flex-shrink-0 h-full">
606 <img src="{{ $img.Fullsize }}" alt="{{ $img.Alt }}"
607 class="h-full w-auto rounded object-cover border border-gray-200 dark:border-gray-700"
608 loading="lazy"
609 {{ if $img.AspectRatio }}data-aspect="{{ $img.AspectRatio.Width }}:{{ $img.AspectRatio.Height }}"{{ end }} />
610 <span class="absolute top-2 right-2 bg-black/60 text-white text-xs font-medium px-1.5 py-0.5 rounded pointer-events-none select-none tabular-nums">{{ add $i 1 }}/{{ $total }}</span>
611 </div>
612 {{ end }}
613 </div>
614 {{ end }}
615 {{ else if .Embed.External }}
616 <a href="{{ .Embed.External.Uri }}" target="_blank" rel="noopener noreferrer" class="hover:no-underline block border border-gray-200 dark:border-gray-700 rounded overflow-hidden hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
617 {{ if .Embed.External.Thumb }}
618 <img src="{{ .Embed.External.Thumb }}" alt="" class="w-full h-48 object-cover" loading="lazy" />
619 {{ end }}
620 <div class="p-3">
621 <div class="font-medium text-gray-900 dark:text-gray-100 text-sm mb-1">{{ .Embed.External.Title }}</div>
622 <div class="text-xs text-gray-600 dark:text-gray-400 line-clamp-2">{{ .Embed.External.Description }}</div>
623 <div class="text-xs text-gray-500 dark:text-gray-500 mt-1">{{ .Embed.External.Uri }}</div>
624 </div>
625 </a>
626 {{ else if .Embed.Video }}
627 <video
628 class="rounded w-full h-auto max-h-[32rem] bg-black border border-gray-200 dark:border-gray-700"
629 controls
630 preload="none"
631 playsinline
632 {{ with .Embed.Video.Thumbnail }}poster="{{ . }}"{{ end }}
633 {{ with .Embed.Video.Alt }}aria-label="{{ . }}"{{ end }}
634 data-hls="{{ .Embed.Video.Playlist }}"
635 ></video>
636 {{ end }}
637 {{ end }}
638
639 <a href="https://bsky.app/profile/{{ $author }}/post/{{ .Rkey }}"
640 target="_blank"
641 rel="noopener noreferrer"
642 class="flex items-center justify-between gap-4 text-sm text-gray-500 dark:text-gray-400 pt-2 no-underline hover:no-underline">
643 <div class="flex items-center gap-4">
644 <div class="flex items-center gap-1">
645 {{ i "heart" "size-4" }}
646 <span>{{ .LikeCount }}</span>
647 </div>
648 <div class="flex items-center gap-1">
649 {{ i "repeat-2" "size-4" }}
650 <span>{{ .RepostCount }}</span>
651 </div>
652 <div class="flex items-center gap-1">
653 {{ i "message-square" "size-4 -scale-x-1" }}
654 <span>{{ add64 .ReplyCount .QuoteCount }}</span>
655 </div>
656 </div>
657 {{ i "arrow-up-right" "size-4" }}
658 </a>
659 </div>
660{{ end }}
661
662{{ define "newsletter" }}
663 <div class="w-full px-2 py-16 md:py-24">
664 <div class="max-w-2xl mx-auto text-center space-y-6">
665 <h2 class="text-3xl md:text-6xl font-bold text-gray-900 dark:text-gray-100">Stay in the loop</h2>
666 <p class="text-xl text-gray-600 dark:text-gray-300">
667 We've got a newsletter! Punch in your email to stay updated on what we're shipping at Tangled.
668 </p>
669 {{ template "timeline/fragments/newsletterForm" (dict "Id" "home" "Variant" "hero") }}
670 </div>
671 </div>
672{{ end }}