Skip to content

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

fix: safari by replacing gap- by space-x- on landing page

phamhieue2c42a0c7a7c
diff --git a/studio/components/interfaces/Home/Landing.tsx b/studio/components/interfaces/Home/Landing.tsx
index 31fcc0b66ce..d383907d846 100644
--- a/studio/components/interfaces/Home/Landing.tsx
+++ b/studio/components/interfaces/Home/Landing.tsx
@@ -28,14 +28,14 @@ const Landing = () => {
}
return (
- <div className="z-10 relative h-screen flex flex-col">
+ <div className="relative z-10 flex h-screen flex-col">
<Head>
<title>Supabase</title>
</Head>
- <div className="sticky top-0 w-full max-w-7xl mx-auto pt-6 px-8 sm:px-6 lg:px-8">
+ <div className="sticky top-0 mx-auto w-full max-w-7xl px-8 pt-6 sm:px-6 lg:px-8">
<nav className="relative flex items-center justify-between sm:h-10">
- <div className="flex items-center flex-grow flex-shrink-0 lg:flex-grow-0">
- <div className="flex items-center justify-between w-full md:w-auto">
+ <div className="flex flex-shrink-0 flex-grow items-center lg:flex-grow-0">
+ <div className="flex w-full items-center justify-between md:w-auto">
<a href="https://supabase.com">
<Image
src={theme == 'dark' ? '/img/supabase-dark.svg' : '/img/supabase-light.svg'}
@@ -46,10 +46,10 @@ const Landing = () => {
</a>
</div>
</div>
- <div className="hidden md:ml-10 md:pr-4 md:flex items-center gap-3">
+ <div className="hidden items-center space-x-3 md:ml-10 md:flex md:pr-4">
<a
href="https://supabase.com/docs"
- className="text-sm text-scale-1100 hover:text-scale-1200 transition-colors"
+ className="text-scale-1100 hover:text-scale-1200 text-sm transition-colors"
>
Documentation
</a>
@@ -59,17 +59,17 @@ const Landing = () => {
</div>
</nav>
</div>
- <div className="flex items-center justify-center mx-auto h-full max-w-screen-xl px-8">
+ <div className="mx-auto flex h-full max-w-screen-xl items-center justify-center px-8">
<div className="sm:text-center">
<h1 className="text-3xl">
Give Your Database <span className="text-brand-900">Superpowers</span>
</h1>
- <p className="text-scale-1100 text-base sm:max-w-2xl sm:mx-auto md:mt-5 mb-10">
+ <p className="text-scale-1100 mb-10 text-base sm:mx-auto sm:max-w-2xl md:mt-5">
Create a backend in less than 2 minutes. Start your project with a Postgres Database,
Authentication, instant APIs, and realtime subscriptions.
</p>
- <div className="sm:justify-center flex items-center gap-2">
+ <div className="flex items-center space-x-2 sm:justify-center">
<Button onClick={handleGithubSignIn} size="medium" icon={<IconGitHub />}>
Sign In with GitHub
</Button>
@@ -81,20 +81,27 @@ const Landing = () => {
</div>
<div className="sm:text-center">
- <p className="text-scale-900 text-xs sm:max-w-sm sm:mx-auto mt-8 mb-5">
- By continuing, you agree to Supabase's <Link href="https://supabase.com/docs/company/terms"><a className='underline hover:text-scale-1100'>Terms of Service</a></Link> and <Link href="https://supabase.com/docs/company/privacy"><a className='underline hover:text-scale-1100'>Privacy Policy</a></Link>, and to receive periodic emails with updates.
+ <p className="text-scale-900 mt-8 mb-5 text-xs sm:mx-auto sm:max-w-sm">
+ By continuing, you agree to Supabase's{' '}
+ <Link href="https://supabase.com/docs/company/terms">
+ <a className="hover:text-scale-1100 underline">Terms of Service</a>
+ </Link>{' '}
+ and{' '}
+ <Link href="https://supabase.com/docs/company/privacy">
+ <a className="hover:text-scale-1100 underline">Privacy Policy</a>
+ </Link>
+ , and to receive periodic emails with updates.
</p>
</div>
- <hr className='max-w-[75px] sm:mx-auto mt-16 border-zinc-500 '/>
+ <hr className="mt-16 max-w-[75px] border-zinc-500 sm:mx-auto " />
<div className="sm:text-center">
- <p className="text-scale-900 text-base sm:max-w-2xl sm:mx-auto mt-16 mb-5">
+ <p className="text-scale-900 mt-16 mb-5 text-base sm:mx-auto sm:max-w-2xl">
Ready to learn about our pay-as-you-go Enterprise plan?
</p>
<Link href="https://supabase.com/contact/enterprise">Let's talk!</Link>
</div>
-
</div>
</div>
</div>