The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Pull master and resolve conflicts
Joshen Lim4d93f5e1d689
diff --cc apps/temp-docs/components/CustomHTMLElements/Heading.tsxindex 3d341630fd2,00000000000..bf81989b26cmode 100644,000000..100644--- a/apps/temp-docs/components/CustomHTMLElements/Heading.tsx+++ b/apps/temp-docs/components/CustomHTMLElements/Heading.tsx@@@ -1,29 -1,0 +1,29 @@@- import { getAnchor, removeAnchor, highlightSelectedTocItem } from './CustomMDX.utils'++import { getAnchor, removeAnchor, highlightSelectedTocItem } from './CustomHTMLElements.utils'+import { useInView } from 'react-intersection-observer'++const Heading = ({ tag, children }) => {+ const HeadingTag = `${tag}` as any++ const anchor = getAnchor(children)+ const link = `#${anchor}`++ // check if current heading is in view, update TOC active item accordingly+ const { ref, inView, entry } = useInView({+ threshold: 1,+ onChange: (inView, entry) => {+ if (inView) highlightSelectedTocItem(entry.target.id)+ },+ })++ return (+ <HeadingTag id={anchor} ref={ref} className="group flex gap-1 items-center scroll-mt-24">+ {removeAnchor(children)}+ {anchor && (+ <a href={link} className="opacity-0 group-hover:opacity-100 transition">+ #+ </a>+ )}+ </HeadingTag>+ )+}+export default Headingdiff --cc apps/temp-docs/components/index.tsxindex ac1329a01b7,747e03536d3..08c783a4651--- a/apps/temp-docs/components/index.tsx+++ b/apps/temp-docs/components/index.tsx@@@ -1,42 -1,31 +1,48 @@@import { Tabs, Alert } from 'ui'- import CodeBlock from './CodeBlock/CodeBlock'+ import Admonition from './Admonition'import ButtonCard from './ButtonCard'+ import CodeBlock from './CodeBlock/CodeBlock'import Frameworks from './Frameworks'import AuthProviders from './AuthProviders'- import { Heading } from './CustomMDX'-import { H3, H4 } from './CustomHTMLElements'+++import { Heading } from './CustomHTMLElements'+ import QuickstartIntro from './MDX/quickstart_intro.mdx'+ import ProjectSetup from './MDX/project_setup.mdx'const components = {- Alert: (props: any) => (- <Alert {...props} className="not-prose">- {props.children}- </Alert>- ),+ Admonition,ButtonCard,CodeBlock,Frameworks,AuthProviders,+ QuickstartIntro,+ ProjectSetup,+- Alert,++ Alert: (props: any) => (++ <Alert {...props} className="not-prose">++ {props.children}++ </Alert>++ ),Tabs,TabPanel: (props: any) => <Tabs.Panel {...props}>{props.children}</Tabs.Panel>,- h3: H3,- h4: H4,+ h2: (props: any) => (+ <Heading tag="h2" {...props}>+ {props.children}+ </Heading>+ ),-+ h3: (props: any) => (+ <Heading tag="h3" {...props}>+ {props.children}+ </Heading>+ ),-+ h4: (props: any) => (+ <Heading tag="h4" {...props}>+ {props.children}+ </Heading>+ ),code: (props: any) => <CodeBlock {...props} />,mono: (props: any) => <code className="text-sm">{props.children}</code>,}diff --cc apps/temp-docs/docs/guides/cli/local-development.mdxindex 04df0a1983e,269c288e823..4b259ab8df1--- a/apps/temp-docs/docs/guides/cli/local-development.mdx+++ b/apps/temp-docs/docs/guides/cli/local-development.mdx@@@ -126,6 -128,12 +128,15 @@@ create table employees);```++<<<<<<< HEAD++=======+ <Admonition type="note">++ You can execute any SQL using the `DB URL` shown by [`supabase status`](/reference/cli/usage#supabase-status).++ </Admonition>+++>>>>>>> 5621209861bab5be01b13620a346bdf1da80f4a0Run the [`db diff`](/reference/cli/usage#supabase-db-diff) command to detect changes in the local database:```shdiff --cc apps/temp-docs/styles/main.scssindex 6a4b4343c68,97358f02757..ba55de4ed1f--- a/apps/temp-docs/styles/main.scss+++ b/apps/temp-docs/styles/main.scss@@@ -158,7 -158,21 +158,28 @@@ pre[class*='language-']}}++<<<<<<< HEAD+// ToC styles+.toc__menu-item--active {+ color: var(--colors-brand9) !important;+}++=======+ .video-container {+ position: relative;+ width: 100%;+ padding-bottom: 56.25%;++ iframe {+ position: absolute;+ top: 0;+ left: 0;+ width: 100%;+ height: 100%;+ border: 0;+ }+ }++ .admonition-content > p {+ @apply m-0;-}++}++>>>>>>> 5621209861bab5be01b13620a346bdf1da80f4a0diff --cc package-lock.jsonindex 69cccf634a4,faa6b32827d..9bac5d87d64--- a/package-lock.json+++ b/package-lock.json@@@ -63,10 -63,8 +63,9 @@@"react": "17.0.2","react-copy-to-clipboard": "^5.0.2","react-dom": "17.0.2",+ "react-intersection-observer": "^9.4.0","react-markdown": "^8.0.3","react-syntax-highlighter": "^15.3.1",- "react-use-scrollspy": "^3.1.1","remark": "^14.0.2","remark-admonitions": "^1.2.1","remark-html": "^15.0.0",@@@ -61968,10 -62169,8 +61948,9 @@@"react": "17.0.2","react-copy-to-clipboard": "^5.0.2","react-dom": "17.0.2",+ "react-intersection-observer": "^9.4.0","react-markdown": "^8.0.3","react-syntax-highlighter": "^15.3.1",- "react-use-scrollspy": "*","remark": "^14.0.2","remark-admonitions": "^1.2.1","remark-html": "^15.0.0",