mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
update meta description
This commit is contained in:
1 parent
9b8f8745e7
commit
0190b9ceab
3 files changed
+7
-6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
export const APP_NAME = 'Supabase'
|
||||
export const DESCRIPTION = 'The Open Source Alternative to Firebase.'
|
||||
export const DEFAULT_META_DESCRIPTION =
|
||||
'Build production-grade applications with a Postgres database, Authentication, instant APIs, Realtime, Functions, Storage and Vector embeddings. Start for free.'
|
||||
export const IS_PROD = process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
||||
export const IS_PREVIEW = process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
|
||||
export const API_URL = process.env.NEXT_PUBLIC_API_URL
|
||||
|
||||
@@ -3,7 +3,7 @@ import '../../../packages/ui/build/css/themes/dark.css'
|
||||
|
||||
import '../styles/index.css'
|
||||
|
||||
import { API_URL, APP_NAME, DESCRIPTION } from 'lib/constants'
|
||||
import { API_URL, APP_NAME, DEFAULT_META_DESCRIPTION } from 'lib/constants'
|
||||
import { DefaultSeo } from 'next-seo'
|
||||
import { AppProps } from 'next/app'
|
||||
import { useRouter } from 'next/router'
|
||||
@@ -52,7 +52,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
}
|
||||
}, [router.isReady])
|
||||
|
||||
const site_title = `The Open Source Firebase Alternative | ${APP_NAME}`
|
||||
const site_title = `${APP_NAME} | The Open Source Firebase Alternative`
|
||||
const { basePath } = useRouter()
|
||||
|
||||
return (
|
||||
@@ -63,7 +63,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
|
||||
<Meta />
|
||||
<DefaultSeo
|
||||
title={site_title}
|
||||
description={DESCRIPTION}
|
||||
description={DEFAULT_META_DESCRIPTION}
|
||||
openGraph={{
|
||||
type: 'website',
|
||||
url: 'https://supabase.com/',
|
||||
|
||||
@@ -4,7 +4,7 @@ import CTABanner from 'components/CTABanner/index'
|
||||
import FlyOut from 'components/UI/FlyOut'
|
||||
import { AlphaNumbers, IntroductionSegments, PerformanceComparisonData } from 'data/BetaPage'
|
||||
import authors from 'lib/authors.json'
|
||||
import { APP_NAME, DESCRIPTION } from 'lib/constants'
|
||||
import { APP_NAME, DEFAULT_META_DESCRIPTION } from 'lib/constants'
|
||||
import { NextSeo } from 'next-seo'
|
||||
import Head from 'next/head'
|
||||
import Link from 'next/link'
|
||||
@@ -975,7 +975,7 @@ const Beta = (props: Props) => {
|
||||
title={site_title}
|
||||
openGraph={{
|
||||
title: site_title,
|
||||
description: DESCRIPTION,
|
||||
description: DEFAULT_META_DESCRIPTION,
|
||||
url: `https://supabase.com/beta`,
|
||||
type: 'article',
|
||||
article: {
|
||||
|
||||
Reference in new issue
Block a user