Skip to content

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

chore: more styling updates

Isaiah Hamiltona6f3b48cf1c0
diff --git a/www/components/Carousels/SplitCodeBlockCarousel.tsx b/www/components/Carousels/SplitCodeBlockCarousel.tsx
index 134f0fa58c7..be804aebbb9 100644
--- a/www/components/Carousels/SplitCodeBlockCarousel.tsx
+++ b/www/components/Carousels/SplitCodeBlockCarousel.tsx
@@ -128,7 +128,9 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
{extension.url && (
<Link href={extension.url} as={extension.url}>
<a className="ml-px">
- <Button as="a" type="default">View documentation</Button>
+ <Button as="a" type="default">
+ View documentation
+ </Button>
</a>
</Link>
)}
diff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsx
index 306029ec4d2..0437a805c85 100644
--- a/www/components/Footer/index.tsx
+++ b/www/components/Footer/index.tsx
@@ -11,7 +11,7 @@ const Footer = () => {
return (
<footer
- className="border-t border-gray-100 dark:border-gray-600"
+ className="border-t border-scale-500 dark:border-scale-600"
aria-labelledby="footerHeading"
>
<h2 id="footerHeading" className="sr-only">
@@ -117,7 +117,7 @@ const Footer = () => {
</div>
</div>
</div>
- <div className="mt-32 border-t dark:border-scale-600 pt-8 flex justify-between">
+ <div className="mt-32 border-t border-scale-500 dark:border-scale-600 pt-8 flex justify-between">
<p className="mb-0 self-center text-base">&copy; Supabase Inc</p>
<DarkModeToggle />
</div>
diff --git a/www/components/ImageGrid.tsx b/www/components/ImageGrid.tsx
index 089e7ca9b2d..bae22b51b5c 100644
--- a/www/components/ImageGrid.tsx
+++ b/www/components/ImageGrid.tsx
@@ -87,8 +87,8 @@ const ImageGrid = ({
className={`
col-span-1 flex items-center justify-center
bg-gray-50
- dark:bg-gray-700
- ${x.link && 'hover:bg-gray-100 dark:hover:bg-gray-600'}
+ dark:bg-scale-400
+ ${x.link && 'hover:bg-gray-100 dark:hover:bg-scale-600'}
p-8 ${className}`}
>
<div
diff --git a/www/pages/beta.tsx b/www/pages/beta.tsx
index f29a60a1045..d9e87605f9b 100644
--- a/www/pages/beta.tsx
+++ b/www/pages/beta.tsx
@@ -134,88 +134,88 @@ const Hero = (props: Props) => {
const Introduction = () => {
return (
- <div className="container mx-auto px-8 lg:px-28 py-20 grid grid-cols-12 gap-4 text-dark-300">
- <div className="col-span-12 sm:col-span-9 xl:col-span-8">
- <p>
- <span className="text-2xl block text-black">
- After the launch of our{' '}
- <a
- href="https://news.ycombinator.com/item?id=23319901"
- target="_blank"
- className="text-brand-900 hover:text-brand-900"
- >
- Alpha
- </a>{' '}
- Program in June,
- </span>
- </p>
- </div>
- <div className="col-span-12 sm:col-span-9 xl:col-span-6 text-base mb-20 text-dark-400">
- <p>
- we've been fortunate to work with thousands of early adopters on improving both our Open
- Source, and Hosted offerings. Companies like{' '}
+ <div className="container mx-auto px-8 lg:px-28 py-20 grid grid-cols-12 gap-4 text-dark-300">
+ <div className="col-span-12 sm:col-span-9 xl:col-span-8">
+ <p>
+ <span className="text-2xl block text-black">
+ After the launch of our{' '}
<a
- href="/blog/2020/12/02/case-study-xendit"
+ href="https://news.ycombinator.com/item?id=23319901"
target="_blank"
className="text-brand-900 hover:text-brand-900"
>
- Xendit
- </a>
- ,{' '}
- <a
- href="/blog/2020/12/02/case-study-monitoro"
- target="_blank"
- className="text-brand-900 hover:text-brand-900"
- >
- Monitoro
- </a>
- , and{' '}
- <a
- href="/blog/2020/12/02/case-study-tayfa"
- target="_blank"
- className="text-brand-900 hover:text-brand-900"
- >
- TAYFA
+ Alpha
</a>{' '}
- are using Supabase to ship more products, faster.
- </p>
- </div>
+ Program in June,
+ </span>
+ </p>
+ </div>
+ <div className="col-span-12 sm:col-span-9 xl:col-span-6 text-base mb-20 text-dark-400">
+ <p>
+ we've been fortunate to work with thousands of early adopters on improving both our Open
+ Source, and Hosted offerings. Companies like{' '}
+ <a
+ href="/blog/2020/12/02/case-study-xendit"
+ target="_blank"
+ className="text-brand-900 hover:text-brand-900"
+ >
+ Xendit
+ </a>
+ ,{' '}
+ <a
+ href="/blog/2020/12/02/case-study-monitoro"
+ target="_blank"
+ className="text-brand-900 hover:text-brand-900"
+ >
+ Monitoro
+ </a>
+ , and{' '}
+ <a
+ href="/blog/2020/12/02/case-study-tayfa"
+ target="_blank"
+ className="text-brand-900 hover:text-brand-900"
+ >
+ TAYFA
+ </a>{' '}
+ are using Supabase to ship more products, faster.
+ </p>
+ </div>
- <div className="col-span-12 text-base mb-10">
- <p className="w-60 pb-2 border-b-2 border-dark-200 text-dark-400 dark:border-dark-400">
- Alpha Program in Numbers
- </p>
- </div>
+ <div className="col-span-12 text-base mb-10">
+ <p className="w-60 pb-2 border-b-2 border-dark-200 text-dark-400 dark:border-dark-400">
+ Alpha Program in Numbers
+ </p>
+ </div>
- <div
- id="alphaNumbers"
- className="col-span-12 grid grid-cols-12 gap-y-12 lg:gap-y-20 mb-20 gap-x-3 sm:gap-x-0"
- >
- {AlphaNumbers.map((stat: any, idx: number) => (
- <div
- key={`stat_${idx}`}
- className="col-span-6 sm:col-span-4 grid grid-cols-8 sm:grid-cols-12 gap-x-1 md:gap-x-0 xl:gap-x-6 items-center"
- >
- <div className="col-span-4 sm:col-span-4 md:col-span-3 xl:col-span-2">
- <div className="w-12 h-12 rounded-md bg-scale-1200 flex items-center justify-center dark:bg-white">
- {stat.icon}
- </div>
- </div>
- <div className="col-span-7 sm-col-span-8 md:col-span-9 xl:col-span-10 text-dark-400">
- <p className="text-5xl lg:text-6xl">
- <CountUp triggerAnimOnScroll={true} referenceElId="alphaNumbers">
- {stat.value}
- </CountUp>
- {stat.unit && <span className="text-2xl ml-1">{stat.unit}</span>}
- </p>
- </div>
- <div className="col-span-12 sm:col-span-9 md:col-span-10 col-start-0 sm:col-start-5 md:col-start-4 xl:col-start-3">
- <p className="text-xs lg:text-base text-dark-300 dark:text-dark-400">{stat.name}</p>
+ <div
+ id="alphaNumbers"
+ className="col-span-12 grid grid-cols-12 gap-y-12 lg:gap-y-20 mb-20 gap-x-3 sm:gap-x-0"
+ >
+ {AlphaNumbers.map((stat: any, idx: number) => (
+ <div
+ key={`stat_${idx}`}
+ className="col-span-6 sm:col-span-4 grid grid-cols-8 sm:grid-cols-12 gap-x-1 md:gap-x-0 xl:gap-x-6 items-center"
+ >
+ <div className="col-span-4 sm:col-span-4 md:col-span-3 xl:col-span-2">
+ <div className="w-12 h-12 rounded-md bg-scale-1200 flex items-center justify-center dark:bg-white">
+ {stat.icon}
</div>
</div>
- ))}
- </div>
+ <div className="col-span-7 sm-col-span-8 md:col-span-9 xl:col-span-10 text-dark-400">
+ <p className="text-5xl lg:text-6xl">
+ <CountUp triggerAnimOnScroll={true} referenceElId="alphaNumbers">
+ {stat.value}
+ </CountUp>
+ {stat.unit && <span className="text-2xl ml-1">{stat.unit}</span>}
+ </p>
+ </div>
+ <div className="col-span-12 sm:col-span-9 md:col-span-10 col-start-0 sm:col-start-5 md:col-start-4 xl:col-start-3">
+ <p className="text-xs lg:text-base text-dark-300 dark:text-dark-400">{stat.name}</p>
+ </div>
+ </div>
+ ))}
</div>
+ </div>
)
}
diff --git a/www/pages/brand-assets.tsx b/www/pages/brand-assets.tsx
index 5662891f5d0..6bd7ecdae99 100644
--- a/www/pages/brand-assets.tsx
+++ b/www/pages/brand-assets.tsx
@@ -35,10 +35,10 @@ const Index = () => {
<Layout>
<Container>
<SectionContainer className="pb-0 md:pb-0 lg:pb-0">
- <div className="grid lg:grid-cols-2">
- <h1>Brand assets</h1>
- <h3>Download official Supabase logos</h3>
- <p>
+ <div className="max-w-xl">
+ <h1 className="text-5xl text-scale-1200">Brand assets</h1>
+ <p className="text-2xl text-scale-1200">Download official Supabase logos</p>
+ <p className="text-sm text-scale-1200">
All Supabase trademarks, logos, or other brand elements can never be modified or
used for any other purpose other than to represent Supabase Inc.
</p>
@@ -56,8 +56,8 @@ const Index = () => {
<div className="col-span-12 lg:col-span-7 flex items-center">
<div className="p-16">
<div>
- <h2>Supabase logos</h2>
- <p>
+ <h1 className="text-4xl">Supabase logos</h1>
+ <p className="text-sm">
<p>
Download Supabase official logos, including as SVG's, in both light and dark
theme.
diff --git a/www/pages/company.tsx b/www/pages/company.tsx
index 7779a237494..baeb4339ac0 100644
--- a/www/pages/company.tsx
+++ b/www/pages/company.tsx
@@ -75,7 +75,9 @@ const Header = () => {
mx-auto px-6 lg:px-16 xl:px-20 relative py-16 sm:py-18 md:py-24 lg:py-24
text-center"
>
- <h1>Join one of the world's fastest growing open source communities.</h1>
+ <h1 className="text-5xl">
+ Join one of the world's fastest growing open source communities.
+ </h1>
</div>
</>
)
@@ -111,7 +113,9 @@ const Team = () => {
</div>
<div className=" md:text-right pt-8 md:mt-0 col-span-4">
<a href="https://about.supabase.com/careers">
- <Button size="medium">Join the team</Button>
+ <Button size="medium" className="text-white">
+ Join the team
+ </Button>
</a>
</div>
</div>
@@ -213,15 +217,15 @@ const Community = () => {
/>
</div>
<div>
- <h1 className="mb-0">{x.stat}</h1>
- <p>{x.statLabel}</p>
+ <h1 className="mb-0 text-4xl">{x.stat}</h1>
+ <p className="text-sm">{x.statLabel}</p>
</div>
</div>
))}
</div>
<div className="space-y-8">
<div className="max-w-3xl">
- <p>With developer signups from the world's leading brands.</p>
+ <p className="text-sm">With developer signups from the world's leading brands.</p>
</div>
<ImageGrid images={CompaniesData} />
@@ -257,7 +261,7 @@ const Investors = () => {
className="
col-span-1
flex justify-center content-end items-center
- bg-gray-50 dark:bg-gray-700
+ bg-gray-50 dark:bg-scale-400
h-32"
>
<div className="relative overflow-auto w-full h-8">
@@ -278,7 +282,7 @@ const Investors = () => {
</div>
))}
</div>
- <h3>Individual investors</h3>
+ <h2>Individual investors</h2>
<div className="mt-5 mx-auto grid gap-5 grid-cols-2 lg:grid-cols-4 lg:max-w-none">
{InvestorData.filter((x) => x.lead === false)
.sort((a, b) => a.name.localeCompare(b.name))
@@ -288,8 +292,8 @@ const Investors = () => {
<div className="flex flex-col justify-center space-y-2">
<div>
- <h5 className="mb-0">{x.name}</h5>
- <p className="mb-0">{x.title}</p>
+ <h1 className="mb-0 text-base">{x.name}</h1>
+ <p className="mb-0 text-xs">{x.title}</p>
</div>
</div>
</div>
@@ -308,7 +312,7 @@ const Press = () => {
<div className="mt-5 mx-auto grid gap-5 lg:grid-cols-2 lg:max-w-none">
{PressData.filter((x) => x.type == 'article').map((x) => (
<a href={x.href} key={x.href} target="_blank">
- <Card key={`press_${x.href}`} hoverable>
+ <Card key={`press_${x.href}`} hoverable className="bg-white dark:bg-scale-400">
<Space className="justify-between h-40" direction="vertical">
<div>
<p>{x.type.toUpperCase()}</p>
@@ -322,7 +326,7 @@ const Press = () => {
<div className="mt-5 mx-auto grid gap-5 sm:grid-cols-2 lg:grid-cols-4 lg:max-w-none">
{PressData.filter((x) => x.type == 'podcast').map((x) => (
<a href={x.href} key={x.href} target="_blank">
- <Card key={`press_${x.href}`} hoverable>
+ <Card key={`press_${x.href}`} hoverable className="bg-white dark:bg-scale-400">
<Space className="justify-between h-40" direction="vertical">
<div>
<p>{x.type.toUpperCase()}</p>
diff --git a/www/pages/support.tsx b/www/pages/support.tsx
index 9dcf75ae433..230c44bb287 100644
--- a/www/pages/support.tsx
+++ b/www/pages/support.tsx
@@ -101,16 +101,16 @@ const Index = ({}: Props) => {
flex flex-col justify-between
rounded rounded-t-none"
>
- <Link
- href="https://github.com/supabase/supabase/issues"
- as="https://github.com/supabase/supabase/issues"
- >
- <a target="_blank">
- <Button size="medium" type="default" iconRight={<IconGitHub />}>
- Go To Issues
- </Button>
- </a>
- </Link>
+ <Link
+ href="https://github.com/supabase/supabase/issues"
+ as="https://github.com/supabase/supabase/issues"
+ >
+ <a target="_blank">
+ <Button size="medium" type="default" iconRight={<IconGitHub />}>
+ Go To Issues
+ </Button>
+ </a>
+ </Link>
</div>
</div>
</div>
@@ -146,16 +146,16 @@ const Index = ({}: Props) => {
flex flex-col justify-between
rounded rounded-t-none"
>
- <Link
- href="https://github.com/supabase/supabase/discussions"
- as="https://github.com/supabase/supabase/discussions"
- >
- <a target="_blank">
- <Button size="medium" type="default" iconRight={<IconMessageCircle />}>
- Join The Discussion
- </Button>
- </a>
- </Link>
+ <Link
+ href="https://github.com/supabase/supabase/discussions"
+ as="https://github.com/supabase/supabase/discussions"
+ >
+ <a target="_blank">
+ <Button size="medium" type="default" iconRight={<IconMessageCircle />}>
+ Join The Discussion
+ </Button>
+ </a>
+ </Link>
</div>
</div>
</div>
@@ -193,11 +193,11 @@ const Index = ({}: Props) => {
flex flex-col justify-between
rounded rounded-t-none"
>
- <a href="mailto:[email protected]">
- <Button size="medium" type="default" iconRight={<IconMail />}>
- Email Support
- </Button>
- </a>
+ <a href="mailto:[email protected]">
+ <Button size="medium" type="default" iconRight={<IconMail />}>
+ Email Support
+ </Button>
+ </a>
</div>
</div>
</div>