diff --git a/web/components/nav/love-sidebar.tsx b/web/components/nav/love-sidebar.tsx index 5f9b432..c397ea8 100644 --- a/web/components/nav/love-sidebar.tsx +++ b/web/components/nav/love-sidebar.tsx @@ -12,7 +12,7 @@ import { firebaseLogin, firebaseLogout } from 'web/lib/firebase/users' import { withTracking } from 'web/lib/service/analytics' import { ProfileSummary } from './love-profile-summary' import { Item, SidebarItem } from './love-sidebar-item' -import ManifoldLoveLogo from '../manifold-love-logo' +import SiteLogo from '../site-logo' import { Button, ColorType, SizeType } from 'web/components/buttons/button' import {signupRedirect} from 'web/lib/util/signup' import { useLover } from 'web/hooks/use-lover' @@ -44,7 +44,7 @@ export default function Sidebar(props: { aria-label="Sidebar" className={clsx('flex h-screen flex-col', className)} > - + {user === undefined &&
} diff --git a/web/components/manifold-love-logo.tsx b/web/components/site-logo.tsx similarity index 93% rename from web/components/manifold-love-logo.tsx rename to web/components/site-logo.tsx index a387288..4438a10 100644 --- a/web/components/manifold-love-logo.tsx +++ b/web/components/site-logo.tsx @@ -4,7 +4,7 @@ import { ENV } from 'common/envs/constants' import { Row } from 'web/components/layout/row' import FavIcon from "web/public/FavIcon"; -export default function ManifoldLoveLogo(props: { +export default function SiteLogo(props: { noLink?: boolean className?: string }) { diff --git a/web/next.config.js b/web/next.config.js index 250b643..919c7b5 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -68,13 +68,6 @@ module.exports = { return config }, async redirects() { - return [ - // backwards compatibility - { - source: '/Bet_On_Love.pdf', - destination: 'https://manifold.markets/Bet_On_Love.pdf', - permanent: false, - }, - ] + return [] }, } diff --git a/web/pages/_app.tsx b/web/pages/_app.tsx index 293fccc..0884b40 100644 --- a/web/pages/_app.tsx +++ b/web/pages/_app.tsx @@ -1,15 +1,15 @@ -import type { AppProps } from 'next/app' +import type {AppProps} from 'next/app' import Head from 'next/head' -import { useEffect } from 'react' -import { Router } from 'next/router' +import {useEffect} from 'react' +import {Router} from 'next/router' import posthog from 'posthog-js' -import { PostHogProvider } from 'posthog-js/react' -import { AuthProvider, AuthUser } from 'web/components/auth-context' -import { useHasLoaded } from 'web/hooks/use-has-loaded' +import {PostHogProvider} from 'posthog-js/react' +import {AuthProvider, AuthUser} from 'web/components/auth-context' +import {useHasLoaded} from 'web/hooks/use-has-loaded' import '../styles/globals.css' -import { Major_Mono_Display, Figtree } from 'next/font/google' +import {Major_Mono_Display} from 'next/font/google' import clsx from 'clsx' -import { initTracking } from 'web/lib/service/analytics' +import {initTracking} from 'web/lib/service/analytics' // See https://nextjs.org/docs/basic-features/font-optimization#google-fonts // and if you add a font, you must add it to tailwind config as well for it to work. @@ -44,9 +44,9 @@ function printBuildInfo() { } // specially treated props that may be present in the server/static props -type ManifoldPageProps = { auth?: AuthUser } +type PageProps = { auth?: AuthUser } -function MyApp({ Component, pageProps }: AppProps) { +function MyApp({Component, pageProps}: AppProps) { useEffect(printBuildInfo, []) useHasLoaded() @@ -62,7 +62,7 @@ function MyApp({ Component, pageProps }: AppProps) { }, []) const title = 'Compass' - const description = 'Questionable dating site' + const description = 'Search lasting connections' return ( <> @@ -75,25 +75,25 @@ function MyApp({ Component, pageProps }: AppProps) { content={title} key="title" /> - + - - - - + + + + {/**/} ) { {/* Workaround for https://github.com/tailwindlabs/headlessui/discussions/666, to allow font CSS variable */}
-
+
- {/* TODO: Reenable one tap setup */} + {/* TODO: Re-enable one tap setup */} {/* */} ) diff --git a/web/pages/signup.tsx b/web/pages/signup.tsx index 8176530..030ba71 100644 --- a/web/pages/signup.tsx +++ b/web/pages/signup.tsx @@ -7,7 +7,7 @@ import {LoadingIndicator} from 'web/components/widgets/loading-indicator' import {CACHED_REFERRAL_USERNAME_KEY,} from 'web/lib/firebase/users' import {api} from 'web/lib/api' import Router, {useRouter} from 'next/router' -import ManifoldLoveLogo from 'web/components/manifold-love-logo' +import SiteLogo from 'web/components/site-logo' import {useTracking} from 'web/hooks/use-tracking' import {track} from 'web/lib/service/analytics' import {safeLocalStorage} from 'web/lib/util/local' @@ -61,7 +61,7 @@ export default function SignupPage() {
) : user === null ? ( - +