The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: updated brand assets page
Jonathan Summers-Muirc228bdf8e9a5
diff --git a/www/pages/brand-assets.tsx b/www/pages/brand-assets.tsxindex 96d8e14c31f..34ccba0a565 100644--- a/www/pages/brand-assets.tsx+++ b/www/pages/brand-assets.tsx@@ -1,112 +1,67 @@import Container from 'components/Container'import { createClient } from '@supabase/supabase-js'import Layout from '~/components/Layouts/Default'-import BrandHero from 'components/Brand/BrandHero'import CTABanner from 'components/CTABanner/index'-import { Button, Space, IconArrowUpRight, Typography, Badge, IconKey, IconDownload, IconX, IconBriefcase, IconEye } from '@supabase/ui'-// Import Swiper styles if swiper used on page-import 'swiper/swiper.min.css'-import ApiExamplesData from 'data/products/brand/badge-components'-import ExtensionsExamplesData from 'data/products/database/extensions-examples'-import SqlViewCarouselData from 'data/products/database/sql-view-carousel.json'-import TableViewCarouselData from 'data/products/database/table-view-carousel.json'-import Solutions from 'data/Solutions.json'-import { NextSeo } from 'next-seo'-import Image from 'next/image'+import { Button, Typography, IconDownload } from '@supabase/ui'+import Link from 'next/link'import { useRouter } from 'next/router'-import { useState } from 'react'-import { Swiper, SwiperSlide } from 'swiper/react'-// Import Swiper styles-import 'swiper/swiper.min.css'-import ImageCarousel from '~/components/Carousels/ImageCarousel'-import SplitCodeBlockCarousel from '~/components/Carousels/SplitCodeBlockCarousel'-import FeatureColumn from '~/components/FeatureColumn'-import FloatingIcons from '~/components/FloatingIcons'-import DefaultLayout from '~/components/Layouts/Default'+import SectionContainer from '~/components/Layouts/SectionContainer'-import ProductIcon from '~/components/ProductIcon'-import Badges from '~/components/Brand/Badges'-import AuthSqlRulesExamples from 'data/products/auth/auth-sql-rules-examples'-import AuthComponentExample from '~/components/Brand/Logos'-type Props = {}+const { Title, Text } = Typography-const Index = ({}: Props) => {+const Index = () => {// base path for imagesconst { basePath } = useRouter()- // supabase auth widget project details- const supabase = createClient(- 'https://rsnibhkhsbfnncjmwnkj.supabase.co',- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxNTIxNDE1MywiZXhwIjoxOTMwNzkwMTUzfQ.OQEbAaTfgDdLCCht251P2JRD3QDnui6nsU8N-tZA_Mc'- )return (<><Layout><Container>- <BrandHero />- <SectionContainer className="-mb-48">- <Badges- content={ApiExamplesData}- title="Supabase Badges"- text={[- <p>- If you're built with Supabase, you can add a Powered By Supabase badge if you'd like.- Availiable as an SVG, React Component, and Plain HTML.- </p>,- ]}- footer={[- <div className="grid grid-cols-12 mb-48">- <div className="mt-0 col-span-12 lg:col-span-6 xl:col-span-12 xl:mb-8">- <Space>- <Typography.Text type="secondary">- <p className="m-0">Badges Availiable As:</p>{' '}+ <SectionContainer className="pb-0 md:pb-0 lg:pb-0">+ <div className="grid lg:grid-cols-2">+ <div>+ <Title>Brand assets</Title>+ <Title level={3}>Download official Supabase logos</Title>+ <Text type="secondary">+ All Supabase trademarks, logos, or other brand elements can never be modified or+ used for any other purpose other than to represent Supabase Inc.+ </Text>+ </div>+ </div>+ </SectionContainer>+ <SectionContainer>+ <div className="grid grid-cols-12 border dark:border-gray-600">+ <div className="col-span-12 lg:col-span-5">+ <img+ src={`${basePath}/brand-assets/logo-preview.jpg`}+ width="100%"+ className="object-cover h-full"+ />+ </div>+ <div className="col-span-12 lg:col-span-7 flex items-center">+ <div className="p-16">+ <div>+ <Typography.Title level={2}>Supabase logos</Typography.Title>+ <Typography.Text>+ <p>+ Download Supabase official logos, including as SVG's, in both light and dark+ theme.+ </p>+ <p>Do not use any other color for the wordmark.</p></Typography.Text>- <Badge dot={false} color="blue">- React- </Badge>- <Badge dot={false} color="blue">- HTML- </Badge>- <Badge dot={false} color="blue">- SVG- </Badge>- </Space>+ <form method="get" action={`${basePath}/brand-assets/supabase-logos.zip`}>+ <Button htmlType="submit" type="default" iconRight={<IconDownload />}>+ Download logo kit+ </Button>+ </form>+ </div></div>- </div>,- ]}- documentation_link={'https://supabase.io/docs/guides/database'}- />- </SectionContainer>- <SectionContainer>- <div className="grid grid-cols-12 lg:gap-16">- <div className="order-last col-span-12 lg:order-first lg:col-span-6 mt-8 lg:mt-0">- <AuthComponentExample />- </div>- <div className="col-span-12 lg:col-span-6 lg:col-start-7 xl:col-span-4 xl:col-start-8">- <Typography.Title level={2} className="mb-4">- Supabase Logos- </Typography.Title>- <Typography.Text>- <p className="text-base lg:text-lg">- Download Supabase's official logos, including as SVG's, in both light and dark theme.- </p>- </Typography.Text>- <Link- href="https://github.com/supabase/ui#using-supabase-ui-auth"- as="https://github.com/supabase/ui#using-supabase-ui-auth"- >- <a>- <Button size="small" type="default" className="mt-4" iconRight={<IconDownload />}>- Download Full Logo Kit- </Button>- </a>- </Link>+ </div></div>- </div>- </SectionContainer>- <CTABanner />+ </SectionContainer>+ <CTABanner /></Container></Layout></>diff --git a/www/public/brand-assets/logo-preview.jpg b/www/public/brand-assets/logo-preview.jpgnew file mode 100644index 00000000000..ba27a9067ebBinary files /dev/null and b/www/public/brand-assets/logo-preview.jpg differdiff --git a/www/public/brand-assets/supabase-logo-icon.png b/www/public/brand-assets/supabase-logo-icon.pngnew file mode 100644index 00000000000..a3b7b36f929Binary files /dev/null and b/www/public/brand-assets/supabase-logo-icon.png differdiff --git a/www/public/brand-assets/supabase-logo-wordmark--dark.png b/www/public/brand-assets/supabase-logo-wordmark--dark.pngnew file mode 100644index 00000000000..821c42ce283Binary files /dev/null and b/www/public/brand-assets/supabase-logo-wordmark--dark.png differdiff --git a/www/public/brand-assets/supabase-logo-wordmark--light.png b/www/public/brand-assets/supabase-logo-wordmark--light.pngnew file mode 100644index 00000000000..0277fee2bbeBinary files /dev/null and b/www/public/brand-assets/supabase-logo-wordmark--light.png differdiff --git a/www/public/brand-assets/supabase-logos.zip b/www/public/brand-assets/supabase-logos.zipnew file mode 100644index 00000000000..fca943f9002Binary files /dev/null and b/www/public/brand-assets/supabase-logos.zip differ