mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 01:15:03 +03:00
Fix missing crawler pages, missing h1 tags
This commit is contained in:
1 parent
a847b5e2c1
commit
1fbdb60559
10 files changed
+24
-14
No files matched your search
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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 ">
|
||||
|
||||
@@ -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) => (
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)' }}
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in new issue
Block a user