Files
supabase/apps/www/pages/brand-assets.tsx
Ivan VasilovandJoshen Lim 05a542ccea chore: Migrate all feather icons to lucide icons (#29038)
* Add lucide-react to docs (to make the autocomplete work).

* Migrate the docs app icons.

* Migrate the ui-patterns.

* Remove the old icons from ui package.

* Migrate the www app from react-feather icons.

* Migrate all of studio icons.

* Migrate the only component in design-system.

* Fix an old import in ui package. Revert an import in docs app.

* Fix some pages in www.

* Remove unneeded files used in generation of icons.

* Fix a prettier error.

* Fix more issues in www.

* Fix an issue in Log Date picker.

* Replace all string sizes with number sizes because the icons grew in some cases.

* Fix more imports in security page.

* Fix an extra import.

* Remove the size prop from all icons if they're in a button and they match the button size.

* Minor fixes for docs and www.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-04 19:46:21 +08:00

129 lines
5.1 KiB
TypeScript

import Container from 'components/Container'
import CTABanner from 'components/CTABanner/index'
import { Button } from 'ui'
import Layout from '~/components/Layouts/Default'
import { useRouter } from 'next/router'
import * as supabaseLogoPreview from 'common/assets/images/logo-preview.jpg'
import { Download } from 'lucide-react'
import { NextSeo } from 'next-seo'
import Image from 'next/image'
import SectionContainer from '~/components/Layouts/SectionContainer'
const Index = () => {
// base path for images
const router = useRouter()
const meta_title = 'Branding | Supabase'
const meta_description = 'Get Supabase Brand assets here.'
return (
<>
<NextSeo
title={meta_title}
description={meta_description}
openGraph={{
title: meta_title,
description: meta_description,
url: `https://supabase.com/${router.pathname}`,
images: [
{
url: `https://supabase.com/images/og/supabase-og.png`,
},
],
}}
/>
<Layout>
<Container>
<SectionContainer className="pb-0 md:pb-0 lg:pb-0">
<div className="max-w-xl">
<h1 className="text-foreground text-5xl">Brand assets</h1>
<p className="text-foreground text-2xl">Download official Supabase logos</p>
<p className="text-foreground text-sm">
All Supabase trademarks, logos, or other brand elements can never be modified or
used for any other purpose other than to represent Supabase Inc.
</p>
</div>
</SectionContainer>
<SectionContainer>
<div className="shadow-small grid grid-cols-12 rounded-lg border border-default">
<div className="relative col-span-12 h-60 w-full overflow-auto rounded-lg lg:col-span-5">
<Image
src={supabaseLogoPreview}
alt="Supabase logo Preview"
layout="fill"
objectFit="cover"
/>
</div>
<div className="col-span-12 flex items-center lg:col-span-7">
<div className="p-16">
<div className="space-y-2">
<h1 className="text-foreground text-4xl">Supabase logos</h1>
<p className="text-foreground-light text-sm">
<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>
</p>
<form method="get" action={`/brand-assets.zip`}>
<Button htmlType="submit" type="default" iconRight={<Download />}>
Download logo kit
</Button>
</form>
</div>
</div>
</div>
</div>
</SectionContainer>
<SectionContainer className="sm:pt-0 md:pt-0 lg:pt-0 xl:pt-0">
<div className="shadow-small grid grid-cols-12 rounded-lg border border-default">
<div className="relative col-span-12 h-60 w-full overflow-auto rounded-lg lg:col-span-5 flex items-center justify-center">
<Image
src="https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/supabase-brand-assets/connect-supabase/connect-supabase-dark.svg"
alt="Connect Supabase Button"
width={154}
height={31}
/>
</div>
<div className="col-span-12 flex items-center lg:col-span-7">
<div className="p-16">
<div className="space-y-2">
<h1 className="text-foreground text-4xl">Supabase Integrations</h1>
<p className="text-foreground-light text-sm">
<p>
When building a{' '}
<a
className="underline"
href="/docs/guides/platform/oauth-apps/build-a-supabase-integration"
>
Supabase Integration
</a>
, use this "Connect Supabase" button to initiate the OAuth redirect.
</p>
<p>Do not use any other color for the wordmark.</p>
</p>
<form
method="get"
action={`https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/supabase-brand-assets/connect-supabase/connect-supabase.zip`}
>
<Button htmlType="submit" type="default" iconRight={<Download />}>
Download button kit
</Button>
</form>
</div>
</div>
</div>
</div>
</SectionContainer>
<CTABanner />
</Container>
</Layout>
</>
)
}
export default Index