The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'chore/supabase-ui-update' into feature/marketing-content-update
Jonathan Summers-Muir15bf9d0c274b
diff --cc www/components/Nav/Product.tsxindex de643a38959,d9d6363a360..db2cf565379--- a/www/components/Nav/Product.tsx+++ b/www/components/Nav/Product.tsx@@@ -2,9 -2,7 +2,8 @@@ import React from 'reactimport SolutionsData from 'data/Solutions.json'import CaseStudiesData from 'data/CaseStudies.json'import { useRouter } from 'next/router'- import { Typography } from '@supabase/ui'-import { Typography, Badge, Space, IconChevronRight } from '@supabase/ui'+import ProductIcon from '../ProductIcon'++import { Typography, Badge } from '@supabase/ui'const Product = () => {const { basePath } = useRouter()@@@ -12,17 -10,30 +11,22 @@@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">- <svg- className="h-6 w-6 stroke-white dark:stroke-black"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- aria-hidden="true"- >- <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d={icon} />- </svg>- </div>+ <div className="flex lg:flex-col">+ <div className="flex flex-row items-center">+ <ProductIcon icon={icon} />+ <Typography.Title level={5} className="ml-3 mb-0">- {name} {label && <Badge className="ml-3">{label}</Badge>}++ {name}{' '}++ {label && (++ <div className="ml-3">++ <Badge>{label}</Badge>++ </div>++ )}+ </Typography.Title></div><div className="ml-4 md:flex-1 md:flex md:flex-col md:justify-between lg:ml-0 lg:mt-4">- <Space direction="vertical" size={2}>- <Space>- <Typography.Title level={5}>{name}</Typography.Title>- {label && <Badge>{label}</Badge>}- </Space>- <Typography.Text>{description}</Typography.Text>-- {url && <Typography.Link className="mt-3">Learn more</Typography.Link>}- </Space>+ <Typography.Text>+ <p className="mt-1 text-sm">{description}</p>+ </Typography.Text></div></div>)diff --cc www/package-lock.jsonindex c147116a286,51fff93206f..7ea4d6ddf93--- a/www/package-lock.json+++ b/www/package-lock.json@@@ -1683,46 -258,10 +1683,53 @@@"resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.14.0.tgz","integrity": "sha512-sDOAZcYwynHFTbLo6n8kIbLiVF3a3BLkrmehJUyEbT9F+Smbi47kLGS2gG2g0fjBLR/Lr1InPD7kXL7FaTqEkw=="},++<<<<<<< HEAD+ "@supabase/gotrue-js": {+ "version": "1.12.0",+ "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.12.0.tgz",+ "integrity": "sha512-SrOCFmE9s3haX7DwClS3Z9a4M8NfnO06UrnYxlID95r+jyqZYsEcckSUyIUJQRHdeF4UPELrzpVqxOeHiUgkCg==",+ "requires": {+ "cross-fetch": "^3.0.6"+ }+ },+ "@supabase/postgrest-js": {+ "version": "0.26.1",+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.26.1.tgz",+ "integrity": "sha512-fD7K6S2bl8JkYqeeZ0hWBWaCz61ktqz2MA4jiugT9FiKITaMgnjekHUwA29KbPsiRRft0HW/bNDRPxrGy+3UNw==",+ "requires": {+ "cross-fetch": "^3.0.6"+ }+ },+ "@supabase/realtime-js": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.0.6.tgz",+ "integrity": "sha512-qzYYBzXteYsqQYlLzoYwee2OloWn3w8YzUFbDYFUPdkUwLs01OIqsm+lRCzKDivmyn2G0FJQjloWcF4BF5TyBg==",+ "requires": {+ "@types/websocket": "^1.0.1",+ "query-string": "^6.12.1",+ "websocket": "^1.0.31"+ }+ },+ "@supabase/supabase-js": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.6.0.tgz",+ "integrity": "sha512-YQKo9AUCfVZtwX2izTb/fnHA7TigJ3gBaroQs1ntSDbu6/v9QVzCWQHh912qe8BbJAx7Bu36OZCeyYml8OlM8w==",+ "requires": {+ "@supabase/gotrue-js": "^1.12.0",+ "@supabase/postgrest-js": "^0.26.1",+ "@supabase/realtime-js": "^1.0.6"+ }+ },+ "@supabase/ui": {+ "version": "0.21.4",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.21.4.tgz",+ "integrity": "sha512-NbsPBWiTCWHjzJpQKNOrt+hR0t4bOiw3b9Gb0mCt6UJ0YuOV7kemEo29Ufz3PVkw54AdJz87KxLQ6V6+rUpdZg==",++=======+ "@supabase/ui": {+ "version": "0.13.6",+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.13.6.tgz",+ "integrity": "sha512-9RtTrqOk1ybY+rSZheFd1Bk3z6g1YDV3A7lZBUUoTLq5trQ0YFVvyAqNPOrpPBggt2PhdSSgDMz12a9SFQ4OqQ==",++>>>>>>> chore/supabase-ui-update"requires": {"lodash": "^4.17.20","prop-types": "^15.7.2",diff --cc www/styles/index.cssindex f015f7228ba,e7f392e8c0c..3432470d338--- a/www/styles/index.css+++ b/www/styles/index.css@@@ -28,117 -51,48 +28,129 @@@font-weight: 500;font-style: normal;}-/* @font-face {- font-family: "custom-font";- src: url(/new/fonts/custom/CustomFont-MediumItalic.woff2)- format('woff2'),- url(/new/fonts/custom/CustomFont-MediumItalic.woff)- format('woff');- font-weight: 500;- font-style: italic;-} */-/* @font-face {- font-family: "custom-font";- src: url(/new/fonts/custom/CustomFont-Bold.woff2)- format('woff2'),- url(/new/fonts/custom/CustomFont-Bold.woff)- format('woff');- font-weight: 700;- font-style: 600;-} */-/* @font-face {- font-family: "custom-font";- src: url(/new/fonts/custom/CustomFont-BoldItalic.woff2)- format('woff2'),- url(/new/fonts/custom/CustomFont-BoldItalic.woff)- format('woff');- font-style: 600;- font-style: italic;-} */-/* @font-face {- font-family: "custom-font";- src: url(/new/fonts/custom/CustomFont-Black.woff2)- format('woff2'),- url(/new/fonts/custom/CustomFont-Black.woff)- format('woff');- font-weight: 800;- font-style: normal;++/*+ Typography+*/++h1,+h2,+h3,+h4,+h5,+h6 {+ margin-bottom: 16px;+}++h1,+h2 {+ line-height: 1.2 !important;+}++p {+ @apply text-gray-light dark:text-gray-dark;+ margin-bottom: 16px;+}++.sbui-border-fix select {+ @apply border-solid;+ border-width: 1px;+}++body {- -moz-osx-font-smoothing: grayscale;+ -webkit-font-smoothing: antialiased;++ -moz-osx-font-smoothing: grayscale;+}++.section--masked {+ /* overflow: hidden; */+}++.section--bg-masked {+ position: absolute;+ width: 100%;+ height: 100%;+ /* overflow: visible; */+}++.section--bg {+ @apply bg-gray-50 dark:bg-gray-800;+ position: relative;+ height: 100%;+ width: 100%;+ top: 0;+ left: 0;+ transform-origin: 100% 0;+ transform: skewY(-2deg);+ overflow: hidden;+ /* transform-origin: var(--sectionTransformOrigin);+ transform: skewY(var(--sectionAngle));+ background: var(--backgroundColor);+ overflow:+ hidden; */+}++.section-container {+ position: relative;+ /* z-index: 1; */+ /* display: flex;+ justify-content: center; */+}++/* Database page */++.dashboard-tabs div[role='seperator'] {+ @apply border border-gray-50 dark:border-gray-700;+}++a {+ @apply hover:text-black dark:hover:text-white;+}++.sbui-tabs--alt div[role='tablist'] .sbui-btn-primary {+ @apply bg-gray-800 text-white dark:bg-gray-600 dark:text-white;+ text-shadow: none;+ font-weight: 400;+}+.sbui-tabs--alt div[role='tablist'] .sbui-btn-text {+ @apply dark:text-gray-400;+ font-weight: 400;+ shadow: none;+}++.sbui-tabs--underline-alt div[role='tablist'] .sbui-tab-button-underline--active {+ @apply border-gray-900 dark:border-white;+}+/* override position of tabs */+.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-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-9v9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}++++.header--dark {++ display: none;++}++++.dark .header--dark {++ display: block;+ }-@font-face {- font-family: "custom-font";- src: url(/new/fonts/custom/CustomFont-BlackItalic.woff2)- format('woff2'),- url(/new/fonts/custom/CustomFont-BlackItalic.woff)- format('woff');- font-weight: 800;- font-style: italic;-} */