The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Making the CTA a bit more obvious. We are will aim to collect github followers rather than signups
Paul Copplestone5f4f5e4ded19
diff --git a/web/docs/about.md b/web/docs/about.mdindex 721fbf3d846..c0e5f46285e 100755--- a/web/docs/about.md+++ b/web/docs/about.md@@ -19,9 +19,7 @@ It does all of this without you having to write a single line of code.## How it works-At its core, Supabase is an Elixir server that allows you to listen to PostgreSQL inserts, updates, and deletes using websockets. Supabase list to PostgreSQL's built-in replication functionality, converts the replication byte stream into JSON, then broadcasts the JSON over websockets.--It is built with Phoenix, an Elixir framework that's incredibly scalable.+At its core, Supabase is an Elixir server that allows you to listen to PostgreSQL inserts, updates, and deletes using websockets. Supabase listens to Postgres' built-in replication functionality, converts the replication byte stream into JSON, then broadcasts the JSON over websockets.For all Restful functionality, we introspect your database to provide an instant, fully functional API.diff --git a/web/docusaurus.config.js b/web/docusaurus.config.jsindex 795d8f70e15..9ff10199498 100755--- a/web/docusaurus.config.js+++ b/web/docusaurus.config.js@@ -35,11 +35,11 @@ module.exports = {// label: 'GitHub',// position: 'right',// },- {- href: 'https://app.supabase.io',- label: 'Join the List →',- position: 'right',- },+ // {+ // href: 'https://app.supabase.io',+ // label: 'Join the List →',+ // position: 'right',+ // },],},prism: {diff --git a/web/src/css/custom.css b/web/src/css/custom.cssindex 194d271e5e6..c8ba6f4dcc8 100755--- a/web/src/css/custom.css+++ b/web/src/css/custom.css@@ -666,4 +666,12 @@ a.hash-link {width: 100%;margin: 5px 0 !important;}+}+++@media screen and (min-width: 996px) {+ .row.is-multiline .col {+ margin-top: var(--ifm-spacing-horizontal) !important;+ margin-bottom: var(--ifm-spacing-horizontal) !important;+ }}\ No newline at end of filediff --git a/web/src/pages/index.js b/web/src/pages/index.jsindex be194203137..51a90d9b768 100755--- a/web/src/pages/index.js+++ b/web/src/pages/index.js@@ -89,17 +89,58 @@ const features = [href: '/docs/guides/examples',},{- title: <>Event sourcing</>,+ title: <>Logging</>,imageUrl: '',description: <>Log all your database changes to an immutable logging system</>,href: '/docs/guides/examples',},+ {+ title: <>Realtime Games</>,+ imageUrl: '',+ description: <>Keep all players in-sync with game actions and leader dashboards.</>,+ href: '/docs/guides/examples',+ },+ {+ title: <>Streaming analytics</>,+ imageUrl: '',+ description: <>Send actions and events to your data warehouses.</>,+ href: '/docs/guides/examples',+ },+ {+ title: <>Backoffice and Admin</>,+ imageUrl: '',+ description: <>Build admin dashboards without stressing about conflict resolution.</>,+ href: '/docs/guides/examples',+ },+]+const repos = [+ {+ title: <>Monorepo</>,+ description: <>Website, docs, and client libraries. Follow to stay updated about our public Beta.</>,+ href: 'https://github.com/supabase/monorepo',+ handle: 'supabase/monorepo',+ stars: 21,+ },+ {+ title: <>Realtime</>,+ description: <>Listen to your to PostgreSQL database in realtime via websockets. Built with Elixir.</>,+ href: 'https://github.com/supabase/realtime',+ handle: 'supabase/realtime',+ stars: 199,+ },+ {+ title: <>Schemas</>,+ description: <>Free and opensource database schemas with migration files to keep your DB synced.</>,+ href: 'https://github.com/supabase/schemas',+ handle: 'supabase/schemas',+ stars: 2,+ },]function Feature({ imageUrl, title, description, href }) {const imgUrl = useBaseUrl(imageUrl)return (- <div className={classnames('col', styles.feature)}>+ <div className={classnames('col col--4 m-b-md', styles.feature)}><a className={classnames('card', styles.featureCard)} href={href}><div className="card__body">{imgUrl && (@@ -114,6 +155,23 @@ function Feature({ imageUrl, title, description, href }) {</div>)}+function GithubCard({ title, description, href, stars, handle }) {+ return (+ <div className={classnames('col', styles.feature)}>+ <a className={classnames('card', styles.githubCard)} href={href}>+ <div className="card__body">+ <h3>{title}</h3>+ <small>{description}</small>+ </div>+ <hr />+ <div className={classnames(styles.cardBase)}>+ <div>{handle}</div>+ <div>{stars} ★</div>+ </div>+ </a>+ </div>+ )+}function Home() {const context = useDocusaurusContext()@@ -149,10 +207,10 @@ function Home() {'button hero--button button--md button--primary responsiveButton',styles.button)}- to={'https://app.supabase.io'}+ to={'https://github.com/supabase/monorepo'}style={{ marginTop: 10 }}>- Get early access →+ Follow our GitHub →</Link></div></div>@@ -172,9 +230,7 @@ function Home() {}}className="hero is--dark">- <div className="container text--center">- <small>CUSTOMER LOGOS</small>- </div>+ <div className="container text--center">{/* <small>CUSTOMER LOGOS</small> */}</div></section>{/* For Devs */}@@ -254,18 +310,37 @@ function Home() {</section>{/* FEATURES */}- {features && features.length && (- <section className={styles.features}>- <div className="container">- <h2 className="with-underline">Use Cases</h2>- <div className="row">- {features.map((props, idx) => (- <Feature key={idx} {...props} />- ))}+ <section className={styles.features}>+ <div className="container">+ <h2 className="with-underline">Use Cases</h2>+ <div className="row is-multiline">+ {features.map((props, idx) => (+ <Feature key={idx} {...props} />+ ))}+ </div>+ </div>+ </section>++ {/* OSS */}+ <section className={styles.forDevelopers}>+ <div className="container">+ <div className={classnames('row', styles.responsiveCentered)}>+ <div className="col col--6 col--offset-3">+ <h2 className="with-underline">Open source</h2>+ <p className="">+ Follow us on GitHub. <strong>Watch</strong> the releases of each repo to get+ notified when we are ready for Beta launch.+ </p></div></div>- </section>- )}++ <div className="row">+ {repos.map((props, idx) => (+ <GithubCard key={idx} {...props} />+ ))}+ </div>+ </div>+ </section><sectionstyle={{@@ -276,9 +351,9 @@ function Home() {className="hero is--dark"><div className="container text--center">- <div>+ {/* <div><h2>Get Early Access</h2>- </div>+ </div> */}<div className=""><LinkclassName={classnames(@@ -297,10 +372,10 @@ function Home() {styles.button,styles.responsiveButton)}- to={'https://app.supabase.io'}+ to={'https://github.com/supabase/monorepo'}style={{ margin: 5 }}>- Join the list →+ Follow our GitHub →</Link></div></div>diff --git a/web/src/pages/styles.module.css b/web/src/pages/styles.module.cssindex 64950c659d2..01dd8c729aa 100755--- a/web/src/pages/styles.module.css+++ b/web/src/pages/styles.module.css@@ -17,7 +17,6 @@overflow: hidden;} */-.heroBanner h2 {font-size: 2rem !important;}@@ -30,6 +29,7 @@.features {display: flex;margin-top: 5rem;+ margin-bottom: 5rem;align-items: center;padding: 2rem 0;width: 100%;@@ -47,6 +47,7 @@}.featureCard {height: 100%;+ margin-bottom: 10px;}.featureImage {height: 50px;@@ -73,9 +74,27 @@.responsiveCentered {text-align: center;}-+@media screen and (max-width: 999px) {.responsiveCentered {text-align: left;}-}\ No newline at end of file+}++.cardBase {+ display: flex;+ flex-direction: row;+ justify-content: space-between;+ padding: 0 15px 10px 15px;+ font-size: 0.8em;+}+.githubCard h3 {+ margin: 0;+}+.githubCard hr {+ margin: 15px 0 10px 0;+ /* border: none;+ height: 1px;+ color: #333;+ background-color: #333; */+}diff --git a/web/src/theme/Navbar/index.js b/web/src/theme/Navbar/index.jsindex d17875f5421..6c106563859 100755--- a/web/src/theme/Navbar/index.js+++ b/web/src/theme/Navbar/index.js@@ -5,23 +5,23 @@* LICENSE file in the root directory of this source tree.*/-import React, {useCallback, useState} from 'react';-import Link from '@docusaurus/Link';-import useDocusaurusContext from '@docusaurus/useDocusaurusContext';-import useBaseUrl from '@docusaurus/useBaseUrl';+import React, { useCallback, useState } from 'react'+import Link from '@docusaurus/Link'+import useDocusaurusContext from '@docusaurus/useDocusaurusContext'+import useBaseUrl from '@docusaurus/useBaseUrl'-import SearchBar from '@theme/SearchBar';-import Toggle from '@theme/Toggle';+import SearchBar from '@theme/SearchBar'+import Toggle from '@theme/Toggle'-import classnames from 'classnames';+import classnames from 'classnames'-import useTheme from '@theme/hooks/useTheme';-import useHideableNavbar from '@theme/hooks/useHideableNavbar';+import useTheme from '@theme/hooks/useTheme'+import useHideableNavbar from '@theme/hooks/useHideableNavbar'-import styles from './styles.module.css';+import styles from './styles.module.css'-function NavLink({to, href, label, position, ...props}) {- const toUrl = useBaseUrl(to);+function NavLink({ to, href, label, position, ...props }) {+ const toUrl = useBaseUrl(to)return (<LinkclassName="navbar__item navbar__link"@@ -35,39 +35,37 @@ function NavLink({to, href, label, position, ...props}) {activeClassName: 'navbar__link--active',to: toUrl,})}- {...props}>+ {...props}+ >{label}</Link>- );+ )}function Navbar() {- const context = useDocusaurusContext();- const {siteConfig = {}} = context;- const {baseUrl, themeConfig = {}} = siteConfig;- const {navbar = {}, disableDarkMode = false} = themeConfig;- const {title, logo = {}, links = [], hideOnScroll = false} = navbar;- const [sidebarShown, setSidebarShown] = useState(false);- const [isSearchBarExpanded, setIsSearchBarExpanded] = useState(false);- const [theme, setTheme] = useTheme();+ const context = useDocusaurusContext()+ const { siteConfig = {} } = context+ const { baseUrl, themeConfig = {} } = siteConfig+ const { navbar = {}, disableDarkMode = false } = themeConfig+ const { title, logo = {}, links = [], hideOnScroll = false } = navbar+ const [sidebarShown, setSidebarShown] = useState(false)+ const [isSearchBarExpanded, setIsSearchBarExpanded] = useState(false)+ const [theme, setTheme] = useTheme()- const {navbarRef, isNavbarVisible} = useHideableNavbar(hideOnScroll);+ const { navbarRef, isNavbarVisible } = useHideableNavbar(hideOnScroll)const showSidebar = useCallback(() => {- document.body.style.overflow = 'hidden';- setSidebarShown(true);- }, [setSidebarShown]);+ document.body.style.overflow = 'hidden'+ setSidebarShown(true)+ }, [setSidebarShown])const hideSidebar = useCallback(() => {- document.body.style.overflow = 'visible';- setSidebarShown(false);- }, [setSidebarShown]);+ document.body.style.overflow = 'visible'+ setSidebarShown(false)+ }, [setSidebarShown])- const onToggleChange = useCallback(- e => setTheme(e.target.checked ? 'dark' : ''),- [setTheme],- );+ const onToggleChange = useCallback(e => setTheme(e.target.checked ? 'dark' : ''), [setTheme])- const logoUrl = useBaseUrl(logo.src);+ const logoUrl = useBaseUrl(logo.src)const logoDark = useBaseUrl(logo.dark)return (<nav@@ -137,6 +135,14 @@ function Navbar() {.map((linkItem, i) => (<NavLink {...linkItem} key={i} />))}++ <a+ className={classnames(styles.displayOnlyInLargeViewport, 'button button--primary', styles.button)}+ href={'https://github.com/supabase/monorepo'}+ style={{ margin: 0, marginLeft: 15 }}+ >+ GITHUB →+ </a><SearchBarhandleSearchBarToggle={setIsSearchBarExpanded}isSearchBarExpanded={isSearchBarExpanded}@@ -171,6 +177,14 @@ function Navbar() {<NavLink className="menu__link" {...linkItem} onClick={hideSidebar} /></li>))}++ <div style={{ margin: 5, marginTop: 15 }}></div>+ <a+ className={classnames('button button--block button--primary', styles.button)}+ href="https://github.com/supabase/monorepo"+ >+ GITHUB →+ </a></ul></div></div>@@ -179,4 +193,4 @@ function Navbar() {)}-export default Navbar;+export default Navbar