From 0190b9ceaba7f6641c7c7ddce56e7dd51101cddd Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Mon, 17 Jul 2023 10:22:04 +0200 Subject: [PATCH] update meta description --- apps/www/lib/constants.ts | 3 ++- apps/www/pages/_app.tsx | 6 +++--- apps/www/pages/beta.tsx | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/www/lib/constants.ts b/apps/www/lib/constants.ts index de28be48bb9..b1143f5d6f7 100644 --- a/apps/www/lib/constants.ts +++ b/apps/www/lib/constants.ts @@ -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 diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx index 730df558da3..b35d2bfbedd 100644 --- a/apps/www/pages/_app.tsx +++ b/apps/www/pages/_app.tsx @@ -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) { { title={site_title} openGraph={{ title: site_title, - description: DESCRIPTION, + description: DEFAULT_META_DESCRIPTION, url: `https://supabase.com/beta`, type: 'article', article: {