diff --git a/public/llms.txt b/public/llms.txt index 8d55cd4..4e2eac8 100644 --- a/public/llms.txt +++ b/public/llms.txt @@ -30,7 +30,7 @@ The organization welcomes students at all experience levels. Event details, offi - [Email](mailto:compbioatberkeley@gmail.com): General questions and collaboration inquiries; do not send sensitive information. - [LinkedIn](https://www.linkedin.com/company/computational-biology-at-berkeley/): Organization updates and professional contact. -- [Linktree](https://linktr.ee/compbioatberkeley): Current collection of public links and contact destinations. +- [Linktree](https://linktr.ee/UCB_CompBio): Current collection of public links and contact destinations. - [GitHub](https://github.com/CompbioAtBerkeley): Public organization repositories. ## Machine-readable resources diff --git a/scripts/lib/site-seo.test.js b/scripts/lib/site-seo.test.js index f409469..7b21d2b 100644 --- a/scripts/lib/site-seo.test.js +++ b/scripts/lib/site-seo.test.js @@ -151,7 +151,7 @@ test("publishes exact brand metadata and developer discovery links in the HTML s "CompBio at Berkeley", "compbioatberkeley.github.io", ]); - assert.ok(identity.sameAs.includes("https://linktr.ee/compbioatberkeley")); + assert.ok(identity.sameAs.includes("https://linktr.ee/UCB_CompBio")); assert.match( entry, //, diff --git a/scripts/validate-seo-build.mjs b/scripts/validate-seo-build.mjs index ea8c5b0..1b50184 100644 --- a/scripts/validate-seo-build.mjs +++ b/scripts/validate-seo-build.mjs @@ -134,6 +134,9 @@ for (const page of pages) { } const mainTextLength = visibleText(mainHtml).length; + assert.doesNotMatch(html, /https:\/\/forms\.gle\/EQmWP1JWzDzrFji79/); + assert.doesNotMatch(html, /https:\/\/linktr\.ee\/compbioatberkeley/); + assert.ok(html.includes('href="https://linktr.ee/UCB_CompBio"')); if (page.path === "/") { assert.ok(mainTextLength >= 2000, `home SSR text must be substantial; received ${mainTextLength}`); const contentEfficiency = visibleText(html).length / html.length; @@ -156,12 +159,28 @@ for (const page of pages) { } if (page.path === "/signup/") { assert.match(mainHtml, /Updated Fall 2026 recruitment timeline/); + assert.ok(mainHtml.includes('href="https://forms.gle/4cR1nfRoLb2LGNbi7"')); + assert.ok( + mainHtml.includes( + 'href="https://docs.google.com/document/d/1ZGq3KV4MprEdPDUu8v7QO9AuGSpB2eEmsyVCCK9nLDU/edit?usp=sharing"', + ), + ); + assert.ok(mainHtml.includes('href="https://linktr.ee/UCB_CompBio"')); assert.match(mainHtml, /September 9/); assert.match(mainHtml, /VLSB 2030/); assert.doesNotMatch(mainHtml, /September 7/); } + if (page.path === "/") { + assert.ok(mainHtml.includes('href="https://forms.gle/4cR1nfRoLb2LGNbi7"')); + } + if (["/contact/", "/collaborations/"].includes(page.path)) { + assert.ok(mainHtml.includes('href="https://linktr.ee/UCB_CompBio"')); + } } +assert.doesNotMatch(llmsText, /https:\/\/linktr\.ee\/compbioatberkeley/); +assert.match(llmsText, /https:\/\/linktr\.ee\/UCB_CompBio/); + const robots = await fs.readFile(path.join(distDirectory, "robots.txt"), "utf8"); const notFound = await fs.readFile(path.join(distDirectory, "404.html"), "utf8"); assert.match(notFound, /name="robots" content="noindex, nofollow"/); diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 377bbbe..963ea97 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -18,7 +18,7 @@ const socialLinks = [ { name: "linkedin", url: "https://www.linkedin.com/company/computational-biology-at-berkeley/" }, { name: "github", url: "https://github.com/CompbioAtBerkeley" }, { name: "projects", url: "https://github.com/Compbio-at-berkeley-projects" }, - { name: "linktree", url: "https://linktr.ee/compbioatberkeley" }, + { name: "linktree", url: "https://linktr.ee/UCB_CompBio" }, ]; const Footer = () => ( diff --git a/src/data/siteIdentity.json b/src/data/siteIdentity.json index a6a2cbe..5072b67 100644 --- a/src/data/siteIdentity.json +++ b/src/data/siteIdentity.json @@ -13,7 +13,7 @@ "https://github.com/CompbioAtBerkeley", "https://www.instagram.com/ucb_compbio/", "https://www.linkedin.com/company/computational-biology-at-berkeley/", - "https://linktr.ee/compbioatberkeley" + "https://linktr.ee/UCB_CompBio" ], "address": { "addressLocality": "Berkeley", diff --git a/src/pages/Collaborations.tsx b/src/pages/Collaborations.tsx index 3855982..f715f59 100644 --- a/src/pages/Collaborations.tsx +++ b/src/pages/Collaborations.tsx @@ -5,7 +5,7 @@ import { PageHeader, SectionHeading } from "@/components/PageHeader"; const LINKEDIN = "https://www.linkedin.com/company/computational-biology-at-berkeley/"; -const LINKTREE = "https://linktr.ee/compbioatberkeley"; +const LINKTREE = "https://linktr.ee/UCB_CompBio"; const Collaborations = () => (