Skip to content

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

Prettier lint

Joshen Limba96db71a843
diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx
index 0ccb8ad0c98..f7523e8f7bb 100644
--- a/www/components/AdminAccess/index.tsx
+++ b/www/components/AdminAccess/index.tsx
@@ -13,30 +13,45 @@ const AdminAccess = () => {
<div className="relative">
<SectionHeader
title={'Build your app'}
- title_alt={' without leaving the dashboard'}
- subtitle={'Admin Access'}
+ title_alt={' without leaving the dashboard'}
+ subtitle={'Admin Access'}
/>
<div className="flex flex-col-reverse lg:flex-row lg:grid lg:grid-cols-2 gap-28">
- <Tabs
- tabId={tabId}
- setTabId={setTabId}
- />
- <div className="shadow-lg rounded-md" style={{ height: 'fit-content'}}>
+ <Tabs tabId={tabId} setTabId={setTabId} />
+ <div className="shadow-lg rounded-md" style={{ height: 'fit-content' }}>
<div className="w-full rounded-t-md h-5 bg-dark-400 flex items-center justify-start px-2">
- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>
- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>
- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>
+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />
+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />
+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />
</div>
{/* Joshen: Preload all videos to prevent the flickering of video when changing tabs */}
- <video className={`rounded-b-md ${tabId === 'tabTableEditor' ? 'block' : 'hidden'}`} src={`videos/tabTableEditor.mp4`} autoPlay loop muted>
+ <video
+ className={`rounded-b-md ${tabId === 'tabTableEditor' ? 'block' : 'hidden'}`}
+ src={`videos/tabTableEditor.mp4`}
+ autoPlay
+ loop
+ muted
+ >
Your browser does not support the video tag
</video>
- <video className={`rounded-b-md ${tabId === 'tabSqlEditor' ? 'block' : 'hidden'}`} src={`videos/tabSqlEditor.mp4`} autoPlay loop muted>
+ <video
+ className={`rounded-b-md ${tabId === 'tabSqlEditor' ? 'block' : 'hidden'}`}
+ src={`videos/tabSqlEditor.mp4`}
+ autoPlay
+ loop
+ muted
+ >
Your browser does not support the video tag
</video>
- <video className={`rounded-b-md ${tabId === 'tabAuthRules' ? 'block' : 'hidden'}`} src={`videos/tabAuthRules.mp4`} autoPlay loop muted>
+ <video
+ className={`rounded-b-md ${tabId === 'tabAuthRules' ? 'block' : 'hidden'}`}
+ src={`videos/tabAuthRules.mp4`}
+ autoPlay
+ loop
+ muted
+ >
Your browser does not support the video tag
- </video>
+ </video>
</div>
</div>
</div>
diff --git a/www/components/Badge.tsx b/www/components/Badge.tsx
index c188900dac2..bd2113b6049 100644
--- a/www/components/Badge.tsx
+++ b/www/components/Badge.tsx
@@ -1,12 +1,14 @@
type Props = {
- className?: string,
+ className?: string
children: any
}
const Badge = (props: Props) => {
const { className, children } = props
return (
- <span className={`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800 ${className}`}>
+ <span
+ className={`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800 ${className}`}
+ >
<svg className="-ml-0.5 mr-1.5 h-2 w-2 text-indigo-400" fill="currentColor" viewBox="0 0 8 8">
<circle cx="4" cy="4" r="3" />
</svg>
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx
index 50d531775ee..4e4d1a244ce 100644
--- a/www/components/BuiltWithSupabase/index.tsx
+++ b/www/components/BuiltWithSupabase/index.tsx
@@ -1,6 +1,6 @@
import Card from 'components/Card'
import SectionHeader from 'components/UI/SectionHeader'
-import ProjectExamples from "data/ProjectExamples.json"
+import ProjectExamples from 'data/ProjectExamples.json'
const BuiltExamples = () => {
return (
@@ -12,10 +12,15 @@ const BuiltExamples = () => {
<div className="mx-auto max-w-7xl">
<SectionHeader
title={'What you can build'}
- title_alt={' with Supabase'}
- subtitle={'Built with supabase'}
+ title_alt={' with Supabase'}
+ subtitle={'Built with supabase'}
/>
- <p className="mt-3 text-base text-gray-500 dark:text-dark-400">See all examples on our <a className="text-brand-700" href="https://github.com/supabase">Github</a></p>
+ <p className="mt-3 text-base text-gray-500 dark:text-dark-400">
+ See all examples on our{' '}
+ <a className="text-brand-700" href="https://github.com/supabase">
+ Github
+ </a>
+ </p>
</div>
<div className="relative max-w-7xl mx-auto">
<div className="mt-12 max-w-lg mx-auto grid gap-5 lg:grid-cols-3 lg:max-w-none">
diff --git a/www/components/Button.tsx b/www/components/Button.tsx
index 1a38298ca5d..21f283d29e1 100644
--- a/www/components/Button.tsx
+++ b/www/components/Button.tsx
@@ -1,33 +1,24 @@
import Link from 'next/link'
type Props = {
- type?: 'primary' | 'secondary',
- text: string,
- url?: string,
- className?: string,
- hideArrow?: boolean,
+ type?: 'primary' | 'secondary'
+ text: string
+ url?: string
+ className?: string
+ hideArrow?: boolean
}
const Button = (props: Props) => {
- const {
- type = 'primary',
- text,
- url,
- className,
- hideArrow = false,
- } = props
-
- const colorClass = type === 'primary'
- ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-700 hover:bg-brand-800 focus:ring-2 focus:ring-offset-2 focus:ring-brand-500'
- : 'text-brand-700 bg-none'
-
- const textClass = type === 'primary'
- ? 'font-medium left-3 group-hover:left-0'
- : 'font-normal'
-
- const arrowClass = type === 'primary'
- ? ''
- : 'relative -left-1 group-hover:left-0'
+ const { type = 'primary', text, url, className, hideArrow = false } = props
+
+ const colorClass =
+ type === 'primary'
+ ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-700 hover:bg-brand-800 focus:ring-2 focus:ring-offset-2 focus:ring-brand-500'
+ : 'text-brand-700 bg-none'
+
+ const textClass = type === 'primary' ? 'font-medium left-3 group-hover:left-0' : 'font-normal'
+
+ const arrowClass = type === 'primary' ? '' : 'relative -left-1 group-hover:left-0'
const renderButton = () => (
<button
@@ -37,20 +28,22 @@ const Button = (props: Props) => {
focus:outline-none group transition ${colorClass} ${className}
`}
>
- <span className={`
+ <span
+ className={`
relative transition-all ${url ? textClass : ''}
- `}>
+ `}
+ >
{text}
</span>
- { url && <span className={`ml-2 transition-all opacity-0 group-hover:opacity-100 ${arrowClass}`}>→</span> }
+ {url && (
+ <span className={`ml-2 transition-all opacity-0 group-hover:opacity-100 ${arrowClass}`}>
+ →
+ </span>
+ )}
</button>
)
- return (
- url
- ? <Link href={url}>{renderButton()}</Link>
- : renderButton()
- )
+ return url ? <Link href={url}>{renderButton()}</Link> : renderButton()
}
-export default Button
\ No newline at end of file
+export default Button
diff --git a/www/components/CTABanner/index.tsx b/www/components/CTABanner/index.tsx
index 684bab40f84..66ab7f95c89 100644
--- a/www/components/CTABanner/index.tsx
+++ b/www/components/CTABanner/index.tsx
@@ -1,7 +1,7 @@
import Button from 'components/Button'
const CTABanner = () => {
- return (
+ return (
<div className="py-32 grid grid-cols-12 gap-4 items-center text-center bg-dark-800 px-16">
<div className="col-span-12">
<h4 className="flex flex-col sm:flex-row sm:justify-center font-normal text-white text-2xl lg:text-3xl">
@@ -18,4 +18,4 @@ const CTABanner = () => {
)
}
-export default CTABanner
\ No newline at end of file
+export default CTABanner
diff --git a/www/components/Card.tsx b/www/components/Card.tsx
index 3e94d4bd1fe..7d144096dc5 100644
--- a/www/components/Card.tsx
+++ b/www/components/Card.tsx
@@ -70,7 +70,9 @@ const Card = (props: Props) => {
<div className="block mt-2 flex flex-col justify-between h-32">
{/* {logoUrl && <img src={logoUrl} className="h-9 my-4" />} */}
{title && <p className="text-xl text-gray-900 dark:text-white">{title}</p>}
- <p className="mt-3 text-base text-gray-500 dark:text-dark-400">{type !== 'Project Example' ? postMeta.publishDate : description}</p>
+ <p className="mt-3 text-base text-gray-500 dark:text-dark-400">
+ {type !== 'Project Example' ? postMeta.publishDate : description}
+ </p>
</div>
</div>
{type === 'Case Study' && postMeta.name.length > 0 && (
diff --git a/www/components/CaseStudies/benchmark.tsx b/www/components/CaseStudies/benchmark.tsx
index 87b77a00050..a857ee19554 100644
--- a/www/components/CaseStudies/benchmark.tsx
+++ b/www/components/CaseStudies/benchmark.tsx
@@ -5,22 +5,32 @@ const Benchmark = () => {
<div className="mt-6 lg:mt-16 max-w-lg mx-auto lg:max-w-none lg:mx-0">
<div className="grid gap-4 items-center rounded-md grid-cols-1 lg:grid-cols-12 overflow-auto bg-dark-800 shadow-lg">
<div className="col-span-1 lg:col-span-10 flex items-center flex-col lg:flex-row">
- <img className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 hidden lg:block" src="images/benchmark.svg" />
- <img className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 lg:hidden" src="images/benchmark--mobile.svg" />
+ <img
+ className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 hidden lg:block"
+ src="images/benchmark.svg"
+ />
+ <img
+ className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 lg:hidden"
+ src="images/benchmark--mobile.svg"
+ />
<div className="px-12 py-5 lg:px-0 lg:py-0">
<p className="text-xl text-white">Record breaking speed and reliability</p>
<p className="text-dark-300 mt-2">
- <span className="block">Supabase is already enterprise level and we’re blown away by the speed!</span>
- <span className="block">Sign up for our public benchmark release and we’ll email it to you</span>
+ <span className="block">
+ Supabase is already enterprise level and we’re blown away by the speed!
+ </span>
+ <span className="block">
+ Sign up for our public benchmark release and we’ll email it to you
+ </span>
</p>
</div>
</div>
<div className="pb-12 px-12 col-span-1 lg:pb-0 lg:px-0 lg:col-span-2 rounded-r-md">
- <Button text="Get notified" url="https://mailchi.mp/supabase/enterprise-benchmarks"/>
+ <Button text="Get notified" url="https://mailchi.mp/supabase/enterprise-benchmarks" />
</div>
</div>
</div>
)
}
-export default Benchmark
\ No newline at end of file
+export default Benchmark
diff --git a/www/components/CaseStudies/index.tsx b/www/components/CaseStudies/index.tsx
index 5e7483448f1..7e0305335c9 100644
--- a/www/components/CaseStudies/index.tsx
+++ b/www/components/CaseStudies/index.tsx
@@ -1,7 +1,7 @@
import Card from 'components/Card'
import Benchmark from 'components/CaseStudies/benchmark'
import SectionHeader from 'components/UI/SectionHeader'
-import CaseStudiesData from "data/CaseStudies.json"
+import CaseStudiesData from 'data/CaseStudies.json'
const CaseStudies = () => {
return (
@@ -16,7 +16,9 @@ const CaseStudies = () => {
title={'Scale up'}
title_alt={' with no extra effort'}
subtitle={'Enterprise Solutions'}
- paragraph={'Supabase is built with proven, enterprise-ready tools. We\'re supporting everything from fintech providers to social networks. '}
+ paragraph={
+ "Supabase is built with proven, enterprise-ready tools. We're supporting everything from fintech providers to social networks. "
+ }
/>
</div>
<div className="mt-5 max-w-lg mx-auto grid gap-5 lg:grid-cols-3 lg:max-w-none">
diff --git a/www/components/Container.tsx b/www/components/Container.tsx
index 96e76a0ae5c..f0bbb25c01e 100644
--- a/www/components/Container.tsx
+++ b/www/components/Container.tsx
@@ -5,9 +5,7 @@ type Props = {
}
const Container: FunctionComponent = ({ children }: Props) => {
- return <div>
- {children}
- </div>
+ return <div>{children}</div>
}
export default Container
diff --git a/www/components/CountUp.tsx b/www/components/CountUp.tsx
index 9cc71d03feb..dfee14a7ea5 100644
--- a/www/components/CountUp.tsx
+++ b/www/components/CountUp.tsx
@@ -1,33 +1,32 @@
import { useState, useEffect } from 'react'
type Props = {
- children: any,
+ children: any
duration?: number
}
-const easeOutQuad = (t:number) => t * ( 2 - t )
+const easeOutQuad = (t: number) => t * (2 - t)
const frameDuration = 1000 / 60
const CountUp = (props: Props) => {
const { children, duration = 2000 } = props
- const countTo = parseInt( children, 10 )
- const [ count, setCount ] = useState( 0 )
+ const countTo = parseInt(children, 10)
+ const [count, setCount] = useState(0)
useEffect(() => {
let frame = 0
- const totalFrames = Math.round( duration / frameDuration )
+ const totalFrames = Math.round(duration / frameDuration)
const counter = setInterval(() => {
- frame++
- const progress = easeOutQuad( frame / totalFrames )
- setCount( countTo * progress )
+ frame++
+ const progress = easeOutQuad(frame / totalFrames)
+ setCount(countTo * progress)
- if ( frame === totalFrames ) clearInterval( counter )
+ if (frame === totalFrames) clearInterval(counter)
}, frameDuration)
-
}, [])
return <span>{Math.floor(count)}</span>
}
-export default CountUp
\ No newline at end of file
+export default CountUp
diff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsx
index b74ab96075b..24d10f046e7 100644
--- a/www/components/Footer/index.tsx
+++ b/www/components/Footer/index.tsx
@@ -1,8 +1,8 @@
import { useState, useEffect } from 'react'
-import FooterLinks from "data/Footer.json"
+import FooterLinks from 'data/Footer.json'
type Props = {
- darkMode: boolean,
+ darkMode: boolean
updateTheme: Function
}
@@ -133,7 +133,9 @@ const Footer = (props: Props) => {
aria-pressed="false"
className={`
relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer
- transition-colors ease-in-out duration-200 focus:outline-none ${darkMode ? 'bg-dark-500' : 'bg-gray-200'} mx-5
+ transition-colors ease-in-out duration-200 focus:outline-none ${
+ darkMode ? 'bg-dark-500' : 'bg-gray-200'
+ } mx-5
`}
onClick={() => toggleDarkMode()}
>
diff --git a/www/components/Layout.tsx b/www/components/Layout.tsx
index 136ee184d54..0ef6d500918 100644
--- a/www/components/Layout.tsx
+++ b/www/components/Layout.tsx
@@ -10,7 +10,6 @@ type Props = {
}
const Layout = (props: Props) => {
-
const { hideHeader = false, hideFooter = false, children } = props
const [darkMode, setDarkMode] = useState<boolean>(true)
@@ -34,7 +33,7 @@ const Layout = (props: Props) => {
<div className="min-h-screen bg-gray-100">
<main>{children}</main>
</div>
- {!hideFooter && <Footer darkMode={darkMode} updateTheme={updateTheme}/>}
+ {!hideFooter && <Footer darkMode={darkMode} updateTheme={updateTheme} />}
</>
)
}
diff --git a/www/components/MadeForDevelopers/CodeExamples.tsx b/www/components/MadeForDevelopers/CodeExamples.tsx
index 7268c442793..04e64ac14a3 100644
--- a/www/components/MadeForDevelopers/CodeExamples.tsx
+++ b/www/components/MadeForDevelopers/CodeExamples.tsx
@@ -34,16 +34,23 @@ const CopiedIcon = () => (
fill="none"
strokeLinecap="round"
strokeLinejoin="round"
- className="css-i6dzq1">
- <polyline points="20 6 9 17 4 12" />
- </svg>
+ className="css-i6dzq1"
+ >
+ <polyline points="20 6 9 17 4 12" />
+ </svg>
)
const CodeExamples = () => {
const [example, setExample] = useState('createUserExample')
const [copied, setCopied] = useState(false)
- const exampleList = ['createUserExample', 'subscribeExample', 'readExample', 'createExample', 'updateExample']
+ const exampleList = [
+ 'createUserExample',
+ 'subscribeExample',
+ 'readExample',
+ 'createExample',
+ 'updateExample',
+ ]
const lang = 'javascript'
@@ -56,12 +63,16 @@ const CodeExamples = () => {
return (
<button
type="button"
- key={id + "-button"}
+ key={id + '-button'}
onClick={() => handleClick(id)}
className={`
mb-2 rounded-md border border-gray-200 dark:border-dark-200 px-4 py-2 text-xs font-medium text-gray transition
focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-transparent sm:text-sm sm:w-auto
- ${example === id ? ' border-gray-900 bg-dark-600 dark:bg-white text-white dark:text-dark-600' : ' hover:bg-gray-200 dark:hover:text-black'}
+ ${
+ example === id
+ ? ' border-gray-900 bg-dark-600 dark:bg-white text-white dark:text-dark-600'
+ : ' hover:bg-gray-200 dark:hover:text-black'
+ }
dark:text-white lg:w-full
`}
>
diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx
index 8adde221ac5..45eaa4e279b 100644
--- a/www/components/MadeForDevelopers/index.tsx
+++ b/www/components/MadeForDevelopers/index.tsx
@@ -9,49 +9,55 @@ const MadeForDevelopers = () => {
return (
<div className="py-16 bg-gray-50 dark:bg-dark-600 overflow-hidden lg:py-16">
<div className="container mx-auto px-8 sm:px-16 xl:px-20">
- <div className="mx-auto max-w-7xl">
- <div className="grid grid-cols-12">
- <div className="col-span-12 lg:col-span-12 xl:col-span-12">
- <SectionHeader
- title={'Instant APIs'}
- title_alt={' that do the hard work for you'}
- subtitle={'MADE FOR DEVELOPERS'}
- paragraph={`We inspect your database and provide APIs instantly so you can stop building repetitive CRUD endpoints and focus on your product`}
- />
+ <div className="mx-auto max-w-7xl">
+ <div className="grid grid-cols-12">
+ <div className="col-span-12 lg:col-span-12 xl:col-span-12">
+ <SectionHeader
+ title={'Instant APIs'}
+ title_alt={' that do the hard work for you'}
+ subtitle={'MADE FOR DEVELOPERS'}
+ paragraph={`We inspect your database and provide APIs instantly so you can stop building repetitive CRUD endpoints and focus on your product`}
+ />
+ </div>
</div>
- </div>
-
- <div className="relative grid grid-cols-12 gap-1 sm:gap-8 lg:items-center">
- <div className="mt-2 col-span-12">
+ <div className="relative grid grid-cols-12 gap-1 sm:gap-8 lg:items-center">
+ <div className="mt-2 col-span-12">
+ <CodeExamples />
- <CodeExamples />
+ <div className="grid grid-cols-12 gap-2">
+ <dl className="mt-12 grid-cols-12 grid col-span-12 sm:gap-4 md:gap-8 lg:gap-8 lg:space-y-0">
+ {DeveloperFeatures.map((feature: any, idx: number) => {
+ const blockClass =
+ idx !== DeveloperFeatures.length - 1
+ ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 md:col-span-6 mb-12 lg:col-span-3 sm:border-gray-200 sm:pr-4 md:pr-6 lg:border-r-2 dark:border-dark-500 even:rotate-45'
+ : 'col-span-12 sm:col-span-3'
- <div className="grid grid-cols-12 gap-2">
- <dl className="mt-12 grid-cols-12 grid col-span-12 sm:gap-4 md:gap-8 lg:gap-8 lg:space-y-0">
-
- {DeveloperFeatures.map((feature: any, idx: number) => {
- const blockClass = idx !== DeveloperFeatures.length - 1
- ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 md:col-span-6 mb-12 lg:col-span-3 sm:border-gray-200 sm:pr-4 md:pr-6 lg:border-r-2 dark:border-dark-500 even:rotate-45'
- : 'col-span-12 sm:col-span-3'
-
- return (
- <div className={blockClass} key={`dev_feature_${idx}`}>
- <div className="lg:mt-5">
- <dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white flex md:flex-col xl:flex-row">
- {feature.name}
- {feature.badge && <Badge className="ml-3 md:ml-0 md:w-20 md:mt-2 xl:ml-3 xl:mt-0 xl:w-auto">{feature.badge}</Badge>}
- </dt>
- <dd className="mt-3 text-base text-gray-500 mb-6 dark:text-dark-300">
- {feature.description}
- </dd>
- <Button type="secondary" text={feature.badge ? "Get notified" : "Explore more"} url="#" />
+ return (
+ <div className={blockClass} key={`dev_feature_${idx}`}>
+ <div className="lg:mt-5">
+ <dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white flex md:flex-col xl:flex-row">
+ {feature.name}
+ {feature.badge && (
+ <Badge className="ml-3 md:ml-0 md:w-20 md:mt-2 xl:ml-3 xl:mt-0 xl:w-auto">
+ {feature.badge}
+ </Badge>
+ )}
+ </dt>
+ <dd className="mt-3 text-base text-gray-500 mb-6 dark:text-dark-300">
+ {feature.description}
+ </dd>
+ <Button
+ type="secondary"
+ text={feature.badge ? 'Get notified' : 'Explore more'}
+ url="#"
+ />
+ </div>
</div>
- </div>
- )
- })}
- </dl>
- </div>
+ )
+ })}
+ </dl>
+ </div>
</div>
</div>
</div>
diff --git a/www/components/Meta.tsx b/www/components/Meta.tsx
index 75d381124f7..6321f8b487a 100644
--- a/www/components/Meta.tsx
+++ b/www/components/Meta.tsx
@@ -4,38 +4,17 @@ import { DESCRIPTION, HOME_OG_IMAGE_URL } from '../lib/constants'
const Meta = () => {
return (
<Head>
- <link
- rel="apple-touch-icon"
- sizes="180x180"
- href="/favicon/apple-touch-icon.png"
- />
- <link
- rel="icon"
- type="image/png"
- sizes="32x32"
- href="/favicon/favicon-32x32.png"
- />
- <link
- rel="icon"
- type="image/png"
- sizes="16x16"
- href="/favicon/favicon-16x16.png"
- />
+ <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png" />
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
<link rel="manifest" href="/favicon/site.webmanifest" />
- <link
- rel="mask-icon"
- href="/favicon/safari-pinned-tab.svg"
- color="#000000"
- />
+ <link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#000000" />
<link rel="shortcut icon" href="/favicon/favicon.ico" />
<meta name="msapplication-TileColor" content="#1E1E1E" />
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
<meta name="theme-color" content="#1E1E1E" />
<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
- <meta
- name="description"
- content={DESCRIPTION}
- />
+ <meta name="description" content={DESCRIPTION} />
<meta property="og:image" content={HOME_OG_IMAGE_URL} />
</Head>
)
diff --git a/www/components/Nav/FlyOut.tsx b/www/components/Nav/FlyOut.tsx
index 9fb2c2b806b..55bd3a5485e 100644
--- a/www/components/Nav/FlyOut.tsx
+++ b/www/components/Nav/FlyOut.tsx
@@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'
import Badge from 'components/Badge'
import Transition from 'lib/Transition'
import Solutions from 'data/Solutions.json'
-import CaseStudiesData from "data/CaseStudies.json"
+import CaseStudiesData from 'data/CaseStudies.json'
const FlyOut = () => {
const [show, setShow] = useState(false)
@@ -44,9 +44,7 @@ const FlyOut = () => {
<p className="text-base font-medium text-gray-900 dark:text-white">
{name} {label && <Badge className="ml-3">{label}</Badge>}
</p>
- <p className="mt-1 text-sm text-gray-500 dark:text-dark-300">
- {description}
- </p>
+ <p className="mt-1 text-sm text-gray-500 dark:text-dark-300">{description}</p>
</div>
{url && (
<p className="mt-2 text-sm font-medium text-brand-600 lg:mt-4">
@@ -65,7 +63,10 @@ const FlyOut = () => {
{content}
</a>
) : (
- <div key={name} className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150">
+ <div
+ key={name}
+ className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
+ >
{content}
</div>
)
diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx
index 2fbcb315bab..1bf8a7bf2fe 100644
--- a/www/components/Nav/index.tsx
+++ b/www/components/Nav/index.tsx
@@ -7,7 +7,7 @@ import Transition from 'lib/Transition'
import Solutions from 'data/Solutions.json'
type Props = {
- darkMode: boolean,
+ darkMode: boolean
}
const Nav = (props: Props) => {
@@ -15,15 +15,15 @@ const Nav = (props: Props) => {
const [open, setOpen] = useState(false)
React.useEffect(() => {
- if(open) {
+ if (open) {
console.log('open if')
// Prevent scrolling on mount
- document.body.style.overflow = 'hidden';
+ document.body.style.overflow = 'hidden'
} else {
- document.body.style.overflow = 'auto';
+ document.body.style.overflow = 'auto'
}
- }, [open]);
-
+ }, [open])
+
const iconSections = Object.values(Solutions).map((solution: any, idx: number) => {
const { name, description, icon, label, url } = solution
@@ -70,14 +70,15 @@ const Nav = (props: Props) => {
) : (
<div
key={`solution_${idx}`}
- className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150">
+ className="-m-3 p-3 flex flex-col justify-between rounded-lg transition ease-in-out duration-150"
+ >
{content}
</div>
)
})
type HamburgerButtonProps = {
- toggleFlyOut: Function,
+ toggleFlyOut: Function
}
const HamburgerButton = (props: HamburgerButtonProps) => (
@@ -129,7 +130,6 @@ const Nav = (props: Props) => {
return (
<nav className="bg-white dark:bg-dark-700 z-50 sticky">
<div className="lg:container mx-auto relative flex justify-between h-16 lg:px-10 xl:px-0">
-
<HamburgerButton toggleFlyOut={() => setOpen(true)} />
<div className="flex-1 flex items-center justify-center sm:px-10 sm:items-stretch lg:justify-between">
@@ -137,12 +137,12 @@ const Nav = (props: Props) => {
<div className="flex-shrink-0 flex items-center">
<img
className="block lg:hidden h-6 w-auto"
- src={darkMode ? "images/logo-dark.png" : "images/logo-light.png"}
+ src={darkMode ? 'images/logo-dark.png' : 'images/logo-light.png'}
alt="Logo"
/>
<img
className="hidden lg:block h-6 w-auto"
- src={darkMode ? "images/logo-dark.png" : "images/logo-light.png"}
+ src={darkMode ? 'images/logo-dark.png' : 'images/logo-light.png'}
alt="Logo"
/>
</div>
@@ -215,80 +215,79 @@ const Nav = (props: Props) => {
leaveFrom="opacity-100 translate-y-0"
leaveTo="opacity-0 translate-y-1"
>
-
- <div className="p-4 md:p-8 h-full h-screen fixed bg-white transform lg:hidden overflow-y-scroll -inset-y-0 z-50 dark:bg-dark-400">
- <div className="absolute right-4 top-4 items-center justify-between">
- <div className="-mr-2">
- <button
- onClick={() => setOpen(false)}
- type="button"
- className="bg-white rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-brand-500 dark:bg-dark-400"
- >
- <span className="sr-only">Close menu</span>
+ <div className="p-4 md:p-8 h-full h-screen fixed bg-white transform lg:hidden overflow-y-scroll -inset-y-0 z-50 dark:bg-dark-400">
+ <div className="absolute right-4 top-4 items-center justify-between">
+ <div className="-mr-2">
+ <button
+ onClick={() => setOpen(false)}
+ type="button"
+ className="bg-white rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-brand-500 dark:bg-dark-400"
+ >
+ <span className="sr-only">Close menu</span>
- <svg
- className="h-6 w-6"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- strokeWidth="2"
- d="M6 18L18 6M6 6l12 12"
- />
- </svg>
- </button>
- </div>
- </div>
- {/* </div> */}
- <div className="mt-6 mb-12">
- <div className="pt-2 pb-4 space-y-1">
- <a
- href="#"
- className="block pl-3 pr-4 text-base font-medium text-gray-600 dark:text-white"
- >
- Sign in
- </a>
- </div>
- <div className="pt-2 pb-4 space-y-1">
- <a
- href="#"
- className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
- >
- Product
- </a>
- <a
- href="#"
- className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
+ <svg
+ className="h-6 w-6"
+ xmlns="http://www.w3.org/2000/svg"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ aria-hidden="true"
>
- Developers
- </a>
- <a
- href="#"
- className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
- >
- Company
- </a>
- <a
- href="#"
- className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
- >
- Pricing
- </a>
- </div>
- <div className="p-3">
- <p className="mb-6 text-sm text-gray-400">Products available:</p>
- {iconSections}
- </div>
+ <path
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="2"
+ d="M6 18L18 6M6 6l12 12"
+ />
+ </svg>
+ </button>
</div>
</div>
+ {/* </div> */}
+ <div className="mt-6 mb-12">
+ <div className="pt-2 pb-4 space-y-1">
+ <a
+ href="#"
+ className="block pl-3 pr-4 text-base font-medium text-gray-600 dark:text-white"
+ >
+ Sign in
+ </a>
+ </div>
+ <div className="pt-2 pb-4 space-y-1">
+ <a
+ href="#"
+ className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
+ >
+ Product
+ </a>
+ <a
+ href="#"
+ className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
+ >
+ Developers
+ </a>
+ <a
+ href="#"
+ className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
+ >
+ Company
+ </a>
+ <a
+ href="#"
+ className="block pl-3 pr-4 py-2 text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 dark:text-white"
+ >
+ Pricing
+ </a>
+ </div>
+ <div className="p-3">
+ <p className="mb-6 text-sm text-gray-400">Products available:</p>
+ {iconSections}
+ </div>
+ </div>
+ </div>
</Transition>
</nav>
)
}
-export default Nav
\ No newline at end of file
+export default Nav
diff --git a/www/components/UI/SectionHeader.tsx b/www/components/UI/SectionHeader.tsx
index f3bc30a9fe8..6ea8acac98d 100644
--- a/www/components/UI/SectionHeader.tsx
+++ b/www/components/UI/SectionHeader.tsx
@@ -1,4 +1,4 @@
-const SectionHeader = (props :any) => {
+const SectionHeader = (props: any) => {
return (
<div className={'grid grid-cols-12 gap-1 sm:gap-8 ' + props.className}>
<div className="relative grid py-12 col-span-12 grid-cols-12">
@@ -23,4 +23,4 @@ const SectionHeader = (props :any) => {
)
}
-export default SectionHeader
\ No newline at end of file
+export default SectionHeader
diff --git a/www/lib/Transition.js b/www/lib/Transition.js
index 506310826c3..72135b217ad 100644
--- a/www/lib/Transition.js
+++ b/www/lib/Transition.js
@@ -26,12 +26,12 @@ function CSSTransition({
appear,
children,
}) {
- const enterClasses = enter.split(' ').filter(s => s.length)
- const enterFromClasses = enterFrom.split(' ').filter(s => s.length)
- const enterToClasses = enterTo.split(' ').filter(s => s.length)
- const leaveClasses = leave.split(' ').filter(s => s.length)
- const leaveFromClasses = leaveFrom.split(' ').filter(s => s.length)
- const leaveToClasses = leaveTo.split(' ').filter(s => s.length)
+ const enterClasses = enter.split(' ').filter((s) => s.length)
+ const enterFromClasses = enterFrom.split(' ').filter((s) => s.length)
+ const enterToClasses = enterTo.split(' ').filter((s) => s.length)
+ const leaveClasses = leave.split(' ').filter((s) => s.length)
+ const leaveFromClasses = leaveFrom.split(' ').filter((s) => s.length)
+ const leaveToClasses = leaveTo.split(' ').filter((s) => s.length)
function addClasses(node, classes) {
classes.length && node.classList.add(...classes)
@@ -49,24 +49,24 @@ function CSSTransition({
addEndListener={(node, done) => {
node.addEventListener('transitionend', done, false)
}}
- onEnter={node => {
+ onEnter={(node) => {
addClasses(node, [...enterClasses, ...enterFromClasses])
}}
- onEntering={node => {
+ onEntering={(node) => {
removeClasses(node, enterFromClasses)
addClasses(node, enterToClasses)
}}
- onEntered={node => {
+ onEntered={(node) => {
removeClasses(node, [...enterToClasses, ...enterClasses])
}}
- onExit={node => {
+ onExit={(node) => {
addClasses(node, [...leaveClasses, ...leaveFromClasses])
}}
- onExiting={node => {
+ onExiting={(node) => {
removeClasses(node, leaveFromClasses)
addClasses(node, leaveToClasses)
}}
- onExited={node => {
+ onExited={(node) => {
removeClasses(node, [...leaveToClasses, ...leaveClasses])
}}
>
diff --git a/www/package-lock.json b/www/package-lock.json
index b44a3122835..1ad0883c678 100644
--- a/www/package-lock.json
+++ b/www/package-lock.json
@@ -765,7 +765,6 @@
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
"integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
- "optional": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
@@ -775,7 +774,6 @@
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
- "optional": true,
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
@@ -789,14 +787,12 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "optional": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "optional": true,
"requires": {
"safe-buffer": "~5.1.0"
}
@@ -1045,7 +1041,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
- "optional": true,
"requires": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
@@ -1394,8 +1389,7 @@
"code-point-at": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
- "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
- "optional": true
+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
},
"collapse-white-space": {
"version": "1.0.6",
@@ -1528,8 +1522,7 @@
"console-control-strings": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
- "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
- "optional": true
+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
},
"constants-browserify": {
"version": "1.0.0",
@@ -2049,8 +2042,7 @@
"delegates": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
- "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
- "optional": true
+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
},
"depd": {
"version": "1.1.2",
@@ -2077,8 +2069,7 @@
"detect-libc": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
- "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
- "optional": true
+ "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups="
},
"detective": {
"version": "5.2.0",
@@ -2724,8 +2715,7 @@
"fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "optional": true
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"fs-extra": {
"version": "9.0.1",
@@ -2800,7 +2790,6 @@
"version": "2.7.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
- "optional": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
@@ -2815,14 +2804,12 @@
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
- "optional": true
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
- "optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@@ -2908,8 +2895,7 @@
"has-unicode": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
- "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
- "optional": true
+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
},
"has-value": {
"version": "1.0.0",
@@ -3295,7 +3281,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
- "optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@@ -3970,8 +3955,7 @@
"mkdirp-classic": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
- "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
- "optional": true
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
},
"modern-normalize": {
"version": "1.0.0",
@@ -4287,7 +4271,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
- "optional": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
@@ -4304,8 +4287,7 @@
"number-is-nan": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
- "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
- "optional": true
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
},
"object-assign": {
"version": "4.1.1",
@@ -6381,8 +6363,7 @@
"set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
- "optional": true
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
},
"set-value": {
"version": "2.0.1",
@@ -6439,14 +6420,12 @@
"signal-exit": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",
- "optional": true
+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="
},
"simple-concat": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
- "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
- "optional": true
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="
},
"simple-get": {
"version": "4.0.0",
@@ -6787,7 +6766,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
- "optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@@ -6797,14 +6775,12 @@
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
- "optional": true
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
- "optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@@ -7010,7 +6986,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
"integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
- "optional": true,
"requires": {
"chownr": "^1.1.1",
"mkdirp-classic": "^0.5.2",
@@ -7022,7 +6997,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz",
"integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==",
- "optional": true,
"requires": {
"bl": "^4.0.3",
"end-of-stream": "^1.4.1",
@@ -7321,7 +7295,6 @@
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
- "optional": true,
"requires": {
"safe-buffer": "^5.0.1"
}
@@ -7751,7 +7724,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
- "optional": true,
"requires": {
"kind-of": "^3.0.2"
}
@@ -7766,7 +7738,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "optional": true,
"requires": {
"is-buffer": "^1.1.5"
}
@@ -7800,8 +7771,7 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "optional": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"string_decoder": {
"version": "1.1.1",
@@ -7929,7 +7899,6 @@
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
"integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
- "optional": true,
"requires": {
"string-width": "^1.0.2 || 2"
}
diff --git a/www/pages/beta.tsx b/www/pages/beta.tsx
index 2a4ab1c1467..fdd9ee44276 100644
--- a/www/pages/beta.tsx
+++ b/www/pages/beta.tsx
@@ -1,4 +1,16 @@
-import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, Label, LabelList, ResponsiveContainer } from 'recharts';
+import {
+ BarChart,
+ Bar,
+ Cell,
+ XAxis,
+ YAxis,
+ CartesianGrid,
+ Tooltip,
+ Legend,
+ Label,
+ LabelList,
+ ResponsiveContainer,
+} from 'recharts'
import Head from 'next/head'
import Container from 'components/Container'
@@ -10,7 +22,7 @@ import { AlphaNumbers, IntroductionSegments, PerformanceComparisonData } from 'd
const site_title = `${APP_NAME} | We are now in Beta`
type SectionHeaderProps = {
- sectionNumber: number,
+ sectionNumber: number
header: string
}
@@ -33,19 +45,16 @@ const Hero = () => (
const Introduction = () => (
<div className="bg-gray-50">
<div className="container mx-auto px-28 py-20 grid grid-cols-12 gap-4">
-
<div className="col-span-7 text-base mb-20">
<p>
- After the launch of our <span className="text-brand-700 hover:text-brand-800">Alpha</span> Program
- in June, we've been fortunate to work with thousands of early adopters
- on improving both our Open Source, and Hosted offerings.
+ After the launch of our <span className="text-brand-700 hover:text-brand-800">Alpha</span>{' '}
+ Program in June, we've been fortunate to work with thousands of early adopters on
+ improving both our Open Source, and Hosted offerings.
</p>
</div>
<div className="col-span-12 text-base mb-10">
- <p className="w-60 pb-2 border-b-2 border-dark-100">
- Alpha Program in Numbers
- </p>
+ <p className="w-60 pb-2 border-b-2 border-dark-100">Alpha Program in Numbers</p>
</div>
<div className="col-span-12 grid grid-cols-12 gap-y-20 mb-20">
@@ -80,42 +89,35 @@ const Introduction = () => (
{segment.chapters.map((chapter: string, idx: number) => (
<div className="flex items-center mb-5">
<p className="font-mono text-xs text-dark-300">{`0${idx + 1}`}</p>
- <p className="ml-4 text-base border-b border-gray-400 cursor-pointer">{chapter}</p>
+ <p className="ml-4 text-base border-b border-gray-400 cursor-pointer">
+ {chapter}
+ </p>
</div>
))}
</div>
</>
))}
</div>
-
</div>
</div>
)
const Performance = () => {
-
- const readColors = ["#38BC81", "red"]
- const writeColors = ["#65D9A5", "pink"]
+ const readColors = ['#38BC81', 'red']
+ const writeColors = ['#65D9A5', 'pink']
function renderCustomizedLabel(props: any): any {
- const { width, text } = props
+ const { width, text } = props
const radius = 10
-
+
let x: number = props.x + width / 2
let y: number = props.y - radius
return (
- <text
- x={x}
- y={y}
- fill="#000"
- textAnchor="middle"
- dominantBaseline="middle"
- fontSize={14}
- >
+ <text x={x} y={y} fill="#000" textAnchor="middle" dominantBaseline="middle" fontSize={14}>
{text}
</text>
)
- };
+ }
// Documentation on recharts:
// http://recharts.org/en-US/api/Bar
@@ -132,14 +134,15 @@ const Performance = () => {
style={{ textAnchor: 'middle' }}
/>
</YAxis>
- <Tooltip cursor={{ fill: 'rgba(0, 0, 0, 0.05)'}} />
+ <Tooltip cursor={{ fill: 'rgba(0, 0, 0, 0.05)' }} />
<Bar dataKey="read" name="Read" barSize={20} unit=" requests/s">
{PerformanceComparisonData.map((entry: any, idx: number) => (
<Cell key={`cell_${idx}`} fill={readColors[idx]} />
))}
{/* @ts-ignore */}
- <LabelList content={(props) => {
- const updatedProps = { ...props, text: "Read"}
+ <LabelList
+ content={(props) => {
+ const updatedProps = { ...props, text: 'Read' }
return renderCustomizedLabel(updatedProps)
}}
position="top"
@@ -150,8 +153,9 @@ const Performance = () => {
<Cell key={`cell_${idx}`} fill={writeColors[idx]} />
))}
{/* @ts-ignore */}
- <LabelList content={(props) => {
- const updatedProps = { ...props, text: "Write"}
+ <LabelList
+ content={(props) => {
+ const updatedProps = { ...props, text: 'Write' }
return renderCustomizedLabel(updatedProps)
}}
position="top"
@@ -165,24 +169,38 @@ const Performance = () => {
<div id="performance" className="bg-white">
<div className="container mx-auto px-28 py-20 grid grid-cols-12 gap-y-10">
<SectionHeader sectionNumber={1} header="Performance" />
-
+
<div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10 items-center">
<div className="col-span-7 text-base">
<p className="mb-10">
Supabase grew out of a need for a faster and more scalable web-ready datastore.
- Postgres enables our users to handle massive amounts of data without sacrificing read and write speed.
+ Postgres enables our users to handle massive amounts of data without sacrificing read
+ and write speed.
</p>
<p className="mb-10">
- During our Alpha program we have been obsessively tweaking our stack to tease out superior performance.
- We chose the hyper-scalable <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Elixer</a> to handle
- our <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Realtime engine</a>, and have supported
- the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">PostgREST</a> team while they improved the
- performance of their auto-generated CRUD APIs.
+ During our Alpha program we have been obsessively tweaking our stack to tease out
+ superior performance. We chose the hyper-scalable{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ Elixer
+ </a>{' '}
+ to handle our{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ Realtime engine
+ </a>
+ , and have supported the{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ PostgREST
+ </a>{' '}
+ team while they improved the performance of their auto-generated CRUD APIs.
</p>
<p>
- We are proud to publish the results of our benchmarks here and we'll continue to seek gains throughout
- our Beta program and beyond. Our <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">benchmarks</a> are
- Open Source, and we are seeking contributors to help maintain our code and improve on our methodologies.
+ We are proud to publish the results of our benchmarks here and we'll continue to seek
+ gains throughout our Beta program and beyond. Our{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ benchmarks
+ </a>{' '}
+ are Open Source, and we are seeking contributors to help maintain our code and improve
+ on our methodologies.
</p>
</div>
<div className="col-span-5">
@@ -190,18 +208,18 @@ const Performance = () => {
</div>
<div className="col-span-7 text-base">
<p className="mt-10 mb-10">
- Supabase is now available in 7 different geographic regions, so you can reduce latency by deploying in close
- proximity to your customer base.
+ Supabase is now available in 7 different geographic regions, so you can reduce latency
+ by deploying in close proximity to your customer base.
</p>
<p>
- A key metric in how we measure Supabase is what we call "Time to Value". How fast can a user go from sign up,
- to making their first API request? How fast can they from being in Production and generating value for their
- own customers? We've made several case studies available on our website here, with a special focus on how Supabase
- enables them to build and scale their product in as little time as possible.
+ A key metric in how we measure Supabase is what we call "Time to Value". How fast can
+ a user go from sign up, to making their first API request? How fast can they from
+ being in Production and generating value for their own customers? We've made several
+ case studies available on our website here, with a special focus on how Supabase
+ enables them to build and scale their product in as little time as possible.
</p>
</div>
</div>
-
</div>
</div>
)
@@ -215,35 +233,44 @@ const Security = () => (
<div className="col-span-12 grid grid-cols-12 gap-x-8">
<div className="col-span-7 text-base">
<p className="mb-10">
- As an infrastructure provider, Security has been a priority from day one. During Supabase's Alpha
- period we experienced a single security breach, which was the result of weak customer passwords.
- An automated brute force attack accessed a handful of our customer's databases who had chosen weak passwords.
- The instances involved were destroyed, and the users involved reminded the importance of strong passwords.
- We now require that all database passwords pass a strength test (provided by the
- excellent <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">zxcvbn</a>).
+ As an infrastructure provider, Security has been a priority from day one. During
+ Supabase's Alpha period we experienced a single security breach, which was the result of
+ weak customer passwords. An automated brute force attack accessed a handful of our
+ customer's databases who had chosen weak passwords. The instances involved were
+ destroyed, and the users involved reminded the importance of strong passwords. We now
+ require that all database passwords pass a strength test (provided by the excellent{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ zxcvbn
+ </a>
+ ).
</p>
<p className="mb-5">
- Approaching the launch of our Beta period, we have been working with a number of security advisors and
- specialists globally to put in place several new measures and processes:
+ Approaching the launch of our Beta period, we have been working with a number of
+ security advisors and specialists globally to put in place several new measures and
+ processes:
</p>
<ul className="list-disc list-outside ml-6">
<li className="mb-5">
- Employed DigitalXRAID to run a full Pen Test on both our internal and customer infrastructure.
- In the interest of transparency we are making the summary report available here. We have since patched
- the higher priority issues and are currently in the process of resolving the minor and informational issues.
+ Employed DigitalXRAID to run a full Pen Test on both our internal and customer
+ infrastructure. In the interest of transparency we are making the summary report
+ available here. We have since patched the higher priority issues and are currently in
+ the process of resolving the minor and informational issues.
</li>
<li className="mb-5">
- Published a disclosure policy to help ethical hackers help us find vulnerabilities in our systems.
- It is availablein the usual place.
+ Published a disclosure policy to help ethical hackers help us find vulnerabilities in
+ our systems. It is availablein the usual place.
</li>
<li className="mb-5">
- We now run an ongoing internal Capture the Flag competition, where team members are challenged to breach
- various components of our systems.
+ We now run an ongoing internal Capture the Flag competition, where team members are
+ challenged to breach various components of our systems.
</li>
<li>
- Adopted the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Snyk</a> dependency monitor as part of
- our SSDLC on several key component of our system, to help locate potential vulnerabilities in third party
- Open Source dependencies.
+ Adopted the{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ Snyk
+ </a>{' '}
+ dependency monitor as part of our SSDLC on several key component of our system, to
+ help locate potential vulnerabilities in third party Open Source dependencies.
</li>
</ul>
</div>
@@ -268,8 +295,7 @@ const Security = () => (
potential vulnerabilities in third party Open Source dependencies.
</div>
</div> */}
-
- </div>
+ </div>
</div>
</div>
)
@@ -287,29 +313,35 @@ const Reliability = () => (
</p>
<ul className="list-disc list-outside ml-6 mb-10">
<li className="mb-5">
- A third-party CDN API outage. As a result, subdomains were not created for new projects.
+ A third-party CDN API outage. As a result, subdomains were not created for new
+ projects.
</li>
<li>
- Cloud resource limits. During peak periods we maxed out the number of Virtual Machines we
- could initiate in a couple of popular regions, these limitations are artificial and our Cloud
- providers quickly lifted them. We also hit the maximum number of subdomains that could be issued temporarily
+ Cloud resource limits. During peak periods we maxed out the number of Virtual Machines
+ we could initiate in a couple of popular regions, these limitations are artificial and
+ our Cloud providers quickly lifted them. We also hit the maximum number of subdomains
+ that could be issued temporarily
</li>
</ul>
<p className="mb-10">
- Availability is one of our High Priority goals. We're making efforts to maximize uptime and ensuring user
- data is backed up in a secure and encrypted location.
+ Availability is one of our High Priority goals. We're making efforts to maximize uptime
+ and ensuring user data is backed up in a secure and encrypted location.
</p>
<p className="mb-10">
- We're launching <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">https://status.supabase.io</a> to
- keep track of uptime across all of our services and critical infrastructure. (Possibly drop a screen grab here)
+ We're launching{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ https://status.supabase.io
+ </a>{' '}
+ to keep track of uptime across all of our services and critical infrastructure.
+ (Possibly drop a screen grab here)
</p>
<p>
- For our Alpha & Beta Users we take daily backups of your Database free of charge up to 20GB and store
- them in an encrypted format. They are available to download at any time via the dashboard.
+ For our Alpha & Beta Users we take daily backups of your Database free of charge up to
+ 20GB and store them in an encrypted format. They are available to download at any time
+ via the dashboard.
</p>
</div>
</div>
-
</div>
</div>
)
@@ -322,28 +354,23 @@ const NewFeaturesAndIntegrations = () => (
<div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10">
<div className="col-span-7 text-base">
<p className="mb-5">
- Supabase Beta now comes with the following high level features: (Joshen see whether you can add pizzazz to this part)
+ Supabase Beta now comes with the following high level features: (Joshen see whether you
+ can add pizzazz to this part)
</p>
<ul className="list-disc list-outside ml-6">
<li className="mb-5">
- Supabase Auth: we provide an easy to use Javascript (and HTTP) interface allowing your Users to sign in
- and out of your application. You can define which rows in your Database a given user is allowed to access
- (e.g. only his or her shopping cart), and we even provide confirmation, recovery, and invite email templates
- which you can customize on the dashboard, and we'll send all of your transactional emails for you.
- </li>
- <li className="mb-5">
- Vercel + Stripe
- </li>
- <li className="mb-5">
- Table Editor
- </li>
- <li>
- SQL Editor
+ Supabase Auth: we provide an easy to use Javascript (and HTTP) interface allowing your
+ Users to sign in and out of your application. You can define which rows in your
+ Database a given user is allowed to access (e.g. only his or her shopping cart), and
+ we even provide confirmation, recovery, and invite email templates which you can
+ customize on the dashboard, and we'll send all of your transactional emails for you.
</li>
+ <li className="mb-5">Vercel + Stripe</li>
+ <li className="mb-5">Table Editor</li>
+ <li>SQL Editor</li>
</ul>
</div>
</div>
-
</div>
</div>
)
@@ -356,22 +383,22 @@ const BetaPricing = () => (
<div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10">
<div className="col-span-7 text-base">
<p className="mb-10">
- We've been working closely with many Open Source projects, Infrastructure Providers,
- and of course our Alpha Users, to provide a predictable and sustainable pricing model.
- </p>
- <p className="mb-5">
- Our key aims going into this exercise were:
+ We've been working closely with many Open Source projects, Infrastructure Providers, and
+ of course our Alpha Users, to provide a predictable and sustainable pricing model.
</p>
+ <p className="mb-5">Our key aims going into this exercise were:</p>
<ul className="list-disc list-outside ml-6 mb-10">
<li className="mb-5">
- To continue offering free Supabase instances for Students, Hobbyists, and Early Adopters
+ To continue offering free Supabase instances for Students, Hobbyists, and Early
+ Adopters
</li>
<li className="mb-5">
- To price based on <span className="italic">predictable</span> metrics (no shock bills at the end of the month)
+ To price based on <span className="italic">predictable</span> metrics (no shock bills
+ at the end of the month)
</li>
<li>
- To grow with our users, providing a pricing model that supports their growth and ability to create value for
- their customers
+ To grow with our users, providing a pricing model that supports their growth and
+ ability to create value for their customers
</li>
</ul>
<p className="mb-10">
@@ -380,29 +407,32 @@ const BetaPricing = () => (
</p>
<ul className="list-decimal list-outside ml-6 mb-10">
<li className="mb-5">
- All Alpha Users will receive credits equivalent of 2 years of base tier usage, these will automatically
- be credited to your account if you signed up prior to December 2020.
+ All Alpha Users will receive credits equivalent of 2 years of base tier usage, these
+ will automatically be credited to your account if you signed up prior to December
+ 2020.
</li>
<li className="mb-5">
- All Beta Users (new users from today onward) will receive 1 year of base tier usage for free.
+ All Beta Users (new users from today onward) will receive 1 year of base tier usage
+ for free.
</li>
<li className="mb-5">
- All University (and participating Code Schools) Students will be eligible for 2 years of base tier usage
- (Code Schools contact us here)
- <span className="block text-gray-300 mt-1">Details of how to claim for Students will be published shortly</span>
+ All University (and participating Code Schools) Students will be eligible for 2 years
+ of base tier usage (Code Schools contact us here)
+ <span className="block text-gray-300 mt-1">
+ Details of how to claim for Students will be published shortly
+ </span>
</li>
<li>
- Early stage startups participating in selected incubator programs can claim additional credits which can
- be applied to products outside of the base tier.
+ Early stage startups participating in selected incubator programs can claim additional
+ credits which can be applied to products outside of the base tier.
</li>
</ul>
<p>
- The Supabase Base Tier constitutes a Supabase Instance running in a single region, on 2 vCPUs, 1 GiB Memory,
- with 2 GB of storage, and daily backups.
+ The Supabase Base Tier constitutes a Supabase Instance running in a single region, on 2
+ vCPUs, 1 GiB Memory, with 2 GB of storage, and daily backups.
</p>
</div>
</div>
-
</div>
</div>
)
@@ -418,34 +448,47 @@ const OpenSource = () => (
Great software is multi generational and stretches far beyond any single company.
</p>
<p className="mb-10">
- Since Supabase is a collection of many different projects and repos, hosted by us, and by members of the
- community, we rely on making it easier for contributors to get involved by making Open Source more accessible.
+ Since Supabase is a collection of many different projects and repos, hosted by us, and
+ by members of the community, we rely on making it easier for contributors to get
+ involved by making Open Source more accessible.
</p>
<p className="mb-10">
- Every dollar that is given to Supabase in GitHub <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">sponsorship</a> will
- be funneled back into the community to support the next generation of Open Source maintainers.
+ Every dollar that is given to Supabase in GitHub{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ sponsorship
+ </a>{' '}
+ will be funneled back into the community to support the next generation of Open Source
+ maintainers.
</p>
<p className="mb-10">
- One of the biggest barriers to Open Source is knowing exactly how you can contribute. We're partnering
- with <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Strive School</a> to educate the next generation
- of programmers in Open Source by providing tutorials, Founder Office Hours, and other free resources.
+ One of the biggest barriers to Open Source is knowing exactly how you can contribute.
+ We're partnering with{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ Strive School
+ </a>{' '}
+ to educate the next generation of programmers in Open Source by providing tutorials,
+ Founder Office Hours, and other free resources.
</p>
<p>
- If you teach programming, and you're interested in offering OSS tuition to your students, we're actively looking
- for more education partners. Email <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a> to
- find out more.
+ If you teach programming, and you're interested in offering OSS tuition to your
+ students, we're actively looking for more education partners. Email{' '}
+ <a
+ href="mailto:[email protected]"
+ target="_blank"
+ className="text-brand-700 hover:text-brand-800"
+ >
+ </a>{' '}
+ to find out more.
</p>
</div>
</div>
-
</div>
</div>
)
// Skip this segment first
-const FundingPartners = () => (
- <div></div>
-)
+const FundingPartners = () => <div></div>
const ScalingOurTeam = () => (
<div id="scalingOurTeam" className="bg-white">
@@ -455,14 +498,21 @@ const ScalingOurTeam = () => (
<div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10">
<div className="col-span-7 text-base">
<p>
- We are looking for hires across multiple positions including PostgreSQL engineers, Cloud engineers, SRE's, and
- Developer Advocates. We are a fully remote team, spanning 4 continents and 10 nationalities. If you are
- interested and think you can be a factor in the success of Supabase, get in touch at
- <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a>.
+ We are looking for hires across multiple positions including PostgreSQL engineers, Cloud
+ engineers, SRE's, and Developer Advocates. We are a fully remote team, spanning 4
+ continents and 10 nationalities. If you are interested and think you can be a factor in
+ the success of Supabase, get in touch at
+ <a
+ href="mailto:[email protected]"
+ target="_blank"
+ className="text-brand-700 hover:text-brand-800"
+ >
+ </a>
+ .
</p>
</div>
</div>
-
</div>
</div>
)
@@ -475,42 +525,52 @@ const WhatsNext = () => (
<div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10">
<div className="col-span-7 text-base">
<p className="mb-5">
- If you watch our repos you'll see that development never stops, we ship every day (and night!), and
- are always improving Supabase based on user feedback. Alongside Performance, Security, and Reliability
- improvements, here are some new features we're currently working on for 2021:
+ If you watch our repos you'll see that development never stops, we ship every day (and
+ night!), and are always improving Supabase based on user feedback. Alongside
+ Performance, Security, and Reliability improvements, here are some new features we're
+ currently working on for 2021:
</p>
<ul className="list-disc list-outside ml-6 mb-10">
+ <li className="mb-5">Storage - Making blob storage easier than ever before</li>
<li className="mb-5">
- Storage - Making blob storage easier than ever before
+ Functions - write and deploy serverless functions that have access to your Supabase
+ context
</li>
<li className="mb-5">
- Functions - write and deploy serverless functions that have access to your Supabase context
+ High Availability - Database and API replicas spread globally to serve a global user
+ base
</li>
<li className="mb-5">
- High Availability - Database and API replicas spread globally to serve a global user base
+ Multicloud - Spread your Supabase instances across multiple datacenter providers to
+ protect against outages
</li>
<li className="mb-5">
- Multicloud - Spread your Supabase instances across multiple datacenter providers to protect against outages
- </li>
- <li className="mb-5">
- Self Hosted - 'Bring your own cloud' is essential for some businesses, and so we're working on easy-deploy
- tooling for customers with this requirement
+ Self Hosted - 'Bring your own cloud' is essential for some businesses, and so we're
+ working on easy-deploy tooling for customers with this requirement
</li>
<li>
- More client libraries - members of the community are helping us build client libraries for many different
- languages including Typescript, Python, Dart, C#, and Rust. Come and help us bring Supabase to your favourite
- language or framework.
+ More client libraries - members of the community are helping us build client libraries
+ for many different languages including Typescript, Python, Dart, C#, and Rust. Come
+ and help us bring Supabase to your favourite language or framework.
</li>
</ul>
<p>
- We depend on your feedback to continually improve Supabase.Email us
- at <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a> or join
- the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">discussion</a> on GitHub to let us know how we
- can help you build things faster.
+ We depend on your feedback to continually improve Supabase.Email us at{' '}
+ <a
+ href="mailto:[email protected]"
+ target="_blank"
+ className="text-brand-700 hover:text-brand-800"
+ >
+ </a>{' '}
+ or join the{' '}
+ <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">
+ discussion
+ </a>{' '}
+ on GitHub to let us know how we can help you build things faster.
</p>
</div>
</div>
-
</div>
</div>
)
@@ -552,4 +612,4 @@ const Beta = () => {
)
}
-export default Beta
\ No newline at end of file
+export default Beta
diff --git a/www/pages/index.tsx b/www/pages/index.tsx
index ee7d4804a80..e95cac70ddc 100644
--- a/www/pages/index.tsx
+++ b/www/pages/index.tsx
@@ -11,18 +11,18 @@ import AdminAccess from 'components/AdminAccess/index'
import CaseStudies from 'components/CaseStudies/index'
import CTABanner from 'components/CTABanner/index'
-type Props = {
-
-}
+type Props = {}
const site_title = `The Open Source Firebase Alternative | ${APP_NAME}`
-const Index = ({ }: Props) => {
+const Index = ({}: Props) => {
return (
<>
<Layout>
<Head>
- <title>{DESCRIPTION} | {site_title}</title>
+ <title>
+ {DESCRIPTION} | {site_title}
+ </title>
<meta name="description" content={DESCRIPTION} />
<meta property="og:type" content="website" />
<meta name="og:title" property="og:title" content={site_title} />