The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Attemping to add line numbers, failing to add line numbers
Paul Copplestone83ae827d16cf
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.jsindex e3b29d7d2cc..05b7a812cc8 100755--- a/web/docusaurus.config.js+++ b/web/docusaurus.config.js@@ -43,8 +43,7 @@ module.exports = {},prism: {defaultLanguage: 'js',- // https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes- // theme: require('prism-react-renderer/themes/vsdark'),+ plugins: ['line-numbers', 'show-language']},footer: {links: [diff --git a/web/src/css/custom.css b/web/src/css/custom.cssindex b5b3a045b8c..5b20b7b4ae0 100755--- a/web/src/css/custom.css+++ b/web/src/css/custom.css@@ -189,6 +189,9 @@ body {background-color: var(--custom-background-color);}.button.button--secondary:hover {+ background-color: var(--custom-background-color-diff);+}+:root[data-theme='dark'] .button.button--secondary:hover {background-color: var(--custom-background-color-highlight);}.button.button--secondary.button--outline {@@ -251,6 +254,7 @@ li + li {font-weight: bold;text-transform: uppercase;font-size: 0.9em;+ padding: 10px !important;}/* .with-underline::after,diff --git a/web/src/pages/index.js b/web/src/pages/index.jsindex 9e37742693b..fec42d32fe1 100755--- a/web/src/pages/index.js+++ b/web/src/pages/index.js@@ -118,9 +118,9 @@ function Home() {single line of code.<br /><br />- Don't waste your time coding relational APIs and websockets. We introspect your+ Don't waste time creating relational APIs and websockets. We introspect yourdatabase and provide APIs <strong class="has-emphasis">instantly</strong> so you- can focus on what is most important - building your products.+ can focus on what's most important - building your products.</p><div><Link@@ -154,7 +154,7 @@ function Home() {{features && features.length && (<section className={styles.features}><div className="container">- <h2 className="with-underline">Use Cases</h2>+ <h2 className="with-underline">Use Cases.</h2><div className="row">{features.map((props, idx) => (<Feature key={idx} {...props} />@@ -168,9 +168,10 @@ function Home() {<div className="container"><div className="row"><div className="col col--9">- <h2 className="with-underline">For Developers</h2>+ <h2 className="with-underline">For Developers.</h2><p className="">- We believe developers want solid, fast, and simple products. So that's what we make.+ We believe developers want solid, fast, and simple products. So that's what we+ make.</p></div></div>@@ -221,14 +222,22 @@ function Home() {</div></section>- <section style={{ marginTop: 40, padding: 20 }} className="hero is--dark">+ <section+ style={{ marginTop: 100, padding: '50px 0', borderTop: '1px solid var(--custom-border-color)' }}+ className="hero is--dark"+ ><div className="container text--center">+ <div>+ <h2>Get Early Access.</h2>+ </div><div className=""><LinkclassName={classnames('button hero--button button--outline button--md button--secondary',- styles.button+ styles.button,+ styles.responsiveButton)}+ style={{ margin: 5 }}to={useBaseUrl('docs/about')}>Learn More@@ -236,9 +245,11 @@ function Home() {<LinkclassName={classnames('button hero--button button--md button--primary',- styles.button+ styles.button,+ styles.responsiveButton)}to={'https://app.supabase.io'}+ style={{ margin: 5 }}>Join the list →</Link>diff --git a/web/src/pages/styles.module.css b/web/src/pages/styles.module.cssindex c897f7a1d6e..71181bea1b3 100755--- a/web/src/pages/styles.module.css+++ b/web/src/pages/styles.module.css@@ -68,4 +68,11 @@}.pricingCard p {margin: 0;-}\ No newline at end of file+}+++@media screen and (max-width: 600px) {+ .responsiveButton {+ width: 100%;+ }+}