Skip to content

Commit f65f60c

Browse files
committed
Mention BotKit and DrFed in the landing footer
BotKit, a framework for building ActivityPub bots, and DrFed, a web-based ActivityPub debugging platform, are sister projects built on Fedify by the same team. Add a quiet line to the landing footer, under the community and sponsors lines, that links to both with their small logos. It is deliberately understated rather than a feature section, so it reads as a footnote about the wider family rather than competing with Fedify's own pitch. Assisted-by: Claude Code:claude-opus-4-8
1 parent ec739d4 commit f65f60c

3 files changed

Lines changed: 676 additions & 0 deletions

File tree

docs/.vitepress/theme/components/HomeLanding.vue

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,23 @@ const outboxCode = `federation
497497
.<span class="c-fn">authorize</span>(<span class="c-kw">async</span> (ctx, id) =>
498498
(<span class="c-kw">await</span> <span class="c-fn">getSession</span>(ctx.request))?.user === id);`;
499499
500+
// Sister projects built on Fedify by the same team, shown with their own
501+
// full-color logos and linking to their sites.
502+
const sisterProjects = [
503+
{
504+
name: "BotKit",
505+
url: "https://botkit.fedify.dev/",
506+
logo: "/logos/botkit.svg",
507+
desc: "A framework for building ActivityPub bots.",
508+
},
509+
{
510+
name: "DrFed",
511+
url: "https://drfed.org/",
512+
logo: "/logos/drfed.svg",
513+
desc: "A web-based ActivityPub debugging platform.",
514+
},
515+
];
516+
500517
// Lightly highlighted showcase snippet (authored string, rendered with v-html).
501518
const code = `<span class="c-kw">import</span> { <span class="c-ty">createFederation</span>, <span class="c-ty">Person</span> } <span class="c-kw">from</span> <span class="c-st">"@fedify/fedify"</span>;
502519
@@ -1050,6 +1067,20 @@ federation.<span class="c-fn">setActorDispatcher</span>(
10501067
Fedify is free and open source.
10511068
<a href="/sponsors">Meet our sponsors →</a>
10521069
</p>
1070+
<p class="lp-also">
1071+
<span class="lp-also-label">Also from the Fedify team:</span>
1072+
<a
1073+
v-for="p in sisterProjects"
1074+
:key="p.name"
1075+
class="lp-also-link"
1076+
:href="p.url"
1077+
:title="p.desc"
1078+
target="_blank"
1079+
rel="noopener noreferrer"
1080+
>
1081+
<img :src="p.logo" alt="" />{{ p.name }}
1082+
</a>
1083+
</p>
10531084
</div>
10541085
</section>
10551086

@@ -2066,6 +2097,31 @@ a.lp-stack-name::after {
20662097
color: var(--vp-c-brand-1);
20672098
font-weight: 600;
20682099
}
2100+
.lp-also {
2101+
margin-top: 0.6rem;
2102+
font-size: 0.92rem;
2103+
color: var(--vp-c-text-2);
2104+
}
2105+
.lp-also-label {
2106+
vertical-align: middle;
2107+
}
2108+
.lp-also-link {
2109+
display: inline-flex;
2110+
align-items: center;
2111+
gap: 0.3rem;
2112+
margin-left: 0.6rem;
2113+
vertical-align: middle;
2114+
color: var(--vp-c-text-1);
2115+
font-weight: 600;
2116+
text-decoration: none;
2117+
}
2118+
.lp-also-link:hover {
2119+
color: var(--vp-c-brand-1);
2120+
}
2121+
.lp-also-link img {
2122+
height: 19px;
2123+
width: auto;
2124+
}
20692125
20702126
/* --------------------------- Backed by ------------------------- */
20712127
.lp-backer {

docs/public/logos/botkit.svg

Lines changed: 225 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)