mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Clean images and SEO
This commit is contained in:
@@ -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)}
|
||||
>
|
||||
<ManifoldLoveLogo />
|
||||
<SiteLogo />
|
||||
|
||||
{user === undefined && <div className="h-[56px]" />}
|
||||
|
||||
|
||||
@@ -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
|
||||
}) {
|
||||
@@ -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 []
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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<ManifoldPageProps>) {
|
||||
function MyApp({Component, pageProps}: AppProps<PageProps>) {
|
||||
useEffect(printBuildInfo, [])
|
||||
useHasLoaded()
|
||||
|
||||
@@ -62,7 +62,7 @@ function MyApp({ Component, pageProps }: AppProps<ManifoldPageProps>) {
|
||||
}, [])
|
||||
|
||||
const title = 'Compass'
|
||||
const description = 'Questionable dating site'
|
||||
const description = 'Search lasting connections'
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -75,25 +75,25 @@ function MyApp({ Component, pageProps }: AppProps<ManifoldPageProps>) {
|
||||
content={title}
|
||||
key="title"
|
||||
/>
|
||||
<meta name="description" content={description} key="description1" />
|
||||
<meta name="description" content={description} key="description1"/>
|
||||
<meta
|
||||
property="og:description"
|
||||
name="twitter:description"
|
||||
content={description}
|
||||
key="description2"
|
||||
/>
|
||||
<meta property="og:url" content="https://manifold.markets" key="url" />
|
||||
<meta property="og:site_name" content="Manifold" />
|
||||
<meta name="twitter:card" content="summary" key="card" />
|
||||
<meta name="twitter:site" content="@manifoldmarkets" />
|
||||
<meta property="og:url" content="https://compassmeet.com" key="url"/>
|
||||
<meta property="og:site_name" content="Compass"/>
|
||||
<meta name="twitter:card" content="summary" key="card"/>
|
||||
{/*<meta name="twitter:site" content="@compassmeet"/>*/}
|
||||
<meta
|
||||
name="twitter:image"
|
||||
content="https://manifold.love/bet-on-love.png"
|
||||
content="https://www.compassmeet.com/favicon.ico"
|
||||
key="image2"
|
||||
/>
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://manifold.love/bet-on-love.png"
|
||||
content="https://www.compassmeet.com/favicon.ico"
|
||||
key="image1"
|
||||
/>
|
||||
<meta
|
||||
@@ -118,11 +118,11 @@ function MyApp({ Component, pageProps }: AppProps<ManifoldPageProps>) {
|
||||
</AuthProvider>
|
||||
{/* Workaround for https://github.com/tailwindlabs/headlessui/discussions/666, to allow font CSS variable */}
|
||||
<div id="headlessui-portal-root">
|
||||
<div />
|
||||
<div/>
|
||||
</div>
|
||||
</div>
|
||||
</PostHogProvider>
|
||||
{/* TODO: Reenable one tap setup */}
|
||||
{/* TODO: Re-enable one tap setup */}
|
||||
{/* <GoogleOneTapSetup /> */}
|
||||
</>
|
||||
)
|
||||
|
||||
@@ -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() {
|
||||
<div/>
|
||||
) : user === null ? (
|
||||
<Col className={'items-center justify-around gap-4 pt-[20vh]'}>
|
||||
<ManifoldLoveLogo/>
|
||||
<SiteLogo/>
|
||||
<Button
|
||||
color={'gray-outline'}
|
||||
size={'2xl'}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 453 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB |
@@ -1,13 +0,0 @@
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
stroke-width="1"
|
||||
stroke="currentColor"
|
||||
>
|
||||
<path
|
||||
d="M5.24854 17.0952L18.7175 6.80301L14.3444 20M5.24854 17.0952L9.79649 18.5476M5.24854 17.0952L4.27398 6.52755M14.3444 20L9.79649 18.5476M14.3444 20L22 12.638L16.3935 13.8147M9.79649 18.5476L12.3953 15.0668M4.27398 6.52755L10.0714 13.389M4.27398 6.52755L2 9.0818L4.47389 8.85643M12.9451 11.1603L10.971 5L8.65369 11.6611"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 523 B |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
@@ -1,33 +0,0 @@
|
||||
<svg
|
||||
id="Layer_3"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 70.12 70"
|
||||
fill="none"
|
||||
stroke="#9d174d"
|
||||
stroke-width="3px"
|
||||
>
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
stroke-miterlimit: 10;
|
||||
}
|
||||
.cls-1,
|
||||
.cls-2 {
|
||||
stroke-linejoin: bevel;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon
|
||||
class="cls-1"
|
||||
points="64.14 26.9 47.51 43.69 37.77 26.9 35.06 22.24 40 13.73 53.17 13.73 54.95 15.87 64.14 26.9"
|
||||
/>
|
||||
<polygon
|
||||
class="cls-1"
|
||||
points="47.51 43.69 35.06 56.27 22.6 43.69 5.98 26.9 16.95 13.73 30.12 13.73 35.06 22.24 37.77 26.9 47.51 43.69"
|
||||
/>
|
||||
<polygon
|
||||
class="cls-2"
|
||||
points="64.14 26.9 47.51 43.69 37.77 26.9 64.14 26.9"
|
||||
/>
|
||||
<line class="cls-1" x1="16.95" y1="13.73" x2="35.06" y2="56.27" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 761 B |
@@ -1,6 +1,3 @@
|
||||
# *
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Host
|
||||
Host: https://poly.love
|
||||
|
||||
Reference in New Issue
Block a user