diff --git a/web/components/NoSEO.tsx b/web/components/NoSEO.tsx index 53437b10..ad786f37 100644 --- a/web/components/NoSEO.tsx +++ b/web/components/NoSEO.tsx @@ -1,9 +1,13 @@ +import {endTitle} from 'common/envs/constants' import Head from 'next/head' /** Exclude page from search results */ -export function NoSEO() { +export function NoSEO(props: {title?: string}) { + let title = props.title ? props.title + ' | ' : '' + title += endTitle return (
+>(props: { image ?? (ogProps && buildOgUrl(removeUndefinedProps(ogProps.props) as any, ogProps.endpoint)) const absUrl = 'https://compassmeet.com' + url - const endTitle = IS_PROD ? 'Compass' : 'Compass dev' return (
diff --git a/web/pages/notifications.tsx b/web/pages/notifications.tsx index 344dfdd9..0cd18f7d 100644 --- a/web/pages/notifications.tsx +++ b/web/pages/notifications.tsx @@ -22,7 +22,7 @@ export default function NotificationsPage() { return (