Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix missing crawler pages, missing h1 tags

Terry Sutton1fbdb605599d
diff --git a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
index 036933a1682..84497018cdb 100644
--- a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx
@@ -14,7 +14,7 @@ const sections = flattenSections(clientLibsCommonSections)
export default function JSReference(props) {
const router = useRouter()
const slug = router.query.slug[0]
- const filteredSection = sections.filter((section) => section.id === slug)
+ const filteredSection = sections.filter((section) => section.slug === slug)
const pageTitle = filteredSection[0]?.title
? `${filteredSection[0]?.title} | Supabase`
diff --git a/apps/docs/pages/reference/dart/v0/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/v0/crawlers/[...slug].tsx
index 8539659431d..997b56deec2 100644
--- a/apps/docs/pages/reference/dart/v0/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/dart/v0/crawlers/[...slug].tsx
@@ -14,7 +14,7 @@ const sections = flattenSections(clientLibsCommonSections)
export default function JSReference(props) {
const router = useRouter()
const slug = router.query.slug[0]
- const filteredSection = sections.filter((section) => section.id === slug)
+ const filteredSection = sections.filter((section) => section.slug === slug)
const pageTitle = filteredSection[0]?.title
? `${filteredSection[0]?.title} | Supabase`
diff --git a/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx b/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx
index 67c72c5151c..df4a97dcdc5 100644
--- a/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx
@@ -14,7 +14,7 @@ const sections = flattenSections(clientLibsCommonSections)
export default function JSReference(props) {
const router = useRouter()
const slug = router.query.slug[0]
- const filteredSection = sections.filter((section) => section.id === slug)
+ const filteredSection = sections.filter((section) => section.slug === slug)
const pageTitle = filteredSection[0]?.title
? `${filteredSection[0]?.title} | Supabase`
diff --git a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
index 18c498125ef..19278fccd67 100644
--- a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
+++ b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx
@@ -13,7 +13,7 @@ const sections = flattenSections(clientLibsCommonSections)
export default function JSReference(props) {
const router = useRouter()
const slug = router.query.slug[0]
- const filteredSection = sections.filter((section) => section.id === slug)
+ const filteredSection = sections.filter((section) => section.slug === slug)
const pageTitle = filteredSection[0]?.title
? `${filteredSection[0]?.title} | Supabase`
diff --git a/apps/www/pages/blog.tsx b/apps/www/pages/blog.tsx
index a14bbd8feef..a96ed86cd9a 100644
--- a/apps/www/pages/blog.tsx
+++ b/apps/www/pages/blog.tsx
@@ -100,6 +100,7 @@ function Blog(props: any) {
]}
/>
<DefaultLayout>
+ <h1 className="sr-only">Supabase blog</h1>
<div className="overflow-hidden py-12">
<div className="container mx-auto mt-16 px-8 sm:px-16 xl:px-20">
<div className="mx-auto ">
diff --git a/apps/www/pages/blog/tags/[tag].tsx b/apps/www/pages/blog/tags/[tag].tsx
index b6063851ef9..49aa4a9335b 100644
--- a/apps/www/pages/blog/tags/[tag].tsx
+++ b/apps/www/pages/blog/tags/[tag].tsx
@@ -37,11 +37,11 @@ function TagBlogsPage(props: Props) {
<DefaultLayout>
<div className="container mx-auto px-8 py-16 sm:px-16 xl:px-20">
<div className="text-scale-1000 flex space-x-1">
- <p className="cursor-pointer">
+ <h1 className="cursor-pointer">
<Link href="/blog">Blog</Link>
- </p>
- <p>/</p>
- <p>{`${tag}`}</p>
+ <span className="px-2">/</span>
+ <span>{`${tag}`}</span>
+ </h1>
</div>
<ol className="grid grid-cols-12 gap-8 py-16 lg:gap-16">
{blogs.map((blog: PostTypes, idx: number) => (
diff --git a/apps/www/pages/careers/index.tsx b/apps/www/pages/careers/index.tsx
index d7d4ec2d29a..af3b1cff166 100644
--- a/apps/www/pages/careers/index.tsx
+++ b/apps/www/pages/careers/index.tsx
@@ -101,9 +101,11 @@ const CareerPage: NextPage = ({ jobs, contributors }: any) => {
<DefaultLayout>
<div className="text-scale-1200">
<div className="container relative mx-auto px-6 py-10 lg:pt-12 lg:px-16 xl:px-20 text-center space-y-4">
- <span className="text-sm text-brand-900 md:text-base">Careers</span>
+ <h1 className="text-sm text-brand-900 md:text-base">
+ <span className="sr-only">Supabase </span>Careers
+ </h1>
<h2 className="text-3xl md:text-4xl xl:text-5xl lg:max-w-2xl xl:max-w-3xl lg:mx-auto tracking-[-1.5px]">
- We’re on a mission to build the best developer platform
+ We're on a mission to build the best developer platform
</h2>
<p className="text-sm md:text-base text-scale-1000 max-w-sm sm:max-w-md md:max-w-lg mx-auto">
Explore remote possibilities and join our team to help us achieve it.
@@ -321,7 +323,7 @@ const CareerPage: NextPage = ({ jobs, contributors }: any) => {
<div
className={`${
Styles[`contributors-${i}`]
- } absolute w-12 h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 rounded-full border-[1.5px] border-scale-600 z-10
+ } absolute w-12 h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 rounded-full border-[1.5px] border-scale-600 z-10
transition-all hover:scale-105 drop-shadow-sm hover:drop-shadow-md
`}
key={i}
diff --git a/apps/www/public/planetpg-paul_copplestone-rss.xml b/apps/www/public/planetpg-paul_copplestone-rss.xml
index bc3d31ea3d3..a1da81917d4 100644
--- a/apps/www/public/planetpg-paul_copplestone-rss.xml
+++ b/apps/www/public/planetpg-paul_copplestone-rss.xml
@@ -5,9 +5,16 @@
<link>https://supabase.com/blog</link>
<description>Latest Postgres news from Paul Copplestone at Supabase</description>
<language>en</language>
- <lastBuildDate>Mon, 27 Jun 2022 02:02:30 +0000</lastBuildDate>
+ <lastBuildDate>Fri, 09 Dec 2022 03:03:30 +0000</lastBuildDate>
<atom:link href="https://supabase.com/planetpg-paul_copplestone-rss.xml" rel="self" type="application/rss+xml"/>
<item>
+ <guid>https://supabase.com/blog/postgres-crdt</guid>
+ <title>pg_crdt - an experimental CRDT extension for Postgres</title>
+ <link>https://supabase.com/blog/postgres-crdt</link>
+ <description>Embedding Yjs and Automerge into Postgres for collaborative applications.</description>
+ <pubDate>Fri, 09 Dec 2022 03:03:30 +0000</pubDate>
+</item>
+<item>
<guid>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</guid>
<title>Partial data dumps using Postgres Row Level Security</title>
<link>https://supabase.com/blog/partial-postgresql-data-dumps-with-rls</link>
diff --git a/studio/pages/project/_/[[...routeSlug]].tsx b/studio/pages/project/_/[[...routeSlug]].tsx
index f9922644dad..dacc4ed5bdb 100644
--- a/studio/pages/project/_/[[...routeSlug]].tsx
+++ b/studio/pages/project/_/[[...routeSlug]].tsx
@@ -55,7 +55,7 @@ const GenericProjectPage: NextPage = () => {
<>
<Header />
<div className="flex flex-col mx-auto w-full max-w-5xl">
- <h3 className="mt-8 text-2xl">Select a project to continue</h3>
+ <h1 className="mt-8 text-2xl">Select a project to continue</h1>
<div
className="flex-grow py-6 space-y-8 overflow-y-auto"
style={{ maxHeight: 'calc(100vh - 49px - 64px)' }}
diff --git a/studio/pages/support/new.tsx b/studio/pages/support/new.tsx
index 424e7e991ca..504619fdbe4 100644
--- a/studio/pages/support/new.tsx
+++ b/studio/pages/support/new.tsx
@@ -27,7 +27,7 @@ const SupportPage = () => {
<div className="flex justify-between items-center">
<div className="flex items-center space-x-3">
<SVG src={`/img/supabase-logo.svg`} className="h-4 w-4" />
- <h4 className="m-0 text-lg">Supabase support</h4>
+ <h1 className="m-0 text-lg">Supabase support</h1>
</div>
<div className="flex items-center space-x-3">
<Tooltip.Root delayDuration={0}>