The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: updated content on Auth page
Jonathan Summers-Muirc9baae838acf
diff --git a/www/components/Nav/Product.tsx b/www/components/Nav/Product.tsxindex 942c22a8ed8..e63e4674643 100644--- a/www/components/Nav/Product.tsx+++ b/www/components/Nav/Product.tsx@@ -3,6 +3,7 @@ import Badge from 'components/Badge'import SolutionsData from 'data/Solutions.json'import CaseStudiesData from 'data/CaseStudies.json'import { useRouter } from 'next/router'+import { Typography } from '@supabase/ui'const Product = () => {const { basePath } = useRouter()@@ -10,11 +11,11 @@ const Product = () => {const { name, description, icon, label, url } = solutionconst content = (- <div className="flex md:h-full lg:flex-col">- <div className="flex-shrink-0">- <div className="inline-flex items-center justify-center h-10 w-10 rounded-md bg-gray-900 dark:bg-white text-white sm:h-12 sm:w-12">+ <div className="flex lg:flex-col">+ <div className="flex flex-row items-center">+ <div className="inline-flex items-center justify-center rounded-md bg-gray-900 dark:bg-white text-white sm:h-8 sm:w-8"><svg- className="h-6 w-6 stroke-white dark:stroke-black"+ className="h-4 w-4 stroke-white dark:stroke-black"xmlns="http://www.w3.org/2000/svg"fill="none"viewBox="0 0 24 24"@@ -23,19 +24,14 @@ const Product = () => {<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d={icon} /></svg></div>+ <Typography.Title level={5} className="ml-3 mb-0">+ {name} {label && <Badge className="ml-3">{label}</Badge>}+ </Typography.Title></div><div className="ml-4 md:flex-1 md:flex md:flex-col md:justify-between lg:ml-0 lg:mt-4">- <div>- <p className="text-base font-medium text-gray-900 dark:text-white">- {name} {label && <Badge className="ml-3">{label}</Badge>}- </p>- <p className="mt-1 text-sm text-gray-500 dark:text-dark-300">{description}</p>- </div>- {url && (- <p className="mt-2 text-sm font-medium text-brand-600 lg:mt-4">- Learn more <span aria-hidden="true">→</span>- </p>- )}+ <Typography.Text>+ <p className="mt-1 text-sm">{description}</p>+ </Typography.Text></div></div>)diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsxindex f496a4cddfe..4e50acf4618 100644--- a/www/components/Nav/index.tsx+++ b/www/components/Nav/index.tsx@@ -51,7 +51,7 @@ const Nav = (props: Props) => {const content = (<div className="mb-3 flex md:h-full lg:flex-col"><div className="flex-shrink-0">- <div className="inline-flex items-center justify-center h-10 w-10 rounded-md bg-dark-800 text-white sm:h-12 sm:w-12">+ <div className="inline-flex items-center justify-center h-10 w-10 rounded-md bg-gray-800 text-white sm:h-12 sm:w-12">{/* <!-- Heroicon name: chart-bar --> */}<svgclassName="h-6 w-6"@@ -181,7 +181,7 @@ const Nav = (props: Props) => {)return (- <nav className="bg-white dark:bg-dark-700 z-50 sticky">+ <nav className="bg-white dark:bg-gray-800 border-b dark:border-gray-600 z-50 sticky">{/* <div className="lg:container mx-auto relative flex justify-between h-16 lg:px-10 xl:px-0"> */}<div className="lg:container mx-auto relative flex justify-between h-16 lg:px-16 xl:px-20"><HamburgerButton toggleFlyOut={() => setOpen(true)} />diff --git a/www/components/Sections/FeatureSection.tsx b/www/components/Sections/FeatureSection.tsxindex d16a18c8c74..04c477313ca 100644--- a/www/components/Sections/FeatureSection.tsx+++ b/www/components/Sections/FeatureSection.tsx@@ -9,7 +9,7 @@ const FeatureSection = (props: any) => {</p><Typography.Title level={4}>Write less code</Typography.Title><Typography.Text>- <p>+ <p className="text-lg">Use media in your project without needing to reply on external services or learn newframeworks.</p>@@ -25,7 +25,7 @@ const FeatureSection = (props: any) => {</p><Typography.Title level={4}>Blazing fast</Typography.Title><Typography.Text>- <p>+ <p className="text-lg">Use media in your project without needing to reply on external services or learn newframeworks.</p>@@ -41,7 +41,7 @@ const FeatureSection = (props: any) => {</p><Typography.Title level={4}>Dependable</Typography.Title><Typography.Text>- <p>+ <p className="text-lg">Use media in your project without needing to reply on external services or learn newframeworks.</p>diff --git a/www/components/UI/FlyOut.tsx b/www/components/UI/FlyOut.tsxindex 91a1edc016d..e85c8dd466b 100644--- a/www/components/UI/FlyOut.tsx+++ b/www/components/UI/FlyOut.tsx@@ -60,7 +60,7 @@ const FlyOut = (props: Props) => {><><div- className="absolute inset-x-0 transform shadow-lg border-t border-gray-100 dark:border-dark-500"+ className="absolute inset-x-0 transform shadow-lg border-gray-100 dark:border-dark-500"style={{zIndex: 999,position: 'absolute',@@ -72,11 +72,14 @@ const FlyOut = (props: Props) => {top: 0,}}>- <div className="absolute inset-0 flex sm:flex-col lg:flex-row" aria-hidden="true">- <div className="bg-white dark:bg-dark-600 sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full" />+ <div+ className="border-b dark:border-gray-600 absolute inset-0 flex sm:flex-col lg:flex-row"+ aria-hidden="true"+ >+ <div className="bg-white dark:bg-gray-800 border-r dark:border-gray-600 sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full" /><divclassName={`${- singleBgColor ? 'bg-white dark:bg-dark-600' : 'bg-gray-50 dark:bg-dark-500'+ singleBgColor ? 'bg-white dark:bg-dark-600' : 'bg-gray-50 dark:bg-gray-800'} sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full`}/>{/* <div className="bg-gray-50 dark:bg-dark-300 md:hidden lg:block lg:w-1/2"></div> */}diff --git a/www/data/products/auth/auth-sql-rules-examples.js b/www/data/products/auth/auth-sql-rules-examples.jsindex a0677705774..d9c75c0ef32 100644--- a/www/data/products/auth/auth-sql-rules-examples.js+++ b/www/data/products/auth/auth-sql-rules-examples.js@@ -2,42 +2,80 @@ export default [{lang: 'sql',title: 'Allow anyone to view',+ detail_title: 'Spatial and Geographic objects for PostgreSQL',+ detail_text:+ 'PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.',+ badges_label: 'Extensions used:',+ badges: ['PostGIS'],+ url: '',code: `create table profiles (- id serial primary key,- username text unique,- avatar_url+ id serial primary key,+ username text unique,+ avatar_url);alter table profiles- enable row level security;+ enable row level security;create policy "Public profiles are viewable by everyone."- on profiles- for select using (true);------- `,+ on profiles for select using (+ true+ );`,},{- lang: 'js',- title: 'Read a record',- code: `//- // reading a record from a table- // with column \`public\` equals true-- const { data, error } = await supabase- .from('rooms').select(\`- name,- messages ( text )- \`)- .eq('public', true)-- // \`data\` returns data- // \`error\` for handling errors- `,+ lang: 'sql',+ title: 'Users can only update their own profiles',+ detail_title: 'Spatial and Geographic objects for PostgreSQL',+ detail_text:+ 'PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.',+ badges_label: 'Extensions used:',+ badges: ['PostGIS'],+ url: '',+ code: `create table profiles (+ id serial primary key,+ username text unique,+ avatar_url+);++alter table profiles+ enable row level security;++create policy "Users can update their own profiles."+ on profiles for update using (+ auth.uid() = id+ );`,+ },+ {+ lang: 'sql',+ title: 'Detailed joins',+ detail_title:+ 'Advance joins with many to many tables Allow any team member to update the team name',+ detail_text:+ 'PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.',+ badges_label: 'Extensions used:',+ badges: ['PostGIS'],+ url: '',+ code: `create table teams (+ id serial primary key,+ name+);+-- Many to many joins+create table members (+ team_id references team.id,+ user_id referenced auth.users.id+);++alter table teams+ enable row level security;++create policy "Team members can update team details"+ on teams+ for update using (+ auth.uid() in (+ select user_id+ from memebers+ where team_id = id+ )+ );`,},]diff --git a/www/pages/auth/Auth.module.css b/www/pages/auth/Auth.module.cssindex 8a9b0969b1c..3dd7008e1bd 100644--- a/www/pages/auth/Auth.module.css+++ b/www/pages/auth/Auth.module.css@@ -1,13 +1,7 @@-.auth-container > div:nth-child(2) {- width: 420px;- margin: 0 auto;-}--.auth-container {- @apply rounded;- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23edebf0' fill-opacity='0.4'%3E%3Cp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-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-}+/* .github-icon svg {+ fill: currentColor;+} */-.dark .auth-container {- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23565656' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");+.github-icon {+ @apply text-white;}diff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsxindex 47a317f6ed4..ccaff0b8c79 100644--- a/www/pages/auth/Auth.tsx+++ b/www/pages/auth/Auth.tsx@@ -14,6 +14,9 @@ import {IconBriefcase,IconEye,IconX,+ IconDatabase,+ IconShield,+ IconLink,} from '@supabase/ui'import { createClient } from '@supabase/supabase-js'import DefaultLayout from '~/components/Layouts/Default'@@ -34,6 +37,8 @@ import FloatingIcons from '~/components/FloatingIcons'import ApiExamples from 'data/products/database/api-examples'import AuthSqlRulesExamples from 'data/products/auth/auth-sql-rules-examples'+import styles from './Auth.module.css'+function AuthPage() {// base path for imagesconst { basePath } = useRouter()@@ -60,13 +65,88 @@ function AuthPage() {/><SectionContainer>- <FeatureSection />+ <div className="grid grid-cols-12">+ <div className="col-span-3">+ <p className="mb-4">+ <Space>+ <img src={`${basePath}/images/product/auth/google-icon.svg`} width={21} />+ <img src={`${basePath}/images/product/auth/facebook-icon.svg`} width={21} />+ <div>+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 32.58 31.77"+ width={21}+ className="text-gray-800 dark:text-white"+ >+ <path+ fill="currentColor"+ d="M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"+ />+ </svg>+ </div>+ <img src={`${basePath}/images/product/auth/gitlab-icon.svg`} width={21} />+ <img src={`${basePath}/images/product/auth/bitbucket-icon.svg`} width={21} />+ </Space>+ </p>+ <Typography.Title level={4}>All the social providers</Typography.Title>+ <Typography.Text>+ <p className="text-lg">+ We provide all the popular social logins you expect. Google, Facebook, Github,+ Azure, Gitlab and Bitbucket.+ </p>+ <Space>+ <img src={`${basePath}/images/product/auth/twitter-icon.svg`} width={21} />+ <p className="m-0">+ <span className="text-gray-800 dark:text-white">Twitter</span> coming soon+ </p>+ </Space>+ </Typography.Text>+ </div>+ <div className="col-span-3 col-start-5">+ <p className="mb-4">+ <IconLink />+ </p>+ <Typography.Title level={4}>Fully integrated</Typography.Title>+ <Typography.Text>+ <p className="text-lg">+ Auth built into your project, no external services (liek auth0)ZERO setup.+ </p>+ <p>+ Send authentication emails from your own custom domain.Set up once and all email+ templates will come from your desired email address.+ </p>+ </Typography.Text>+ </div>+ <div className="col-span-3 col-start-9">+ <p className="mb-4">+ <IconShield />+ </p>+ <Typography.Title level={4}>Own your data</Typography.Title>+ <Typography.Text>+ <p className="text-lg">+ Use media in your project without needing to reply on external services or learn new+ frameworks.+ </p>+ <p>Supabase is GDPR / CPA Compliant</p>+ </Typography.Text>+ </div>+ </div></SectionContainer><SectionContainer className="-mb-48"><APISectiontitle="Simple and convenient APIs"content={ApiExamples}+ text={[+ <p>+ An API built from the groud up for server and client side authentication that is fast+ to implement.+ </p>,+ <p>+ With powerful library clients coming soon that allow for asset optimasation and image+ transformation+ </p>,+ ]}footer={[<div className="grid grid-cols-12 gap-16 mt-8"><div className="col-span-4">@@ -130,7 +210,7 @@ function AuthPage() {<div className="grid grid-cols-12 lg:gap-16"><div className="col-span-12 lg:col-span-6"><div- className={`relative bg-white dark:bg-gray-800 py-2 pb-16 border dark:border-gray-600 ${AuthStyles['auth-container']}`}+ className={`relative bg-white dark:bg-gray-800 py-2 pb-16 border dark:border-gray-600 auth-container`}><div className="w-full h-full left-0 top-2"><Tabs@@ -140,7 +220,7 @@ function AuthPage() {tabBarStyle={{ padding: '0 16px' }}addOnAfter={[<Space>- <Button type="outline" icon={<IconCopy />}>+ <Button type="default" icon={<IconCopy />}>Copy code</Button></Space>,@@ -232,15 +312,15 @@ export default function app() {<div className="col-span-4"><FeatureColumnicon={<IconBriefcase />}- title="Enterprise logins"- text="Type definitions for both server side and client side"+ title="Social login support"+ text="Support for Social logins are built in and the component "/></div><div className="col-span-4"><FeatureColumnicon={<IconEye />}- title="Social login scopes"- text="Request additonal user data permissions when using social logins"+ title="User context"+ text="includes a React hook that provides a User Session context provider so you can display the right parts of your app for logged in and logged out users."/></div></div>diff --git a/www/public/images/product/auth/bitbucket-icon.svg b/www/public/images/product/auth/bitbucket-icon.svgnew file mode 100644index 00000000000..cdf84686d93--- /dev/null+++ b/www/public/images/product/auth/bitbucket-icon.svg@@ -0,0 +1 @@+<svg height="2256" preserveAspectRatio="xMidYMid" width="2500" xmlns="http://www.w3.org/2000/svg" viewBox="-0.9662264221278978 -0.5824607696358868 257.93281329857973 230.8324730411935"><linearGradient id="a" x1="108.633%" x2="46.927%" y1="13.818%" y2="78.776%"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><g fill="none"><path d="M101.272 152.561h53.449l12.901-75.32H87.06z"/><path d="M8.308 0A8.202 8.202 0 0 0 .106 9.516l34.819 211.373a11.155 11.155 0 0 0 10.909 9.31h167.04a8.202 8.202 0 0 0 8.201-6.89l34.82-213.752a8.202 8.202 0 0 0-8.203-9.514zm146.616 152.768h-53.315l-14.436-75.42h80.67z" fill="#2684ff"/><path d="M244.61 77.242h-76.916l-12.909 75.36h-53.272l-62.902 74.663a11.105 11.105 0 0 0 7.171 2.704H212.73a8.196 8.196 0 0 0 8.196-6.884z" fill="url(#a)"/></g></svg>\ No newline at end of filediff --git a/www/public/images/product/auth/facebook-icon.svg b/www/public/images/product/auth/facebook-icon.svgnew file mode 100644index 00000000000..916c8eff2b7--- /dev/null+++ b/www/public/images/product/auth/facebook-icon.svg@@ -0,0 +1,18 @@++<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="14.2222in" height="14.2222in" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"+viewBox="0 0 14222 14222"+ xmlns:xlink="http://www.w3.org/1999/xlink">+ <defs>+ <style type="text/css">+ <![CDATA[+ .fil0 {fill:#1977F3;fill-rule:nonzero}+ .fil1 {fill:#FEFEFE;fill-rule:nonzero}+ ]]>+ </style>+ </defs>+ <g id="Layer_x0020_1">+ <metadata id="CorelCorpID_0Corel-Layer"/>+ <path class="fil0" d="M14222 7111c0,-3927 -3184,-7111 -7111,-7111 -3927,0 -7111,3184 -7111,7111 0,3549 2600,6491 6000,7025l0 -4969 -1806 0 0 -2056 1806 0 0 -1567c0,-1782 1062,-2767 2686,-2767 778,0 1592,139 1592,139l0 1750 -897 0c-883,0 -1159,548 -1159,1111l0 1334 1972 0 -315 2056 -1657 0 0 4969c3400,-533 6000,-3475 6000,-7025z"/>+ <path class="fil1" d="M9879 9167l315 -2056 -1972 0 0 -1334c0,-562 275,-1111 1159,-1111l897 0 0 -1750c0,0 -814,-139 -1592,-139 -1624,0 -2686,984 -2686,2767l0 1567 -1806 0 0 2056 1806 0 0 4969c362,57 733,86 1111,86 378,0 749,-30 1111,-86l0 -4969 1657 0z"/>+ </g>+</svg>diff --git a/www/public/images/product/auth/github-icon-dark.svg b/www/public/images/product/auth/github-icon-dark.svgnew file mode 100644index 00000000000..2667c90a499--- /dev/null+++ b/www/public/images/product/auth/github-icon-dark.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.58 31.77" fill="currentColor">+ <path+ fill="#FFFFFF"+ d="M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"+ />+</svg>diff --git a/www/public/images/product/auth/github-icon.svg b/www/public/images/product/auth/github-icon.svgnew file mode 100644index 00000000000..61c01f33e16--- /dev/null+++ b/www/public/images/product/auth/github-icon.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.58 31.77" fill="currentColor">+ <path+ fill="currentColor"+ d="M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"+ />+</svg>diff --git a/www/public/images/product/auth/gitlab-icon.svg b/www/public/images/product/auth/gitlab-icon.svgnew file mode 100644index 00000000000..07da670ab19--- /dev/null+++ b/www/public/images/product/auth/gitlab-icon.svg@@ -0,0 +1,45 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 586 559" style="enable-background:new 0 0 586 559;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#E24329;}+ .st1{fill:#FCA326;}+ .st2{fill:#FC6D26;}+ .st3{display:none;}+ .st4{display:inline;opacity:0.1;fill:#E828E3;enable-background:new ;}+ .st5{display:inline;}+ .st6{font-family:'ArialMT';}+ .st7{font-size:24px;}+</style>+<g id="logo_art">+ <g>+ <path id="path50_2_" class="st0" d="M293,548.3L293,548.3l107.5-330.8H185.6L293,548.3L293,548.3z"/>+ <path id="path66_6_" class="st1" d="M35,217.5L35,217.5L2.3,318c-3,9.1,0.2,19.2,8.1,24.9L293,548.3L35,217.5L35,217.5z"/>+ <path id="path74_2_" class="st0" d="M35,217.5h150.6L120.8,18.3c-3.3-10.2-17.8-10.2-21.2,0L35,217.5L35,217.5z"/>+ <path id="path82_6_" class="st1" d="M551.2,217.5L551.2,217.5L583.8,318c3,9.1-0.2,19.2-8.1,24.9L293,548.3L551.2,217.5+ L551.2,217.5z"/>+ <path id="path86_2_" class="st0" d="M551.2,217.5H400.6l64.7-199.2c3.3-10.2,17.8-10.2,21.2,0L551.2,217.5L551.2,217.5z"/>+ <polygon class="st2" points="293,548.3 400.6,217.5 551.2,217.5 "/>+ <polygon class="st2" points="293,548.3 35,217.5 185.6,217.5 "/>+ </g>+</g>+<g id="spacing_guides" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" class="st3">+ <path id="path40_18_" sketch:type="MSShapeGroup" class="st4" d="M0,0.5v124h586V0.5H0L0,0.5z"/>+ <path id="path40_16_" sketch:type="MSShapeGroup" class="st4" d="M0,435.5v124h586v-124H0L0,435.5z"/>+ <path id="path40_15_" sketch:type="MSShapeGroup" class="st4" d="M462.2,560h124V0h-124V560L462.2,560z"/>+ <g class="st5">+ <text transform="matrix(1 0 0 1 511.2881 283.3319)" class="st6 st7">1x</text>+ </g>+ <g class="st5">+ <text transform="matrix(1 0 0 1 281.2881 500.9977)" class="st6 st7">1x</text>+ </g>+ <g class="st5">+ <text transform="matrix(1 0 0 1 281.2881 65.998)" class="st6 st7">1x</text>+ </g>+ <path id="path40_5_" sketch:type="MSShapeGroup" class="st4" d="M0,560h124V0H0V560L0,560z"/>+ <g class="st5">+ <text transform="matrix(1 0 0 1 51.2881 283.3319)" class="st6 st7">1x</text>+ </g>+</g>+</svg>diff --git a/www/public/images/product/auth/google-icon.svg b/www/public/images/product/auth/google-icon.svgnew file mode 100644index 00000000000..06dc52f0aa6--- /dev/null+++ b/www/public/images/product/auth/google-icon.svg@@ -0,0 +1 @@+<svg width="2443" height="2500" viewBox="0 0 256 262" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="#4285F4"/><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="#34A853"/><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="#FBBC05"/><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="#EB4335"/></svg>\ No newline at end of filediff --git a/www/public/images/product/auth/twitter-icon.svg b/www/public/images/product/auth/twitter-icon.svgnew file mode 100644index 00000000000..c0364cc1527--- /dev/null+++ b/www/public/images/product/auth/twitter-icon.svg@@ -0,0 +1,6 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<svg width="256px" height="209px" viewBox="0 0 256 209" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">+ <g>+ <path d="M256,25.4500259 C246.580841,29.6272672 236.458451,32.4504868 225.834156,33.7202333 C236.678503,27.2198053 245.00583,16.9269929 248.927437,4.66307685 C238.779765,10.6812633 227.539325,15.0523376 215.57599,17.408298 C205.994835,7.2006971 192.34506,0.822 177.239197,0.822 C148.232605,0.822 124.716076,24.3375931 124.716076,53.3423116 C124.716076,57.4586875 125.181462,61.4673784 126.076652,65.3112644 C82.4258385,63.1210453 43.7257252,42.211429 17.821398,10.4359288 C13.3005011,18.1929938 10.710443,27.2151234 10.710443,36.8402889 C10.710443,55.061526 19.9835254,71.1374907 34.0762135,80.5557137 C25.4660961,80.2832239 17.3681846,77.9207088 10.2862577,73.9869292 C10.2825122,74.2060448 10.2825122,74.4260967 10.2825122,74.647085 C10.2825122,100.094453 28.3867003,121.322443 52.413563,126.14673 C48.0059695,127.347184 43.3661509,127.988612 38.5755734,127.988612 C35.1914554,127.988612 31.9009766,127.659938 28.694773,127.046602 C35.3777973,147.913145 54.7742053,163.097665 77.7569918,163.52185 C59.7820257,177.607983 37.1354036,186.004604 12.5289147,186.004604 C8.28987161,186.004604 4.10888474,185.75646 0,185.271409 C23.2431033,200.173139 50.8507261,208.867532 80.5109185,208.867532 C177.116529,208.867532 229.943977,128.836982 229.943977,59.4326002 C229.943977,57.1552968 229.893412,54.8901664 229.792282,52.6381454 C240.053257,45.2331635 248.958338,35.9825545 256,25.4500259" fill="#55acee"></path>+ </g>+</svg>\ No newline at end of filediff --git a/www/styles/index.css b/www/styles/index.cssindex a5204d7334e..f015f7228ba 100644--- a/www/styles/index.css+++ b/www/styles/index.css@@ -125,3 +125,20 @@ a {.dashboard-tabs > div > div > div > div {justify-content: center;}++/* Auth page */++.auth-container > div:nth-child(2) {+ width: 420px;+ margin: 0 auto;+}++.auth-container {+ @apply rounded;+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23edebf0' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");+}++.dark .auth-container {+ background-color: #181818;+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23313131' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h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