Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(blog): link Guides from the footer
Gus4ec139b590bd
diff --git a/src/web/blog/src/app/blog/blog-footer.dom.test.tsx b/src/web/blog/src/app/blog/blog-footer.dom.test.tsxindex 66c98cb22..d56eff884 100644--- a/src/web/blog/src/app/blog/blog-footer.dom.test.tsx+++ b/src/web/blog/src/app/blog/blog-footer.dom.test.tsx@@ -13,7 +13,7 @@ describe("Blog footer", () => {expect(doc.querySelectorAll("footer")).toHaveLength(1);expect(doc.querySelector("main footer")).toBeNull();expect(doc.querySelector("main")?.nextElementSibling?.tagName).toBe("FOOTER");- expect([...doc.querySelectorAll("footer nav a")].map((a) => a.getAttribute("href"))).toEqual(["/templates", "/blog", "/llms.txt", "/privacy"]);+ expect([...doc.querySelectorAll("footer nav a")].map((a) => a.getAttribute("href"))).toEqual(["/templates", "/blog", "/guides", "/llms.txt", "/privacy"]);expect(doc.querySelectorAll(".blog-footer-socials a")).toHaveLength(3);expect(doc.querySelector(".blog-footer-slogan")?.textContent).toContain("Share your agents");});diff --git a/src/web/blog/src/app/blog/blog-footer.tsx b/src/web/blog/src/app/blog/blog-footer.tsxindex 990fcf569..0afd4eaf1 100644--- a/src/web/blog/src/app/blog/blog-footer.tsx+++ b/src/web/blog/src/app/blog/blog-footer.tsx@@ -23,6 +23,7 @@ export function BlogFooter() {<nav className="blog-footer-navigation" aria-label="Footer navigation"><ZoneLink href="/templates" zone="blog">Templates</ZoneLink><ZoneLink href="/blog" zone="blog">Blog</ZoneLink>+ <ZoneLink href="/guides" zone="blog">Guides</ZoneLink><ZoneLink href="/llms.txt" zone="blog">llms.txt</ZoneLink><ZoneLink href="/privacy" zone="blog">Privacy</ZoneLink></nav>diff --git a/src/web/blog/src/app/guides/layout.dom.test.tsx b/src/web/blog/src/app/guides/layout.dom.test.tsxindex cf79a0c21..2ef105e8c 100644--- a/src/web/blog/src/app/guides/layout.dom.test.tsx+++ b/src/web/blog/src/app/guides/layout.dom.test.tsx@@ -17,7 +17,7 @@ describe("Guides layout", () => {render(<GuidesLayout><h1>Guide directory</h1></GuidesLayout>);expect(within(screen.getByRole("main")).getByRole("heading", { name: "Guide directory" })).toBeVisible();- const breadcrumb = screen.getByRole("link", { name: "Guides", exact: true });+ const breadcrumb = within(screen.getByRole("navigation", { name: "", exact: true })).getByRole("link", { name: "Guides", exact: true });expect(breadcrumb).toHaveAttribute("href", "/guides");expect(breadcrumb).toHaveAttribute("data-next-link", "true");expect(screen.getByRole("button", { name: "Toggle theme" })).toBeVisible();@@ -29,12 +29,11 @@ describe("Guides layout", () => {const footer = within(screen.getByRole("contentinfo"));const navigation = within(footer.getByRole("navigation", { name: "Footer navigation" }));expect(navigation.getAllByRole("link").map((link) => link.getAttribute("href")))- .toEqual(["/templates", "/blog", "/llms.txt", "/privacy"]);+ .toEqual(["/templates", "/blog", "/guides", "/llms.txt", "/privacy"]);expect(navigation.getByRole("link", { name: "Blog", exact: true })).toHaveAttribute("data-next-link", "true");for (const name of ["Templates", "llms.txt", "Privacy"]) {expect(navigation.getByRole("link", { name, exact: true })).not.toHaveAttribute("data-next-link");}- expect(footer.queryByRole("link", { name: "Guides", exact: true })).not.toBeInTheDocument();- expect(footer.getAllByRole("link").some((link) => link.getAttribute("href")?.startsWith("/guides"))).toBe(false);+ expect(navigation.getByRole("link", { name: "Guides", exact: true })).toHaveAttribute("data-next-link", "true");});});