Skip to content

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

slight improvements

Joshen Lime956343c25a5
diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx
index e7cb4afac96..79abe1291d6 100644
--- a/www/components/AdminAccess/index.tsx
+++ b/www/components/AdminAccess/index.tsx
@@ -27,9 +27,16 @@ const AdminAccess = () => {
<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>
+ {/* 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>
Your browser does not support the video tag
- </video>
+ </video>
+ <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>
+ 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 bb68f8c3513..d16f5cf244c 100644
--- a/www/components/CaseStudies/index.tsx
+++ b/www/components/CaseStudies/index.tsx
@@ -7,7 +7,7 @@ const CaseStudies = () => {
return (
<div className="relative bg-gray-50 dark:bg-dark-400 pb-20">
<div className="absolute inset-0">
- <div className="mx-auto bg-white dark:bg-dark-300 h-1/3 sm:h-2/3 xl:w-full"></div>
+ <div className="mx-auto bg-white dark:bg-dark-300 h-1/3 sm:h-2/3 xl:h-2/5 xl:w-full"></div>
</div>
<div className="container relative mx-auto px-8 sm:px-16 xl:px-20">
<div className="relative max-w-7xl mx-auto">