The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add title and descriptions to pages
Isaiah Hamilton604f8173af22
diff --git a/www/pages/blog.tsx b/www/pages/blog.tsxindex 2bad1896086..8e7e5339c2d 100644--- a/www/pages/blog.tsx+++ b/www/pages/blog.tsx@@ -44,14 +44,31 @@ function Blog(props: any) {category === 'all'? props.blogs: props.blogs.filter((post: any) => {- const found = post.tags.includes(category)- return found- })+ const found = post.tags.includes(category)+ return found+ }))}, [category])+ const meta_title = 'Blog | Supabase'+ const meta_description = 'Get all your Supabase News on the Supabase blog.'+return (<>+ <NextSeo+ title={meta_title}+ description={meta_description}+ openGraph={{+ title: meta_title,+ description: meta_description,+ url: `https://supabase.com/auth`,+ images: [+ {+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,+ },+ ],+ }}+ /><Head><linkrel="alternate"diff --git a/www/pages/brand-assets.tsx b/www/pages/brand-assets.tsxindex ec0c9bd24c4..a16013e8d30 100644--- a/www/pages/brand-assets.tsx+++ b/www/pages/brand-assets.tsx@@ -8,6 +8,7 @@ import Link from 'next/link'import { useRouter } from 'next/router'import SectionContainer from '~/components/Layouts/SectionContainer'+import { NextSeo } from 'next-seo'const { Title, Text } = Typography@@ -15,8 +16,25 @@ const Index = () => {// base path for imagesconst { basePath } = useRouter()+ const meta_title = 'Branding | Supabase'+ const meta_description = 'Get Supabase Brand assets here.'+return (<>+ <NextSeo+ title={meta_title}+ description={meta_description}+ openGraph={{+ title: meta_title,+ description: meta_description,+ url: `https://supabase.com/auth`,+ images: [+ {+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,+ },+ ],+ }}+ /><Layout><Container><SectionContainer className="pb-0 md:pb-0 lg:pb-0">diff --git a/www/pages/company.tsx b/www/pages/company.tsxindex 2aeb7dc8243..a4c2dd7213a 100644--- a/www/pages/company.tsx+++ b/www/pages/company.tsx@@ -26,12 +26,33 @@ import {Space,Typography,} from '@supabase/ui'+import { NextSeo } from 'next-seo'type Props = {}-const Index = ({}: Props) => {+const Index = ({ }: Props) => {+ // base path for images+ const { basePath } = useRouter()++ const meta_title = 'Company | Supabase'+ const meta_description = 'See how the supabase runs.'+return (<>+ <NextSeo+ title={meta_title}+ description={meta_description}+ openGraph={{+ title: meta_title,+ description: meta_description,+ url: `https://supabase.com/auth`,+ images: [+ {+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,+ },+ ],+ }}+ /><Layout><Header /><Community />@@ -179,9 +200,8 @@ const Community = () => {`}><div- className={`relative h-7 w-7 mx-auto lg:mx-0 ${- x.invertImgDarkMode ? ' dark:filter dark:invert' : ''- }`}+ className={`relative h-7 w-7 mx-auto lg:mx-0 ${x.invertImgDarkMode ? ' dark:filter dark:invert' : ''+ }`}><Imagelayout="fill"diff --git a/www/pages/pricing/index.tsx b/www/pages/pricing/index.tsxindex 6e6e761dcf4..e43d2934a8e 100644--- a/www/pages/pricing/index.tsx+++ b/www/pages/pricing/index.tsx@@ -12,12 +12,30 @@ import ReactMarkdown from 'react-markdown'import CTABanner from '~/components/CTABanner'import Solutions from 'data/Solutions.json'+import { NextSeo } from 'next-seo'export default function IndexPage() {const { basePath } = useRouter()+ const meta_title = 'Pricing | Supabase'+ const meta_description = 'Supabase pricing that you can afford for your next Supabase project.'+return (<DefaultLayout>+ <NextSeo+ title={meta_title}+ description={meta_description}+ openGraph={{+ title: meta_title,+ description: meta_description,+ url: `https://supabase.com/auth`,+ images: [+ {+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,+ },+ ],+ }}+ /><div className="bg-white dark:bg-gray-800"><div className="container mx-auto px-6 lg:px-16 xl:px-20 relative pt-24 md:pt-24 lg:pt-24"><div className="text-center">diff --git a/www/pages/support.tsx b/www/pages/support.tsxindex b09df7abad5..2cb8a49536f 100644--- a/www/pages/support.tsx+++ b/www/pages/support.tsx@@ -29,12 +29,34 @@ import TwitterSocialProof from '~/components/Sections/TwitterSocialProof'// Import Swiper styles if swiper used on pageimport 'swiper/swiper.min.css'+import { useRouter } from 'next/router'+import { NextSeo } from 'next-seo'type Props = {}-const Index = ({}: Props) => {+const Index = ({ }: Props) => {+ // base path for images+ const { basePath } = useRouter()++ const meta_title = 'Support | Supabase'+ const meta_description = 'Need with a Supabase problem, contact the Supabase team at [email protected]'+return (<>+ <NextSeo+ title={meta_title}+ description={meta_description}+ openGraph={{+ title: meta_title,+ description: meta_description,+ url: `https://supabase.com/auth`,+ images: [+ {+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,+ },+ ],+ }}+ /><Layout><Container><SectionContainer className="">