Replace the landing with the artifact design and rebuild the admin in Ant Design.
Adds consultation leads, section editors, and the one-time content reset for this release. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/** In-page anchors (`#solutions`) work on the home page; elsewhere they must point back to `/`. */
|
||||
export function useSectionHref() {
|
||||
const route = useRoute();
|
||||
return (href: string) => {
|
||||
if (!href.startsWith("#") || route.path === "/") return href;
|
||||
return href === "#" ? "/" : `/${href}`;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user