Skip to content

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

chore: responsive fixes

Jonathan Summers-Muir21419372f441
diff --git a/www/components/Partners/BecomeAPartners.tsx b/www/components/Partners/BecomeAPartners.tsx
index b3c4040997f..16e0442a471 100644
--- a/www/components/Partners/BecomeAPartners.tsx
+++ b/www/components/Partners/BecomeAPartners.tsx
@@ -68,7 +68,7 @@ export default function BecomeAPartner({ supabase }: { supabase: SupabaseClient
return (
<div className="border-t">
- <div id="become-a-partner" className="max-w-2xl mx-auto space-y-12 py-12">
+ <div id="become-a-partner" className="max-w-2xl mx-auto space-y-12 py-12 px-6">
<h2 className="h2">Become a Partner</h2>
<Form initialValues={INITIAL_VALUES} validate={validate} onSubmit={handleFormSubmit}>
diff --git a/www/components/Partners/PartnerLinkBox.tsx b/www/components/Partners/PartnerLinkBox.tsx
index 0dd2d420213..81960e6e2f8 100644
--- a/www/components/Partners/PartnerLinkBox.tsx
+++ b/www/components/Partners/PartnerLinkBox.tsx
@@ -35,7 +35,7 @@ const PartnerLinkBox = ({
<div className="flex flex-col gap-3">
<div
className={`${colors[color]}
- rounded-md block h-8 w-8
+ rounded-md h-8 w-8
flex items-center justify-center
transition-all
group-hover:scale-110
diff --git a/www/components/Partners/TileGrid.tsx b/www/components/Partners/TileGrid.tsx
index d93d8e6af81..64d3058dc43 100644
--- a/www/components/Partners/TileGrid.tsx
+++ b/www/components/Partners/TileGrid.tsx
@@ -14,7 +14,7 @@ export default function TileGrid({
{Object.keys(partnersByCategory).map((category) => (
<div key={category} id={category.toLowerCase()} className="space-y-8">
{!hideCategories && <h2 className="h2">{category}</h2>}
- <div className="grid max-w-lg gap-5 lg:grid-cols-1 xl:grid-cols-3 lg:max-w-none">
+ <div className="grid gap-5 grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 lg:max-w-none">
{partnersByCategory[category].map((p) => (
<Link key={p.slug} href={`/partners/${p.slug}`}>
<a
@@ -22,7 +22,7 @@ export default function TileGrid({
"
>
<div
- className="transition-all
+ className="
bg-scale-100 dark:bg-scale-300
hover:bg-scale-200 hover:dark:bg-scale-400
diff --git a/www/pages/partners/experts/index.tsx b/www/pages/partners/experts/index.tsx
index b96289e989e..3d5e9543507 100644
--- a/www/pages/partners/experts/index.tsx
+++ b/www/pages/partners/experts/index.tsx
@@ -44,8 +44,8 @@ function ExpertPartnersPage(props: Props) {
)
const router = useRouter()
- const meta_title = 'Works With Supabase'
- const meta_description = `Find Integration Partners and Expert Services that work with Supabase.`
+ const meta_title = 'Find an expert'
+ const meta_description = `Find an expert to help build your next idea.`
return (
<>
@@ -66,10 +66,8 @@ function ExpertPartnersPage(props: Props) {
<DefaultLayout>
<SectionContainer className="space-y-12">
<div>
- <h1 className="h1">Find an Expert</h1>
- <h2 className="text-xl text-scale-900">
- Extend and automate your workflow by using integrations for your favorite tools.
- </h2>
+ <h1 className="h1">{meta_title}</h1>
+ <h2 className="text-xl text-scale-900">{meta_description}</h2>
</div>
<div className="grid grid-cols-12 lg:gap-16 xl:gap-32">
<div className="col-span-3">
diff --git a/www/pages/partners/integrations/index.tsx b/www/pages/partners/integrations/index.tsx
index e6e7475e6bb..c48ba0027e7 100644
--- a/www/pages/partners/integrations/index.tsx
+++ b/www/pages/partners/integrations/index.tsx
@@ -51,8 +51,8 @@ function IntegrationPartnersPage(props: Props) {
)
const router = useRouter()
- const meta_title = 'Works With Supabase'
- const meta_description = `Find Integration Partners and Expert Services that work with Supabase.`
+ const meta_title = 'Find an Integration'
+ const meta_description = `Use your favorite tools with Supabase.`
const [search, setSearch] = useState('')
const [debouncedSearchTerm] = useDebounce(search, 300)
@@ -117,14 +117,12 @@ function IntegrationPartnersPage(props: Props) {
<DefaultLayout>
<SectionContainer className="space-y-16">
<div>
- <h1 className="h1">Find an Integration</h1>
- <h2 className="text-xl text-scale-900">
- Extend and automate your workflow by using integrations for your favorite tools.
- </h2>
+ <h1 className="h1">{meta_title}</h1>
+ <h2 className="text-xl text-scale-900">{meta_description}</h2>
</div>
{/* Title */}
- <div className="grid grid-cols-12 lg:gap-16 xl:gap-32">
- <div className="col-span-3">
+ <div className="grid lg:grid-cols-12 space-y-12 lg:space-y-0 md:gap-8 lg:gap-16 xl:gap-16">
+ <div className="lg:col-span-4 xl:col-span-3">
{/* Horizontal link menu */}
<div className="space-y-6">
{/* Search Bar */}
@@ -145,7 +143,7 @@ function IntegrationPartnersPage(props: Props) {
)
}
/>
- <div>
+ <div className="hidden lg:block">
<div className="text-sm text-scale-900 mb-2">Categories</div>
<div className="space-y-1">
{allCategories.map((category) => (
@@ -161,51 +159,53 @@ function IntegrationPartnersPage(props: Props) {
</div>
<div className="space-y-4">
<div className="text-sm text-scale-900 mb-2">Explore more</div>
- <PartnerLinkBox
- title="Experts"
- color="blue"
- description="Explore our certified Supabase agency experts that build with Supabase"
- href={`/partners/experts`}
- icon={
- <svg
- xmlns="http://www.w3.org/2000/svg"
- className="h-6 w-6"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- stroke-width="1"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
- />
- </svg>
- }
- />
-
- <PartnerLinkBox
- href={`/partners/integrations#become-a-partner`}
- title="Become a partner"
- color="brand"
- description="Fill out a quick 30 second form to apply to become a partner"
- icon={
- <svg
- xmlns="http://www.w3.org/2000/svg"
- className="h-5 w-5"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- stroke-width="1"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
- />
- </svg>
- }
- />
+ <div className="grid grid-cols-2 gap-8 lg:grid-cols-1">
+ <PartnerLinkBox
+ title="Experts"
+ color="blue"
+ description="Explore our certified Supabase agency experts that build with Supabase"
+ href={`/partners/experts`}
+ icon={
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-6 w-6"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ stroke-width="1"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
+ />
+ </svg>
+ }
+ />
+
+ <PartnerLinkBox
+ href={`/partners/integrations#become-a-partner`}
+ title="Become a partner"
+ color="brand"
+ description="Fill out a quick 30 second form to apply to become a partner"
+ icon={
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ className="h-5 w-5"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ stroke-width="1"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
+ />
+ </svg>
+ }
+ />
+ </div>
</div>
{/* <div className="flex flex-col space-y-1 sm:flex-row sm:space-y-0 sm:space-x-6">
<Link href={`/partners/integrations`}>
@@ -222,7 +222,7 @@ function IntegrationPartnersPage(props: Props) {
</div> */}
</div>
</div>
- <div className="col-span-9">
+ <div className="lg:col-span-8 xl:col-span-9">
{/* Partner Tiles */}
<div className="grid space-y-10">
{partners.length ? (