fix(pre-release): remove draft text, fix [object Object] on ai-lab, clean slug routing
- ai-lab.astro: wrap venture summaries in LocaleCopy (was rendering [object Object]) - [slug].astro: add writing to exclusion list; remove draft sidebar paragraph - site.ts: redirect family slug to /family-lab - cookies.astro, privacy.astro: strip draft-only language from copy - education.astro: remove unfinished-content bullet from editorial note Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -240,5 +240,7 @@ export const sectionCardCta: Record<LocaleCode, string> = {
|
||||
};
|
||||
|
||||
export function getSectionHref(section: LaunchSection) {
|
||||
return section.slug === "education" ? "/education" : `/${section.slug}`;
|
||||
if (section.slug === "education") return "/education";
|
||||
if (section.slug === "family") return "/family-lab";
|
||||
return `/${section.slug}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user