Skip to content

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

Fix alignment issue on xl size

Joshen Lim218e99f5a2ab
diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx
index 015cac52248..99fe3a3cd43 100644
--- a/www/components/AdminAccess/index.tsx
+++ b/www/components/AdminAccess/index.tsx
@@ -8,27 +8,29 @@ const AdminAccess = () => {
return (
<div className="py-16 bg-gray-50 dark:bg-dark-300 overflow-hidden lg:py-24">
<div className="container mx-auto px-10 sm:px-16 xl:px-20">
- <div className="relative items-center">
- <div className="relative">
- <SectionHeader
- title={'Build your app,'}
- 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 items-center">
- <Tabs
- tabId={tabId}
- setTabId={setTabId}
+ <div className="mx-auto max-w-7xl">
+ <div className="relative items-center">
+ <div className="relative">
+ <SectionHeader
+ title={'Build your app,'}
+ title_alt={' without leaving the dashboard'}
+ subtitle={'Admin Access'}
/>
- <div className="shadow-lg">
- <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="flex flex-col-reverse lg:flex-row lg:grid lg:grid-cols-2 gap-28 items-center">
+ <Tabs
+ tabId={tabId}
+ setTabId={setTabId}
+ />
+ <div className="shadow-lg">
+ <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>
+ <video className="rounded-b-md" src={`videos/${tabId}.mp4`} autoPlay loop muted>
+ Your browser does not support the video tag
+ </video>
</div>
- <video className="rounded-b-md" src={`videos/${tabId}.mp4`} autoPlay loop muted>
- Your browser does not support the video tag
- </video>
</div>
</div>
</div>
diff --git a/www/components/CaseStudies/index.tsx b/www/components/CaseStudies/index.tsx
index 5ab33a90d2b..9390dea7a75 100644
--- a/www/components/CaseStudies/index.tsx
+++ b/www/components/CaseStudies/index.tsx
@@ -33,8 +33,8 @@ const CaseStudies = () => {
/>
))}
</div>
+ <Benchmark />
</div>
- <Benchmark />
</div>
</div>
)
diff --git a/www/components/hero.tsx b/www/components/hero.tsx
index 50d1a5660da..d5d70c71453 100644
--- a/www/components/hero.tsx
+++ b/www/components/hero.tsx
@@ -5,31 +5,31 @@ const Hero = () => {
return (
<div className="relative bg-dark-500 overflow-hidden">
<div className="container mx-auto px-10 sm:px-16 xl:px-20">
- <div className="hidden sm:block sm:absolute sm:inset-0" aria-hidden="true">
- <svg
- className="absolute bottom-0 right-0 transform translate-x-1/2 mb-48 text-gray-700 lg:top-0 lg:mt-28 lg:mb-0 xl:transform-none xl:translate-x-0"
- width="364"
- height="384"
- viewBox="0 0 364 384"
- fill="none"
- >
- <defs>
- <pattern
- id="eab71dd9-9d7a-47bd-8044-256344ee00d0"
- x="0"
- y="0"
- width="20"
- height="20"
- patternUnits="userSpaceOnUse"
- >
- <rect x="0" y="0" width="4" height="4" fill="currentColor" />
- </pattern>
- </defs>
- <rect width="364" height="384" fill="url(#eab71dd9-9d7a-47bd-8044-256344ee00d0)" />
- </svg>
- </div>
-
- <div className="relative pt-6 pb-16 sm:pb-24">
+ <div className="mx-auto max-w-7xl">
+ <div className="hidden sm:block sm:absolute sm:inset-0" aria-hidden="true">
+ <svg
+ className="absolute bottom-0 right-0 transform translate-x-1/2 mb-48 text-gray-700 lg:top-0 lg:mt-28 lg:mb-0 xl:transform-none xl:translate-x-0"
+ width="364"
+ height="384"
+ viewBox="0 0 364 384"
+ fill="none"
+ >
+ <defs>
+ <pattern
+ id="eab71dd9-9d7a-47bd-8044-256344ee00d0"
+ x="0"
+ y="0"
+ width="20"
+ height="20"
+ patternUnits="userSpaceOnUse"
+ >
+ <rect x="0" y="0" width="4" height="4" fill="currentColor" />
+ </pattern>
+ </defs>
+ <rect width="364" height="384" fill="url(#eab71dd9-9d7a-47bd-8044-256344ee00d0)" />
+ </svg>
+ </div>
+ <div className="relative pt-6 pb-16 sm:pb-24">
<main className="mt-16 sm:mt-24">
<div className="mx-auto">
<div className="lg:grid lg:grid-cols-12 lg:gap-8">
@@ -70,6 +70,7 @@ const Hero = () => {
</div>
</main>
</div>
+ </div>
</div>
</div>
)