Skip to content

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

Midway fixing responsiveness

Joshen Lim94a829e23e85
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx
index 990f0434682..01393b8b210 100644
--- a/www/components/BuiltWithSupabase/index.tsx
+++ b/www/components/BuiltWithSupabase/index.tsx
@@ -7,7 +7,7 @@ const BuiltExamples = () => {
<div className="bg-gray-50 dark:bg-dark-300 py-16">
<div className="container mx-auto sm:px-16 xl:px-20 relative">
<div className="absolute inset-0">
- <div className="bg-white dark:bg-dark-200 h-1/3 sm:h-2/3"></div>
+ <div className="mx-auto bg-white dark:bg-dark-200 h-1/3 sm:h-2/3 md:w-5/6 lg:w-3/4 xl:w-full"></div>
</div>
<div className="mx-auto max-w-7xl">
<SectionHeader
diff --git a/www/components/CaseStudies/index.tsx b/www/components/CaseStudies/index.tsx
index ef36bed75cc..57842a037af 100644
--- a/www/components/CaseStudies/index.tsx
+++ b/www/components/CaseStudies/index.tsx
@@ -9,7 +9,7 @@ const CaseStudies = () => {
<div className="relative bg-gray-50 dark:bg-dark-400 pt-16 pb-20 lg:pt-24 lg:pb-28">
<div className="container relative mx-auto sm:px-16 xl:px-20">
<div className="absolute inset-0">
- <div className="bg-white dark:bg-dark-300 h-1/3 sm:h-2/3"></div>
+ <div className="mx-auto bg-white dark:bg-dark-300 h-1/3 sm:h-2/3 md:w-5/6 lg:w-3/4 xl:w-full"></div>
</div>
<div className="relative max-w-7xl mx-auto">
<div>
diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsx
index 2f43f3a9402..7d6949298cc 100644
--- a/www/components/Features/index.tsx
+++ b/www/components/Features/index.tsx
@@ -47,7 +47,7 @@ const Features = () => {
<div className="mt-12 grid grid-cols-12 gap-8">
<div className="relative pb-12 col-span-12">
<div className="relative lg:grid lg:grid-cols-12 lg:gap-x-8">
- <div className="relative lg:grid lg:grid-cols-2 lg:gap-x-8 lg:col-span-7">
+ <div className="relative lg:col-span-8 lg:grid lg:grid-cols-2 lg:gap-x-8 xl:col-span-7">
<dl className="space-y-10 sm:space-y-0 sm:grid sm:grid-cols-2 sm:gap-x-8 sm:gap-y-10 lg:mt-0 lg:col-span-2">
{IconSections}
</dl>
diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx
index 26327cf117b..360b8f21848 100644
--- a/www/components/MadeForDevelopers/index.tsx
+++ b/www/components/MadeForDevelopers/index.tsx
@@ -15,8 +15,8 @@ const MadeForDevelopers = () => {
<CodeExamples />
<div className="grid grid-cols-12 gap-2">
- <dl className="mt-12 space-y-10 lg:space-y-0 lg:grid lg:grid-cols-2 lg:gap-12 col-span-8 col-start-3">
- <div className="lg:border-r-2 lg:border-gray-200 pr-6">
+ <dl className="mt-12 space-y-10 md:grid md:grid-cols-2 md:col-span-12 lg:space-y-0 lg:col-start-2 lg:col-span-10 lg:gap-12 xl:col-start-3 xl:col-span-8">
+ <div className="md:border-r-2 md:border-gray-200 pr-6">
<div className="mt-5">
<dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white">
TypeScript support
diff --git a/www/components/hero.tsx b/www/components/hero.tsx
index 8211c43f3f0..79e56ddd50f 100644
--- a/www/components/hero.tsx
+++ b/www/components/hero.tsx
@@ -35,7 +35,7 @@ const Hero = () => {
<div className="lg:grid lg:grid-cols-12 lg:gap-8">
<div className="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center">
- <div className="sm:w-3/4 sm:mx-auto lg:mx-0">
+ <div className="sm:mx-auto md:w-3/4 lg:w-full lg:mx-0">
<h1 className="mt-4 text-4xl text-white sm:mt-5 sm:leading-none lg:mt-6 lg:text-5xl xl:text-6xl">
<span className="md:block">The Open Source</span>
<span className="text-brand-400 md:block">Firebase Alternative</span>
@@ -53,7 +53,7 @@ const Hero = () => {
backed by
</p>
<div className="mt-5 w-full sm:mx-auto sm:max-w-lg lg:ml-0">
- <div className="flex flex-wrap items-center sm:justify-center">
+ <div className="flex flex-wrap items-center sm:justify-center lg:justify-start">
<img className="h-9 sm:h-10 pr-10" src="images/logos/yc--grey.png" alt="Y Combinator" />
<img className="relative -top-1 h-7 pr-10" src="images/logos/mozilla--grey.png" alt="Mozilla" />
<img className="h-5 pr-10" src="images/logos/coatue.png" alt="Coatue" />