Skip to content

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

Adds a section for maintainers

Paul Copplestoneedc568d5cfab
diff --git a/web/docs/handbook/contributing.mdx b/web/docs/handbook/contributing.mdx
index da8bd65363f..2c3308fe512 100644
--- a/web/docs/handbook/contributing.mdx
+++ b/web/docs/handbook/contributing.mdx
@@ -4,10 +4,6 @@ title: Contributing
description: Want to help?
---
-import ContributorList from '../../src/components/ContributorList'
-import Contributors from '../../src/data/contributors/contributors.json'
-import IssueCreators from '../../src/data/contributors/issues.json'
-
## How to contribute
Want to contribute? Why not jump into our github and:
@@ -22,18 +18,3 @@ Want to contribute? Why not jump into our github and:
- [vote on a new database](https://github.com/supabase/supabase/issues/6)
- spread the word if you like what we are doing
-Please refrain from putting us on any launch lists (like Product Hunt) until we are ready for public launch :)
-
-## Kudos
-
-### Contributors
-
-<ContributorList list={Contributors} />
-
-### Issue creators
-
-<ContributorList list={IssueCreators} />
-
-### Opensource Software
-
-Supabase would not be possible without the work of some other amazing opensource contributors. [See the full list](/humans.txt).
diff --git a/web/src/components/ContributorList.js b/web/src/components/ContributorList.js
deleted file mode 100644
index ea65d1c9429..00000000000
--- a/web/src/components/ContributorList.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react'
-
-export default function ContributorList({ list }) {
- let users = list.map((x, i )=> (
- <>
- <a target="_blank" href={`https://github.com/${x.username}`}>
- @{x.username}
- </a>
- {i < list.length - 1 && ', '}
- </>
- ))
- // console.log('users', users)
-
- return users
-}
diff --git a/web/src/css/custom.css b/web/src/css/custom.css
index b65a213fb5e..28348e304a3 100755
--- a/web/src/css/custom.css
+++ b/web/src/css/custom.css
@@ -308,12 +308,11 @@ li + li {
padding: 10px !important;
} */
-/* .with-underline::after,
-.markdown h2:after {
+.with-underline::after {
content: '\2501\2501';
display: block;
- color: #333;
-} */
+ color: var(--ifm-color-primary);
+}
article header {
margin-bottom: 3rem;
}
diff --git a/web/src/data/maintainers.json b/web/src/data/maintainers.json
new file mode 100644
index 00000000000..39d08923429
--- /dev/null
+++ b/web/src/data/maintainers.json
@@ -0,0 +1,32 @@
+[
+ {
+ "handle": "thorwebdev",
+ "description": "Steering committee",
+ "tags": [ "Community", "JS/TS", "Documentation" ]
+ },
+ {
+ "handle": "lqmanh",
+ "description": "Heading up Python development",
+ "tags": [ "Python"]
+ },
+ {
+ "handle": "zlwaterfield",
+ "description": "Finding lots of bugs",
+ "tags": [ "Community", "Documentation" ]
+ },
+ {
+ "handle": "aliharis",
+ "description": "Supporting up Python development",
+ "tags": [ "Python" ]
+ },
+ {
+ "handle": "thorwebdev",
+ "description": "Community oversight",
+ "tags": [ "Community", "JS/TS" ]
+ },
+ {
+ "handle": "thorwebdev",
+ "description": "Short description here",
+ "tags": [ "Community", "JS/TS" ]
+ }
+]
diff --git a/web/src/pages/index.js b/web/src/pages/index.js
index 0b526885dd6..2ea9691626a 100755
--- a/web/src/pages/index.js
+++ b/web/src/pages/index.js
@@ -266,7 +266,7 @@ function Home() {
<div className="container">
<div className={classnames('row', styles.responsiveCentered)}>
<div className="col col--6 col--offset-3">
- <h2 className="with-underline">How it works</h2>
+ <h2 className="">How it works</h2>
<p className="">
Supabase helps you build faster, so you can focus on your core products.
</p>
@@ -342,7 +342,7 @@ function Home() {
<div className="container">
<div className={classnames('row', styles.responsiveCentered)}>
<div className="col col--6 col--offset-3">
- <h2 className="with-underline">For Developers</h2>
+ <h2 className="">For Developers</h2>
<p className="">
We introspect your database and provide APIs 
<strong className="has-emphasis">instantly</strong> so you can stop building
@@ -444,7 +444,7 @@ function Home() {
{/* USE CASES */}
{/* <section className={'section-lg'}>
<div className="container">
- <h2 className="with-underline">Use Cases</h2>
+ <h2 className="">Use Cases</h2>
<div className="row is-multiline">
{features.map((props, idx) => (
<Feature key={idx} {...props} />
@@ -457,7 +457,7 @@ function Home() {
<div className="container">
<div className={classnames('row', styles.centered)}>
<div className="col col--6 col--offset-3">
- <h2 className="with-underline">Self-documenting</h2>
+ <h2 className="">Self-documenting</h2>
<p className="">
We introspect your database to give you instant, custom documentation for your
REST and Realtime APIs.
@@ -481,7 +481,7 @@ function Home() {
<div className="container">
<div className={classnames('row', styles.centered)}>
<div className="col col--6 col--offset-3">
- <h2 className="with-underline">Table view</h2>
+ <h2 className="">Table view</h2>
<p className="">Start building your database directly from the dashboard.</p>
</div>
</div>
@@ -503,7 +503,7 @@ function Home() {
<div className="container">
<div className={classnames('row', styles.responsiveCentered)}>
<div className="col col--6 col--offset-3">
- <h2 className="with-underline">Open source</h2>
+ <h2 className="">Open source</h2>
<p className="">
Supabase <Link to={'/oss'}>loves open source</Link>. Follow us on{' '}
<a href="https://github.com/supabase">GitHub</a>. <strong>Watch</strong> the
diff --git a/web/src/pages/oss.js b/web/src/pages/oss.js
index 7fe5e1f97ad..b42ff3a0a70 100644
--- a/web/src/pages/oss.js
+++ b/web/src/pages/oss.js
@@ -2,6 +2,7 @@ import React from 'react'
import Layout from '@theme/Layout'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import sponsors from '../data/sponsors.json'
+import maintainers from '../data/maintainers.json'
import GithubCard from '../components/GithubCard'
import { repos } from '../data/github'
@@ -67,31 +68,33 @@ export default function Oss() {
<div className="col">
<h2 className="with-underline">Open source</h2>
<p className="">
- Supabase is an opensource company, supporting existing open source
- tools and communities wherever possible.
- </p>
- <p className="">
- We re-distribute our sponsorship to the community either
- directly or by hiring employees to work on the tools we use. Open source is made
- better by all of our sponsors.
+ Supabase is an opensource company, supporting existing open source tools and
+ communities wherever possible.
</p>
</div>
</div>
+ </div>
+ </section>
+
+ {/* Sponsors */}
+ <section className={'section-lg'}>
+ <div className="container">
+ <h2 className="with-underline">Sponsors</h2>
{tiers.map(
(t) =>
!!t.transactions.length && (
<>
- <h3 className="">{t.heading}</h3>
- <div class="row is-multiline">
+ <h4 className="">{t.heading}</h4>
+ <div className="row is-multiline">
{t.transactions.map((x) => (
- <div class="col col--3" key={x.sponsor_handle}>
- <a class="avatar" href={`https://github.com/${x.sponsor_handle}`}>
+ <div className="col col--3" key={x.sponsor_handle}>
+ <a className="avatar" href={`https://github.com/${x.sponsor_handle}`}>
<img
- class="avatar__photo avatar__photo--sm"
+ className="avatar__photo avatar__photo--sm"
src={`https://github.com/${x.sponsor_handle}.png`}
/>
- <div class="avatar__intro">
- <h5 class="avatar__name">{x.sponsor_handle}</h5>
+ <div className="avatar__intro">
+ <h5 className="avatar__name">{x.sponsor_handle}</h5>
</div>
</a>
</div>
@@ -104,6 +107,42 @@ export default function Oss() {
</div>
</section>
+ {/* Core */}
+ <section className={'section-lg'}>
+ <div className="container">
+ <h2>Community Maintainers</h2>
+
+ <ul class="pills">
+ <li class="pills__item pills__item--active">All</li>
+ <li class="pills__item">Community</li>
+ <li class="pills__item">C#</li>
+ <li class="pills__item">Go</li>
+ <li class="pills__item">JS/TS</li>
+ <li class="pills__item">Python</li>
+ </ul>
+
+ <div className="row is-multiline">
+ {maintainers.map((x, idx) => (
+ <div className={'col col--4'} key={idx}>
+ <a className="card" href={`https://github.com/${x.handle}`}>
+ <div className="card__body">
+ <div className="avatar">
+ <div className="avatar__photo-link avatar__photo avatar__photo--lg">
+ <img alt={x.handle} src={`https://github.com/${x.handle}.png`} />
+ </div>
+ <div className="avatar__intro">
+ <h4 className="avatar__name">@{x.handle}</h4>
+ <small className="avatar__subtitle">{x.description}</small>
+ </div>
+ </div>
+ </div>
+ </a>
+ </div>
+ ))}
+ </div>
+ </div>
+ </section>
+
{/* OSS */}
<section className={'section-lg'}>
<div className="container">
@@ -128,68 +167,37 @@ export default function Oss() {
)
}
-/**
- * Hijacked from recharts as the labels don't show up properly without the XAxis component
- */
-const CustomTooltip = (props) => {
- const renderContent = () => {
- const { payload, separator, formatter, itemStyle, itemSorter } = props
-
- if (payload && payload.length) {
- const listStyle = { padding: 0, margin: 0 }
- const items = payload.sort(itemSorter).map((entry, i) => {
- const finalItemStyle = {
- display: 'block',
- paddingTop: 4,
- paddingBottom: 4,
- color: entry.color || '#000',
- ...itemStyle,
- }
- const hasName = entry.name
- const finalFormatter = entry.formatter || formatter || (() => {})
- return (
- <li className="recharts-tooltip-item" key={`tooltip-item-${i}`} style={finalItemStyle}>
- {hasName ? <span className="recharts-tooltip-item-name">{entry.name}</span> : null}
- {hasName ? <span className="recharts-tooltip-item-separator">{separator}</span> : null}
- <span className="recharts-tooltip-item-value">
- {finalFormatter ? finalFormatter(entry.value, entry.name, entry, i) : entry.value}
- </span>
- <span className="recharts-tooltip-item-unit">{entry.value || '0'}</span>
- </li>
- )
- })
- return (
- <ul className="recharts-tooltip-item-list" style={listStyle}>
- {items}
- </ul>
- )
- }
- }
- if (props.active) {
- const { labelStyle, label, wrapperStyle } = props
- const finalStyle = {
- margin: 0,
- padding: 10,
- backgroundColor: '#fff',
- border: '1px solid #ccc',
- whiteSpace: 'nowrap',
- ...wrapperStyle,
- }
- const finalLabelStyle = {
- margin: 0,
- ...labelStyle,
- }
- let finalLabel = stargazers[label].name
-
- return (
- <div className="recharts-default-tooltip" style={finalStyle}>
- <p className="recharts-tooltip-label" style={finalLabelStyle}>
- {finalLabel}
- </p>
- {renderContent()}
+function ContributorCard({ title, description, href, stars, handle }) {
+ return (
+ <a className={'card'} href={href} style={{ height: '100%' }}>
+ <div className="card__body">
+ <h4 style={styles.h4} style={{ margin: 0 }}>
+ {title.toUpperCase()}
+ </h4>
+ <small>{description}</small>
</div>
- )
- }
+ <hr style={styles.hr} />
+ <div style={styles.cardBase}>
+ <div>@{handle}</div>
+ <div>{stars} ★</div>
+ </div>
+ </a>
+ )
+}
- return null
+const styles = {
+ hr: {
+ margin: '15px 0 10px 0',
+ },
+ h3: {
+ margin: 0,
+ textTransform: 'capitalize',
+ },
+ cardBase: {
+ display: 'flex',
+ flexDirection: 'row',
+ justifyContent: 'space-between',
+ padding: '0 15px 10px 15px',
+ fontSize: '0.8em',
+ },
}