Isometric line figures that answer the pointer. For React and for anything with a DOM.
Footer: the author's name links lucasmarkes.com, and X takes the essay's place
Lucas Marquesa99e02de8aba
diff --git a/apps/site/app/page.tsx b/apps/site/app/page.tsxindex f835c6f..74b696d 100644--- a/apps/site/app/page.tsx+++ b/apps/site/app/page.tsx@@ -131,13 +131,13 @@ export default async function Page() {<footer className="flex flex-wrap items-baseline gap-x-6 gap-y-3 border-t border-line pt-8 text-[13px] text-muted"><p>- MIT licensed. Built by Lucas Marques. After <a className="text-ink" href={LINKS.linear}>Linear</a>’s figures.+ MIT licensed. Built by <a className="text-ink" href={LINKS.author}>Lucas Marques</a>. After <a className="text-ink" href={LINKS.linear}>Linear</a>’s figures.</p><nav className="flex gap-5 md:ml-auto"><a className="text-ink" href={LINKS.npm}>npm</a><a className="text-ink" href={LINKS.github}>GitHub</a><a className="text-ink" href="/llms.txt">llms.txt</a>- <a className="text-ink" href={LINKS.essay}>The essay</a>+ <a className="text-ink" href={LINKS.x}>X</a></nav></footer></main>diff --git a/apps/site/lib/figures.ts b/apps/site/lib/figures.tsindex d9ddee4..0b984de 100644--- a/apps/site/lib/figures.ts+++ b/apps/site/lib/figures.ts@@ -107,4 +107,6 @@ export const LINKS = {npm: "https://www.npmjs.com/package/@lucasmarkes/hairline",essay: "https://lucasmarkes.com/lab/hairline",linear: "https://linear.app",+ author: "https://lucasmarkes.com",+ x: "https://x.com/lucasmarkes__",} as const;diff --git a/apps/site/test/site.spec.ts b/apps/site/test/site.spec.tsindex deebf92..23b683a 100644--- a/apps/site/test/site.spec.ts+++ b/apps/site/test/site.spec.ts@@ -209,3 +209,11 @@ test("a command wider than the pill fades at the edge until it is scrolled to itawait expect(line).not.toHaveAttribute("data-more");await expect(line).toHaveCSS("mask-image", "none");});++test("the footer links the author's site and X, and no longer the essay", async ({ page }) => {+ await page.goto("/");+ const footer = page.locator("footer");+ await expect(footer.getByRole("link", { name: "Lucas Marques" })).toHaveAttribute("href", "https://lucasmarkes.com");+ await expect(footer.getByRole("link", { name: "X", exact: true })).toHaveAttribute("href", "https://x.com/lucasmarkes__");+ await expect(footer.getByRole("link")).toHaveText(["Lucas Marques", "Linear", "npm", "GitHub", "llms.txt", "X"]);+});