mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## What kind of change does this PR introduce?
Chore: rename customer logo folders and document the theme contract. No
intended visual change, aside from Phoenix Energy whose two marks were
in the wrong folders.
## What is the current behavior?
Customer logos live at:
- `/images/customers/logos/{slug}.png` (`logo`, light mode)
- `/images/customers/logos/light/{slug}.png` (`logo_inverse`, dark mode)
`light/` actually means “use me on a dark background”.
## What is the new behavior?
Same assets, clearer paths:
- `/images/customers/logos/on-light/{slug}.png` → dark/black mark →
`logo` → light mode
- `/images/customers/logos/on-dark/{slug}.png` → light/white mark →
`logo_inverse` → dark mode
Icon chips stay at `/images/customers/logos/{slug}-icon.svg`. Old
`/images/customers/logos/light/*` URLs redirect to `on-dark`. www README
now has the contract.
# To test
Use the [www
preview](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app).
Toggle light/dark from the site header on each page. Logos should stay
readable (no white-on-white or black-on-black).
1. [Customers
grid](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/customers)
— main `logo` / `logo_inverse` surface. Spot-check Juniver, Phoenix
Energy, and one other card.
2. [Phoenix Energy
story](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/customers/phoenix-energy)
— story header uses `logo` only (on-light, plus a dark-mode brightness
filter). We swapped this pair.
3.
[Homepage](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/)
— “How industry leaders…” section. Icon chips only (`*-icon.svg`); the
wordmark `logo` field is unused here.
4. [Solutions /
Agents](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/agents)
— Chatbase quote near the top shows both theme variants. Same pattern on
[/healthcare](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/healthcare),
[/finserv](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/finserv),
and
[/b2b-saas](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/b2b-saas).
5. [Contact
sales](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/contact/sales)
— Good Tape / Xendit / Chatbase wordmarks (`on-light`). Same logos on
the demo form at
[/solutions/enterprise](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/enterprise).
6.
[Enterprise](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/solutions/enterprise)
— Mozilla / Epsilon3 / Pebblely icons in the use-cases section
(`on-dark`).
7.
[Vector](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/modules/vector)
— customer quotes. This is the only page that builds `on-light` /
`on-dark` paths at runtime from the customer slug.
8. [Mobbin
event](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/events/migrating-from-firebase-mobbin)
— company logo uses event `logo` / `logo_light` (dark vs light).
Optional second:
[/events/scale-to-millions-goodtape-auth](https://zone-www-dot-com-git-dnywh-chorecustomer-logo-o-0d7bc1-supabase.vercel.app/events/scale-to-millions-goodtape-auth).
Quick extra: hover **Product** in the site nav. The customer story
thumbnail uses `imgUrl` (`on-light`).
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Documentation
- Clarified customer logo requirements, including separate light and
dark asset locations, monochrome formats, and dark PNG assets for image
generation.
## Updates
- Standardized customer logos across stories, events, sales pages,
solution pages, testimonials, and generated images.
- Improved logo rendering across light and dark themes with dedicated
variants.
- Added permanent redirects for legacy logo URLs while preserving
filename suffixes.
## Tests
- Added coverage verifying legacy logo redirects resolve correctly,
including supported exceptions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
186 lines
6.6 KiB
TypeScript
186 lines
6.6 KiB
TypeScript
import EnterpriseFormQuotes from '~/components/EnterpriseFormQuotes'
|
||
import RequestADemoForm from '~/components/Forms/RequestADemoForm'
|
||
import DefaultLayout from '~/components/Layouts/Default'
|
||
import SectionContainer from '~/components/Layouts/SectionContainer'
|
||
import { NextSeo } from 'next-seo'
|
||
import Head from 'next/head'
|
||
import Image from 'next/image'
|
||
import { useRouter } from 'next/router'
|
||
import { cn } from 'ui'
|
||
|
||
const data = {
|
||
meta_title: 'Contact Sales & Request a Demo | Supabase',
|
||
meta_description: 'Book a demo to explore how Supabase can support your business growth',
|
||
}
|
||
|
||
const ContactSales = () => {
|
||
const router = useRouter()
|
||
|
||
return (
|
||
<>
|
||
<NextSeo
|
||
title={data.meta_title}
|
||
description={data.meta_description}
|
||
openGraph={{
|
||
title: data.meta_title,
|
||
description: data.meta_description,
|
||
url: `https://supabase.com/${router.pathname}`,
|
||
}}
|
||
/>
|
||
{/* Default.com snippet — enriches HubSpot enterprise form submissions and routes them to instant call scheduling for Sales. */}
|
||
<Head>
|
||
<script
|
||
dangerouslySetInnerHTML={{
|
||
__html: `!function(e,t){var _=0;e.__default__=e.__default__||{},e.__default__.form_id=879120,e.__default__.team_id=715,e.__default__.listenToIds=["support-form"],function e(){var o=t.createElement("script");o.async=!0,o.src="https://import-cdn.default.com",o.onload=function(){!0,console.info("[Default.com] Powered by Default.com")},o.onerror=function(){++_<=3&&setTimeout(e,1e3*_)},t.head.appendChild(o)}()}(window,document);`,
|
||
}}
|
||
/>
|
||
</Head>
|
||
<DefaultLayout className="min-h-fit!">
|
||
<SectionContainer className="text grid gap-8 lg:gap-12 md:grid-cols-2">
|
||
<div className="md:px-4 lg:pb-8 md:h-full w-full flex flex-col justify-between gap-2">
|
||
<div className="flex flex-col gap-2 md:max-w-md">
|
||
<h1 className="h1 m-0!">Talk to our Sales team</h1>
|
||
<p className="md:text-lg text-foreground-lighter">
|
||
Book a demo and set up a trial Enterprise account to see how Supabase's scalable
|
||
features can accelerate your business growth and app development.
|
||
</p>
|
||
</div>
|
||
<EnterpriseFormQuotes
|
||
className="hidden md:flex"
|
||
tabs={[
|
||
{
|
||
label: (
|
||
<CustomerLogo
|
||
title="Goodtape"
|
||
logo="/images/customers/logos/on-light/good-tape.png"
|
||
/>
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="My biggest regret is not having gone with Supabase from the beginning."
|
||
author="Jakob Steinn, Co-founder & Tech Lead, Good Tape"
|
||
/>
|
||
),
|
||
},
|
||
{
|
||
label: (
|
||
<CustomerLogo
|
||
title="Xendit"
|
||
logo="/images/customers/logos/on-light/xendit.png"
|
||
/>
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="The full solution was built and in production in less than one week."
|
||
author="Developer, Xendit"
|
||
/>
|
||
),
|
||
},
|
||
{
|
||
label: (
|
||
<CustomerLogo
|
||
title="Chatbase"
|
||
logo="/images/customers/logos/on-light/chatbase.png"
|
||
/>
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="Supabase is great because it has everything. I don’t need a different solution for authentication, a different solution for database, or a different solution for storage."
|
||
author="Yasser Elsaid, Founder, Chatbase"
|
||
className="max-w-none"
|
||
/>
|
||
),
|
||
},
|
||
]}
|
||
/>
|
||
</div>
|
||
<RequestADemoForm />
|
||
<EnterpriseFormQuotes
|
||
className="md:hidden mt-4"
|
||
tabs={[
|
||
{
|
||
label: (
|
||
<CustomerLogo
|
||
title="Goodtape"
|
||
logo="/images/customers/logos/on-light/good-tape.png"
|
||
/>
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="My biggest regret is not having gone with Supabase from the beginning."
|
||
author="Jakob Steinn Co-founder & Tech Lead"
|
||
/>
|
||
),
|
||
},
|
||
{
|
||
label: (
|
||
<CustomerLogo title="Xendit" logo="/images/customers/logos/on-light/xendit.png" />
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="The full solution was built and in production in less than one week."
|
||
author="Xendit developer"
|
||
/>
|
||
),
|
||
},
|
||
{
|
||
label: (
|
||
<CustomerLogo
|
||
title="Chatbase"
|
||
logo="/images/customers/logos/on-light/chatbase.png"
|
||
/>
|
||
),
|
||
panel: (
|
||
<CustomerQuote
|
||
quote="Supabase is great because it has everything. I don’t need a different solution for authentication, a different solution for database, or a different solution for storage."
|
||
author="Yasser Elsaid, Founder, Chatbase"
|
||
className="max-w-none"
|
||
/>
|
||
),
|
||
},
|
||
]}
|
||
/>
|
||
</SectionContainer>
|
||
</DefaultLayout>
|
||
</>
|
||
)
|
||
}
|
||
|
||
export const CustomerQuote = ({
|
||
quote,
|
||
author,
|
||
className,
|
||
}: {
|
||
quote: string
|
||
author: string
|
||
className?: string
|
||
}) => (
|
||
<div
|
||
className={cn('text-foreground flex text-base lg:text-lg flex-col gap-1 max-w-xs', className)}
|
||
>
|
||
<p>"{quote}"</p>
|
||
<p className="text-foreground-lighter text-sm">{author}</p>
|
||
</div>
|
||
)
|
||
|
||
export const CustomerLogo = ({ title, logo }: { title: string; logo: string }) => (
|
||
<div className="relative h-8 max-h-5 xl:max-h-6 w-20 max-w-20 md:w-28 xl:max-w-28">
|
||
<Image
|
||
fill
|
||
src={logo}
|
||
alt={`${title} logo`}
|
||
priority
|
||
draggable={false}
|
||
className="
|
||
bg-no-repeat m-0
|
||
object-left object-contain
|
||
in-data-[theme*=dark]:brightness-200
|
||
in-data-[theme*=dark]:contrast-0
|
||
in-data-[theme*=dark]:filter
|
||
"
|
||
/>
|
||
</div>
|
||
)
|
||
|
||
export default ContactSales
|