import { VectorLogo } from '~/components/BrandAssets/VectorLogo' import { LogoGallery } from '~/components/BrandAssets/LogoGallery' import Layout from '~/components/Layouts/Default' import SectionContainer from '~/components/Layouts/SectionContainer' import { CircleCheckFilled, CrossfadeIcon } from '~/components/CrossfadeIcon' import Container from 'components/Container' import CTABanner from 'components/CTABanner/index' import { NextSeo } from 'next-seo' import type { InferGetStaticPropsType } from 'next' import { readFile } from 'node:fs/promises' import path from 'node:path' import { useState } from 'react' import { Copy } from 'lucide-react' import { Button, copyToClipboard } from 'ui' const Index = ({ guideText }: InferGetStaticPropsType) => { const [isPromptCopied, setIsPromptCopied] = useState(false) const meta_title = 'Brand Guidelines: Logos and Icons | Supabase' const meta_description = 'Official Supabase logos and colors, as SVG and PNG files for light and dark backgrounds' const handlePromptCopy = () => { copyToClipboard( 'Read https://supabase.com/brand.md and use the official Supabase logo file that fits the background where the logo will appear. Do not change the logo.', () => { setIsPromptCopied(true) setTimeout(() => setIsPromptCopied(false), 2000) } ) } return ( <>

Brand Guidelines

Official Supabase logos and colors, as SVG and PNG files for light and dark backgrounds{' '} ⤵ Go to the logo files

{isPromptCopied ? 'Agent prompt copied' : ''}

Which file to use

  • Choose the file for the background where the logo appears, not for your browser or editor theme.
  • All files have a transparent background.
  • There is no file with the lettering alone. Every wordmark file includes the symbol.

Name

Write Supabase as one word, with a capital S. Do not write SupaBase or Supa Base.

Usage

Use the Supabase logos only to refer to Supabase. Do not change the files or the logo colors.

Supabase and the Supabase logo are trademarks of Supabase Inc.

) } // the hero guides are made of the team names, from the docs humans.txt export const getStaticProps = async () => { const humans = await readFile( path.join(process.cwd(), '..', 'docs', 'public', 'humans.txt'), 'utf8' ) const lines = humans.split('\n').map((line) => line.trim()) // the names sit between the team intro sentence and the first rule const names = lines .slice( lines.indexOf('TEAM') + 1, lines.findIndex((line) => line.startsWith('_')) ) .filter(Boolean) .slice(1) return { props: { guideText: `${names.join(' + ')} + `.toUpperCase() } } } export default Index