Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

update functions page (#22111)

Francesco Sansalvadore3b11b9e1d7e2
diff --git a/apps/www/components/Carousels/ImageCarousel.tsx b/apps/www/components/Carousels/ImageCarousel.tsx
index 41a07ddceb8..d74aa4b008f 100644
--- a/apps/www/components/Carousels/ImageCarousel.tsx
+++ b/apps/www/components/Carousels/ImageCarousel.tsx
@@ -6,7 +6,7 @@ import { useRef, useState } from 'react'
import { Swiper, SwiperSlide } from 'swiper/react'
// Import Swiper styles
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import Image from 'next/image'
import TextLink from '../TextLink'
diff --git a/apps/www/components/Carousels/SplitCodeBlockCarousel.tsx b/apps/www/components/Carousels/SplitCodeBlockCarousel.tsx
index be9d41c6575..80320e50bda 100644
--- a/apps/www/components/Carousels/SplitCodeBlockCarousel.tsx
+++ b/apps/www/components/Carousels/SplitCodeBlockCarousel.tsx
@@ -6,7 +6,7 @@ import { Tabs, Button, Space } from 'ui'
import CodeBlock from '../CodeBlock/CodeBlock'
// Import Swiper styles
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { Badge } from 'ui'
import Link from 'next/link'
diff --git a/apps/www/components/CodeBlock/CodeBlock.tsx b/apps/www/components/CodeBlock/CodeBlock.tsx
index 2931926a6aa..4e731451c8b 100644
--- a/apps/www/components/CodeBlock/CodeBlock.tsx
+++ b/apps/www/components/CodeBlock/CodeBlock.tsx
@@ -1,5 +1,6 @@
-import { Button, IconCheck, IconCopy, IconFile, IconTerminal } from 'ui'
-import { useState } from 'react'
+import { Button, IconCheck, IconCopy, IconFile, IconTerminal, cn } from 'ui'
+import { useTheme } from 'next-themes'
+import { useEffect, useState } from 'react'
import CopyToClipboard from 'react-copy-to-clipboard'
import { Light as SyntaxHighlighter } from 'react-syntax-highlighter'
import bash from 'react-syntax-highlighter/dist/cjs/languages/hljs/bash'
@@ -7,10 +8,12 @@ import js from 'react-syntax-highlighter/dist/cjs/languages/hljs/javascript'
import py from 'react-syntax-highlighter/dist/cjs/languages/hljs/python'
import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql'
import kotlin from 'react-syntax-highlighter/dist/cjs/languages/hljs/kotlin'
+import yaml from 'react-syntax-highlighter/dist/cjs/languages/hljs/yaml'
import monokaiCustomTheme from './CodeBlock.utils'
+export type LANG = 'js' | 'sql' | 'py' | 'bash' | 'ts' | 'tsx' | 'kotlin' | 'yaml'
export interface CodeBlockProps {
- lang: 'js' | 'sql' | 'py' | 'bash' | 'ts' | 'tsx' | 'kotlin'
+ lang: LANG
startingLineNumber?: number
hideCopy?: boolean
showLineNumbers?: boolean
@@ -21,7 +24,10 @@ export interface CodeBlockProps {
}
function CodeBlock(props: CodeBlockProps) {
+ const { resolvedTheme } = useTheme()
+ const isDarkTheme = resolvedTheme?.includes('dark')!
const [copied, setCopied] = useState(false)
+ const [mounted, setMounted] = useState(false)
const firstLine = props.children ? props.children.split('\n')[0] : ''
@@ -54,10 +60,17 @@ function CodeBlock(props: CodeBlockProps) {
SyntaxHighlighter.registerLanguage('sql', sql)
SyntaxHighlighter.registerLanguage('bash', bash)
SyntaxHighlighter.registerLanguage('kotlin', kotlin)
+ SyntaxHighlighter.registerLanguage('yaml', yaml)
// const large = props.size === 'large' ? true : false
const large = false
+ useEffect(() => {
+ setMounted(true)
+ }, [])
+
+ if (!mounted) return null
+
return (
<div className="not-prose dark overflow-hidden">
{filename && (
@@ -93,13 +106,23 @@ function CodeBlock(props: CodeBlockProps) {
{/* @ts-ignore */}
<SyntaxHighlighter
language={lang}
- style={monokaiCustomTheme}
- className={[!filename && 'rounded-t-lg', 'rounded-b-lg'].join(' ')}
+ style={isDarkTheme ? monokaiCustomTheme.dark : monokaiCustomTheme.light}
+ className={cn(
+ 'synthax-highlighter border border-default/15 rounded-lg',
+ !filename && 'rounded-t-lg',
+ 'rounded-b-lg',
+ props.className
+ )}
customStyle={{
- padding: '21px 24px',
- fontSize: large ? 18 : '0.875rem',
+ padding: props.showLineNumbers
+ ? large
+ ? '1.25rem 1rem'
+ : '1rem 0.8rem'
+ : large
+ ? '1.25rem 1.5rem'
+ : '1.25rem 1.5rem',
+ fontSize: large ? 18 : '0.775rem',
lineHeight: large ? 1.6 : 1.4,
- background: props.background ?? '#1A1A1A',
}}
showLineNumbers={props.showLineNumbers}
lineNumberStyle={{
@@ -113,7 +136,7 @@ function CodeBlock(props: CodeBlockProps) {
{content}
</SyntaxHighlighter>
{!props.hideCopy && props.children ? (
- <div className="dark absolute right-2 top-2">
+ <div className="absolute right-2 top-2">
<CopyToClipboard text={props.children}>
<Button
type="text"
@@ -128,9 +151,8 @@ function CodeBlock(props: CodeBlockProps) {
}
onClick={() => handleCopy()}
aria-label="Copy"
- >
- {/* {copied ? 'Copied' : 'Copy'} */}
- </Button>
+ className="px-1.5 py-1.5 border border-transparent hover:border-strong"
+ />
</CopyToClipboard>
</div>
) : null}
diff --git a/apps/www/components/CodeBlock/CodeBlock.utils.js b/apps/www/components/CodeBlock/CodeBlock.utils.js
index 4233bf1548a..7eea1da69ce 100644
--- a/apps/www/components/CodeBlock/CodeBlock.utils.js
+++ b/apps/www/components/CodeBlock/CodeBlock.utils.js
@@ -1,115 +1,231 @@
const monokaiCustomTheme = {
- hljs: {
- display: 'block',
- overflowX: 'auto',
- padding: '0.5em',
- background: '#272822',
- color: '#ddd',
- },
- 'hljs-tag': {
- color: '#569cd6',
- },
- 'hljs-keyword': {
- color: '#569cd6',
- fontWeight: 'normal',
- },
- 'hljs-selector-tag': {
- color: '#569cd6',
- fontWeight: 'normal',
- },
- 'hljs-literal': {
- color: '#569cd6',
- fontWeight: 'normal',
- },
- 'hljs-strong': {
- color: '#569cd6',
- },
- 'hljs-name': {
- color: '#569cd6',
- },
- 'hljs-code': {
- color: '#66d9ef',
- },
- 'hljs-class .hljs-title': {
- color: 'gray',
- },
- 'hljs-attribute': {
- color: '#bf79db',
- },
- 'hljs-symbol': {
- color: '#bf79db',
- },
- 'hljs-regexp': {
- color: '#bf79db',
- },
- 'hljs-link': {
- color: '#bf79db',
- },
- 'hljs-string': {
- color: '#3ECF8E',
- },
- 'hljs-bullet': {
- color: '#3ECF8E',
- },
- 'hljs-subst': {
- color: '#3ECF8E',
- },
- 'hljs-title': {
- color: '#3ECF8E',
- fontWeight: 'normal',
- },
- 'hljs-section': {
- color: '#3ECF8E',
- fontWeight: 'normal',
- },
- 'hljs-emphasis': {
- color: '#3ECF8E',
- },
- 'hljs-type': {
- color: '#3ECF8E',
- fontWeight: 'normal',
- },
- 'hljs-built_in': {
- color: '#3ECF8E',
- },
- 'hljs-builtin-name': {
- color: '#3ECF8E',
- },
- 'hljs-selector-attr': {
- color: '#3ECF8E',
- },
- 'hljs-selector-pseudo': {
- color: '#3ECF8E',
- },
- 'hljs-addition': {
- color: '#3ECF8E',
- },
- 'hljs-variable': {
- color: '#3ECF8E',
- },
- 'hljs-template-tag': {
- color: '#3ECF8E',
- },
- 'hljs-template-variable': {
- color: '#3ECF8E',
- },
- 'hljs-comment': {
- color: '#75715e',
- },
- 'hljs-quote': {
- color: '#75715e',
- },
- 'hljs-deletion': {
- color: '#75715e',
- },
- 'hljs-meta': {
- color: '#75715e',
- },
- 'hljs-doctag': {
- fontWeight: 'normal',
- },
- 'hljs-selector-id': {
- fontWeight: 'normal',
+ dark: {
+ hljs: {
+ display: 'block',
+ overflowX: 'auto',
+ padding: '0.5em',
+ background: '#161616',
+ color: '#ddd',
+ },
+ 'hljs-tag': {
+ color: '#569cd6',
+ },
+ 'hljs-keyword': {
+ color: '#569cd6',
+ fontWeight: 'normal',
+ },
+ 'hljs-selector-tag': {
+ color: '#569cd6',
+ fontWeight: 'normal',
+ },
+ 'hljs-literal': {
+ color: '#569cd6',
+ fontWeight: 'normal',
+ },
+ 'hljs-strong': {
+ color: '#569cd6',
+ },
+ 'hljs-name': {
+ color: '#569cd6',
+ },
+ 'hljs-code': {
+ color: '#66d9ef',
+ },
+ 'hljs-class .hljs-title': {
+ color: 'gray',
+ },
+ 'hljs-attribute': {
+ color: '#bf79db',
+ },
+ 'hljs-symbol': {
+ color: '#bf79db',
+ },
+ 'hljs-regexp': {
+ color: '#bf79db',
+ },
+ 'hljs-link': {
+ color: '#bf79db',
+ },
+ 'hljs-string': {
+ color: '#3ECF8E',
+ },
+ 'hljs-bullet': {
+ color: '#3ECF8E',
+ },
+ 'hljs-subst': {
+ color: '#3ECF8E',
+ },
+ 'hljs-title': {
+ color: '#3ECF8E',
+ fontWeight: 'normal',
+ },
+ 'hljs-section': {
+ color: '#3ECF8E',
+ fontWeight: 'normal',
+ },
+ 'hljs-emphasis': {
+ color: '#3ECF8E',
+ },
+ 'hljs-type': {
+ color: '#3ECF8E',
+ fontWeight: 'normal',
+ },
+ 'hljs-built_in': {
+ color: '#3ECF8E',
+ },
+ 'hljs-builtin-name': {
+ color: '#3ECF8E',
+ },
+ 'hljs-selector-attr': {
+ color: '#3ECF8E',
+ },
+ 'hljs-selector-pseudo': {
+ color: '#3ECF8E',
+ },
+ 'hljs-addition': {
+ color: '#3ECF8E',
+ },
+ 'hljs-variable': {
+ color: '#3ECF8E',
+ },
+ 'hljs-template-tag': {
+ color: '#3ECF8E',
+ },
+ 'hljs-template-variable': {
+ color: '#3ECF8E',
+ },
+ 'hljs-comment': {
+ color: '#75715e',
+ },
+ 'hljs-quote': {
+ color: '#75715e',
+ },
+ 'hljs-deletion': {
+ color: '#75715e',
+ },
+ 'hljs-meta': {
+ color: '#75715e',
+ },
+ 'hljs-doctag': {
+ fontWeight: 'normal',
+ },
+ 'hljs-selector-id': {
+ fontWeight: 'normal',
+ },
+ },
+ light: {
+ hljs: {
+ display: 'block',
+ overflowX: 'auto',
+ padding: '0.5em',
+ background: '#f9f9f9',
+ color: '#24292f',
+ },
+ 'hljs-tag': {
+ color: '#0550ae',
+ },
+ 'hljs-keyword': {
+ color: '#0550ae',
+ fontWeight: 'normal',
+ },
+ 'hljs-selector-tag': {
+ color: '#0550ae',
+ fontWeight: 'normal',
+ },
+ 'hljs-literal': {
+ color: '#0550ae',
+ fontWeight: 'normal',
+ },
+ 'hljs-strong': {
+ color: '#0550ae',
+ },
+ 'hljs-name': {
+ color: '#0550ae',
+ },
+ 'hljs-code': {
+ color: '#66d9ef',
+ },
+ 'hljs-class .hljs-title': {
+ color: 'gray',
+ },
+ 'hljs-attribute': {
+ color: '#bf79db',
+ },
+ 'hljs-symbol': {
+ color: '#bf79db',
+ },
+ 'hljs-regexp': {
+ color: '#bf79db',
+ },
+ 'hljs-link': {
+ color: '#bf79db',
+ },
+ 'hljs-string': {
+ color: '#1B9657',
+ },
+ 'hljs-bullet': {
+ color: '#1B9657',
+ },
+ 'hljs-subst': {
+ color: '#1B9657',
+ },
+ 'hljs-title': {
+ color: '#1B9657',
+ fontWeight: 'normal',
+ },
+ 'hljs-section': {
+ color: '#1B9657',
+ fontWeight: 'normal',
+ },
+ 'hljs-emphasis': {
+ color: '#1B9657',
+ },
+ 'hljs-type': {
+ color: '#1B9657',
+ fontWeight: 'normal',
+ },
+ 'hljs-built_in': {
+ color: '#1B9657',
+ },
+ 'hljs-builtin-name': {
+ color: '#1B9657',
+ },
+ 'hljs-selector-attr': {
+ color: '#1B9657',
+ },
+ 'hljs-selector-pseudo': {
+ color: '#1B9657',
+ },
+ 'hljs-addition': {
+ color: '#1B9657',
+ },
+ 'hljs-variable': {
+ color: '#1B9657',
+ },
+ 'hljs-template-tag': {
+ color: '#1B9657',
+ },
+ 'hljs-template-variable': {
+ color: '#1B9657',
+ },
+ 'hljs-comment': {
+ color: '#75715e',
+ },
+ 'hljs-quote': {
+ color: '#75715e',
+ },
+ 'hljs-deletion': {
+ color: '#75715e',
+ },
+ 'hljs-meta': {
+ color: '#75715e',
+ },
+ 'hljs-doctag': {
+ fontWeight: 'normal',
+ },
+ 'hljs-selector-id': {
+ fontWeight: 'normal',
+ },
},
}
diff --git a/apps/www/components/CodeWindow.tsx b/apps/www/components/CodeWindow.tsx
new file mode 100644
index 00000000000..6e45f3b05e4
--- /dev/null
+++ b/apps/www/components/CodeWindow.tsx
@@ -0,0 +1,37 @@
+import React from 'react'
+import { cn } from 'ui'
+import CodeBlock from './CodeBlock/CodeBlock'
+import type { LANG } from './CodeBlock/CodeBlock'
+
+interface Props {
+ code: any
+ lang?: LANG
+ className?: string
+ style?: React.CSSProperties
+ showLineNumbers?: boolean
+}
+
+const CodeWindow = ({ code, lang, style, className, showLineNumbers }: Props) => {
+ return (
+ <div
+ className={cn(
+ 'relative rounded-2xl shadow-lg p-2 pt-0 w-full h-full bg-alternative-200 border flex flex-col',
+ className
+ )}
+ style={style}
+ >
+ <div className="w-full px-2 py-3 relative flex items-center gap-1.5 lg:gap-2">
+ <div className="w-2 h-2 bg-border rounded-full" />
+ <div className="w-2 h-2 bg-border rounded-full" />
+ <div className="w-2 h-2 bg-border rounded-full" />
+ </div>
+ <div className="h-full w-full rounded-lg">
+ <CodeBlock lang={lang ?? 'js'} size="small" showLineNumbers={showLineNumbers}>
+ {code}
+ </CodeBlock>
+ </div>
+ </div>
+ )
+}
+
+export default CodeWindow
diff --git a/apps/www/components/ExampleCard.tsx b/apps/www/components/ExampleCard.tsx
index 97a39c092e0..f98f4976813 100644
--- a/apps/www/components/ExampleCard.tsx
+++ b/apps/www/components/ExampleCard.tsx
@@ -1,8 +1,9 @@
-import Link from 'next/link'
-import { Button, IconArrowUpRight } from 'ui'
+import { useEffect, useState } from 'react'
import { useBreakpoint } from 'common'
+import Link from 'next/link'
+import { ArrowUpRight } from 'lucide-react'
+import { Button } from 'ui'
import Panel from './Panel'
-import { useEffect, useState } from 'react'
function ExampleCard(props: any) {
const isXs = useBreakpoint()
@@ -30,12 +31,17 @@ function ExampleCard(props: any) {
role="img"
width={isXs ? 35 : 55}
height={isXs ? 35 : 55}
- viewBox="0 0 61 61"
+ viewBox="0 0 80 80"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<title>{tag} logo</title>
- <path d={framework.icon} fill="hsl(var(--foreground-lighter))" />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d={framework.icon}
+ fill="hsl(var(--foreground-lighter))"
+ />
</svg>
</div>
)
@@ -78,11 +84,11 @@ function ExampleCard(props: any) {
</svg>
</div>
)}
- <div className="p-5 flex flex-col gap-2">
+ <div className="p-5 flex flex-col gap-2 border-t border-muted">
<div className="flex items-start justify-between">
- <h4 className="text-foreground text-lg">{props.title} </h4>
+ <h4 className="text-foreground text-lg">{props.title}</h4>
</div>
- <p className="text-sm text-foreground-muted">{props.description}</p>
+ <p className="text-sm text-foreground-lighter">{props.description}</p>
</div>
</div>
<div>
@@ -95,8 +101,8 @@ function ExampleCard(props: any) {
className="group overflow-hidden text-foreground-lighter group-hover/panel:text-foreground !bg-transparent !p-0"
iconRight={
<div className="relative w-3.5 h-3.5 flex items-center justify-center">
- <IconArrowUpRight className="absolute inset-0 transition-transform duration-200 translate-x-0 translate-y-0 group-hover/panel:translate-x-6 group-hover/panel:-translate-y-6" />
- <IconArrowUpRight className="absolute inset-0 transition-transform duration-200 -translate-x-6 translate-y-6 group-hover/panel:translate-x-0 group-hover/panel:-translate-y-0" />
+ <ArrowUpRight className="absolute w-3.5 h-3.5 inset-0 transition-transform duration-200 translate-x-0 translate-y-0 group-hover/panel:translate-x-6 group-hover/panel:-translate-y-6" />
+ <ArrowUpRight className="absolute w-3.5 h-3.5 inset-0 transition-transform duration-200 -translate-x-6 translate-y-6 group-hover/panel:translate-x-0 group-hover/panel:-translate-y-0" />
</div>
}
>
@@ -114,63 +120,79 @@ function ExampleCard(props: any) {
const frameworks = [
{
name: 'Angular',
- icon: 'M34.0746 31.9297L30.6011 23.3598L27.1367 31.9297H34.0746Z M30.5829 9.91248L11.4375 16.8777L14.3549 42.6875L30.5829 51.85L46.8109 42.6875L49.7283 16.8777L30.5829 9.91248ZM38.0131 41.8214L35.6245 35.704H25.5413L23.1527 41.8214H18.731L30.6011 14.4709L42.4348 41.8214H38.0131Z',
+ icon: 'M44.688 41.875L40.1326 30.6359L35.5891 41.875H44.688Z M40.1087 13L15 22.1348L18.8261 55.9837L40.1087 68L61.3913 55.9837L65.2174 22.1348L40.1087 13ZM49.8533 54.8478L46.7207 46.825H33.4967L30.3641 54.8478H24.5652L40.1326 18.9783L55.6522 54.8478H49.8533Z',
},
{
name: 'Next.js',
- icon: 'M42.3148 48.6796C38.9009 50.9525 34.8014 52.2771 30.3924 52.2771C18.4957 52.2771 8.85156 42.6329 8.85156 30.7362C8.85156 18.8395 18.4957 9.19531 30.3924 9.19531C42.2891 9.19531 51.9333 18.8395 51.9333 30.7362C51.9333 37.1564 49.1245 42.9207 44.6688 46.8671L39.5552 40.2803V21.8278H36.584V36.4531L25.2299 21.8278H21.4808V39.6473H24.4801V25.6368L42.3148 48.6796Z',
+ icon: 'M56.1984 63.6323C51.7018 66.6266 46.3019 68.3716 40.4944 68.3716C24.8264 68.3716 12.125 55.6702 12.125 40.0022C12.125 24.3342 24.8264 11.6328 40.4944 11.6328C56.1624 11.6328 68.8638 24.3342 68.8638 40.0022C68.8638 48.4568 65.1655 56.0475 59.2983 61.2449L52.5615 52.5671V28.2656H48.6484V47.5267L33.6954 28.2656H28.7578V51.734H32.7079V33.282L56.1984 63.6323Z',
},
{
name: 'React',
- icon: 'M45.74 23.6983C45.2739 23.5379 44.7909 23.3861 44.2937 23.2426C44.3754 22.909 44.4504 22.5798 44.5171 22.2561C45.6119 16.9418 44.8961 12.6605 42.4518 11.2509C40.1079 9.89927 36.2748 11.3085 32.4035 14.6776C32.0313 15.0016 31.6579 15.3446 31.2848 15.704C31.0362 15.4662 30.7879 15.2364 30.5403 15.0165C26.4831 11.4141 22.4164 9.89599 19.9744 11.3097C17.6329 12.6652 16.9394 16.69 17.9249 21.7265C18.0201 22.2129 18.1313 22.7097 18.2571 23.2148C17.6816 23.3782 17.1259 23.5524 16.5943 23.7377C11.8376 25.3961 8.7998 27.9952 8.7998 30.6911C8.7998 33.4755 12.0609 36.2683 17.0153 37.9617C17.4063 38.0953 17.812 38.2217 18.2301 38.3416C18.0944 38.8879 17.9763 39.4232 17.8773 39.9454C16.9376 44.8944 17.6714 48.8242 20.0068 50.1711C22.4189 51.5622 26.4673 50.1324 30.4093 46.6865C30.7209 46.4141 31.0336 46.1253 31.3469 45.8225C31.7529 46.2135 32.1582 46.5835 32.5615 46.9306C36.3798 50.2164 40.151 51.5432 42.4842 50.1925C44.894 48.7975 45.6772 44.576 44.6604 39.4399C44.5828 39.0476 44.4924 38.6469 44.3909 38.239C44.6752 38.155 44.9543 38.0682 45.2265 37.978C50.3771 36.2715 53.7282 33.5127 53.7282 30.6911C53.7282 27.9854 50.5924 25.3688 45.74 23.6983ZM44.6228 36.1561C44.3772 36.2375 44.1251 36.3161 43.8682 36.3923C43.2996 34.5922 42.5322 32.6781 41.5931 30.7005C42.4893 28.7699 43.227 26.8803 43.7797 25.0919C44.2393 25.2249 44.6854 25.3651 45.1152 25.5132C49.2728 26.9444 51.8089 29.0605 51.8089 30.6911C51.8089 32.4279 49.07 34.6826 44.6228 36.1561ZM42.7776 39.8126C43.2272 42.0837 43.2914 44.1371 42.9936 45.7423C42.726 47.1847 42.1878 48.1463 41.5225 48.5315C40.1066 49.351 37.0787 48.2857 33.8132 45.4757C33.4388 45.1535 33.0618 44.8096 32.6835 44.4455C33.9495 43.061 35.2147 41.4514 36.4495 39.6638C38.6215 39.4711 40.6735 39.156 42.5344 38.7258C42.626 39.0955 42.7074 39.4581 42.7776 39.8126ZM24.1169 48.3898C22.7336 48.8784 21.6318 48.8924 20.9658 48.5084C19.5486 47.691 18.9594 44.5358 19.7631 40.3033C19.8551 39.8186 19.9647 39.3207 20.091 38.8118C21.9314 39.2187 23.9684 39.5116 26.1456 39.6881C27.3887 41.4373 28.6905 43.0452 30.0024 44.453C29.7157 44.7297 29.4302 44.9931 29.1463 45.2413C27.4032 46.7651 25.6564 47.8461 24.1169 48.3898ZM17.6361 36.1455C15.4453 35.3967 13.6361 34.4235 12.396 33.3616C11.2817 32.4073 10.7191 31.4599 10.7191 30.6911C10.7191 29.0551 13.1581 26.9684 17.226 25.5501C17.7196 25.378 18.2363 25.2158 18.7725 25.0635C19.3347 26.8923 20.0722 28.8043 20.9623 30.7378C20.0607 32.7 19.3128 34.6425 18.745 36.4927C18.3628 36.3829 17.9924 36.2672 17.6361 36.1455ZM19.8085 21.3579C18.9642 17.0428 19.5249 13.7876 20.936 12.9708C22.4391 12.1006 25.7628 13.3413 29.2659 16.4518C29.4898 16.6506 29.7146 16.8587 29.9401 17.074C28.6347 18.4756 27.3448 20.0714 26.1127 21.8103C23.9997 22.0061 21.977 22.3208 20.1174 22.742C20.0004 22.2717 19.8969 21.8097 19.8085 21.3579ZM39.1886 26.1433C38.744 25.3754 38.2876 24.6257 37.8223 23.8964C39.2558 24.0777 40.6293 24.3182 41.9191 24.6126C41.5318 25.8536 41.0492 27.1511 40.4811 28.4813C40.0735 27.7076 39.6425 26.9275 39.1886 26.1433ZM31.2854 18.4456C32.1707 19.4047 33.0573 20.4756 33.9293 21.6374C33.0506 21.5959 32.161 21.5743 31.264 21.5743C30.3755 21.5743 29.4925 21.5954 28.6192 21.6362C29.4921 20.4852 30.3863 19.4158 31.2854 18.4456ZM23.3317 26.1566C22.8876 26.9267 22.4645 27.7025 22.0634 28.4799C21.5045 27.1543 21.0263 25.8509 20.6357 24.5923C21.9176 24.3054 23.2846 24.0709 24.7089 23.8931C24.2371 24.6291 23.7769 25.3843 23.3317 26.1564V26.1566ZM24.75 37.626C23.2783 37.4618 21.8908 37.2394 20.6093 36.9604C21.0061 35.6793 21.4948 34.3481 22.0655 32.994C22.4677 33.7707 22.8925 34.5469 23.3393 35.3187H23.3393C23.7945 36.1049 24.266 36.875 24.75 37.626ZM31.3385 43.0719C30.4289 42.0904 29.5215 41.0047 28.6353 39.8368C29.4956 39.8706 30.3726 39.8879 31.264 39.8879C32.1798 39.8879 33.085 39.8672 33.9761 39.8276C33.1012 41.0164 32.2178 42.1038 31.3385 43.0719ZM40.4994 32.9249C41.0999 34.2937 41.6061 35.618 42.0081 36.8772C40.7054 37.1744 39.2989 37.4138 37.8171 37.5916C38.2835 36.8525 38.7439 36.0899 39.1963 35.3055C39.6539 34.5118 40.0885 33.717 40.4994 32.9249ZM37.5337 34.3466C36.8314 35.5643 36.1104 36.7268 35.3784 37.8241C34.0452 37.9194 32.6678 37.9685 31.264 37.9685C29.8659 37.9685 28.5058 37.9251 27.1962 37.8401C26.4347 36.7284 25.698 35.5625 25.0002 34.3571H25.0004C24.3044 33.155 23.6638 31.9427 23.0834 30.7372C23.6636 29.5289 24.3025 28.3152 24.9945 27.1152L24.9944 27.1155C25.6882 25.9123 26.4184 24.7521 27.1729 23.6473C28.509 23.5463 29.8792 23.4936 31.2639 23.4936H31.264C32.655 23.4936 34.0269 23.5467 35.3626 23.6486C36.1056 24.7453 36.8308 25.9017 37.5274 27.1051C38.2319 28.3219 38.879 29.5275 39.4642 30.7099C38.8808 31.9126 38.2351 33.1303 37.5337 34.3466ZM41.4931 12.9137C42.9976 13.7813 43.5826 17.2804 42.6374 21.8688C42.5771 22.1615 42.5092 22.4597 42.4354 22.762C40.5715 22.3319 38.5474 22.0118 36.4282 21.813C35.1937 20.055 33.9143 18.4567 32.6302 17.0731C32.9755 16.741 33.3202 16.4243 33.6636 16.1254C36.9805 13.2388 40.0806 12.0991 41.4931 12.9137ZM31.264 26.6791C33.4797 26.6791 35.276 28.4753 35.276 30.6911C35.276 32.9068 33.4797 34.703 31.264 34.703C29.0483 34.703 27.252 32.9068 27.252 30.6911C27.252 28.4753 29.0483 26.6791 31.264 26.6791Z',
+ icon: 'M59.5649 31.2406C58.951 31.0293 58.315 30.8294 57.6601 30.6403C57.7677 30.201 57.8665 29.7674 57.9544 29.3412C59.3962 22.3421 58.4535 16.7036 55.2343 14.8472C52.1475 13.0671 47.0992 14.9231 42.0007 19.3602C41.5104 19.7869 41.0188 20.2386 40.5274 20.712C40.1999 20.3988 39.873 20.0961 39.5469 19.8066C34.2035 15.0622 28.8476 13.0628 25.6316 14.9246C22.5477 16.7098 21.6345 22.0105 22.9324 28.6436C23.0577 29.2843 23.2042 29.9385 23.3699 30.6038C22.6119 30.8189 21.8801 31.0483 21.1799 31.2924C14.9154 33.4765 10.9146 36.8995 10.9146 40.45C10.9146 44.1171 15.2094 47.7952 21.7344 50.0254C22.2493 50.2014 22.7836 50.3678 23.3343 50.5258C23.1555 51.2453 23.0001 51.9503 22.8696 52.6379C21.632 59.1559 22.5985 64.3314 25.6741 66.1053C28.851 67.9373 34.1827 66.0542 39.3744 61.5161C39.7847 61.1573 40.1965 60.7769 40.6091 60.3782C41.1438 60.8931 41.6777 61.3804 42.2087 61.8375C47.2375 66.1649 52.2042 67.9123 55.277 66.1334C58.4508 64.2962 59.4822 58.7365 58.1431 51.9722C58.0408 51.4556 57.9218 50.9278 57.7882 50.3907C58.1626 50.28 58.5302 50.1657 58.8886 50.0469C65.6719 47.7994 70.0854 44.166 70.0854 40.45C70.0854 36.8866 65.9556 33.4406 59.5649 31.2406ZM58.0936 47.6475C57.7701 47.7546 57.4381 47.8582 57.0998 47.9585C56.3509 45.5878 55.3402 43.0669 54.1034 40.4624C55.2837 37.9198 56.2553 35.4312 56.9832 33.0758C57.5885 33.251 58.176 33.4357 58.7421 33.6307C64.2176 35.5156 67.5576 38.3026 67.5576 40.45C67.5576 42.7374 63.9505 45.7068 58.0936 47.6475ZM55.6634 52.4631C56.2555 55.4542 56.3401 58.1585 55.9478 60.2725C55.5954 62.1721 54.8867 63.4386 54.0104 63.9459C52.1457 65.0252 48.1579 63.6222 43.8573 59.9214C43.3642 59.4971 42.8676 59.0441 42.3695 58.5647C44.0367 56.7412 45.7031 54.6214 47.3293 52.2671C50.1898 52.0133 52.8923 51.5983 55.3431 51.0318C55.4638 51.5187 55.571 51.9962 55.6634 52.4631ZM31.0872 63.7593C29.2653 64.4028 27.8143 64.4212 26.9372 63.9154C25.0707 62.8389 24.2948 58.6835 25.3532 53.1094C25.4744 52.471 25.6187 51.8153 25.785 51.145C28.209 51.681 30.8916 52.0667 33.759 52.2991C35.3962 54.6029 37.1107 56.7204 38.8384 58.5745C38.4609 58.9389 38.0849 59.2858 37.711 59.6128C35.4153 61.6195 33.1147 63.0432 31.0872 63.7593ZM22.5519 47.6335C19.6667 46.6474 17.284 45.3657 15.6507 43.9671C14.1832 42.7103 13.4422 41.4625 13.4422 40.45C13.4422 38.2954 16.6545 35.5472 22.0119 33.6793C22.662 33.4527 23.3425 33.2391 24.0487 33.0384C24.7891 35.447 25.7604 37.9651 26.9325 40.5115C25.7452 43.0958 24.7601 45.6541 24.0125 48.0908C23.509 47.9461 23.0213 47.7938 22.5519 47.6335ZM25.413 28.1582C24.301 22.4751 25.0396 18.188 26.898 17.1123C28.8775 15.9663 33.2549 17.6002 37.8685 21.6968C38.1634 21.9586 38.4594 22.2327 38.7563 22.5162C37.0372 24.3622 35.3384 26.4638 33.7157 28.754C30.9328 29.0119 28.269 29.4263 25.8198 29.9811C25.6658 29.3617 25.5294 28.7531 25.413 28.1582ZM50.9367 34.4606C50.3512 33.4493 49.7501 32.4619 49.1373 31.5014C51.0252 31.7401 52.8341 32.0569 54.5327 32.4446C54.0228 34.079 53.3871 35.7879 52.6389 37.5397C52.1022 36.5207 51.5345 35.4933 50.9367 34.4606ZM40.5282 24.3227C41.6941 25.5859 42.8617 26.9961 44.0102 28.5263C42.8529 28.4716 41.6813 28.4432 40.5 28.4432C39.3298 28.4432 38.1669 28.471 37.0167 28.5247C38.1663 27.0088 39.3441 25.6004 40.5282 24.3227ZM30.0531 34.4781C29.4682 35.4922 28.911 36.5141 28.3827 37.5378C27.6466 35.7921 27.0169 34.0754 26.5025 32.4179C28.1907 32.0401 29.991 31.7312 31.8669 31.497C31.2455 32.4663 30.6395 33.461 30.0531 34.4779V34.4781ZM31.921 49.5833C29.9828 49.3671 28.1555 49.0741 26.4676 48.7067C26.9903 47.0196 27.6339 45.2663 28.3856 43.4829C28.9153 44.5059 29.4746 45.5282 30.0631 46.5446H30.0632C30.6626 47.58 31.2836 48.5943 31.921 49.5833ZM40.5981 56.7556C39.4001 55.4629 38.2051 54.0331 37.038 52.495C38.171 52.5395 39.326 52.5622 40.5 52.5622C41.706 52.5622 42.8983 52.535 44.0718 52.4828C42.9196 54.0485 41.7562 55.4806 40.5981 56.7556ZM52.663 43.392C53.4539 45.1946 54.1206 46.9388 54.65 48.5972C52.9343 48.9886 51.082 49.3038 49.1304 49.5381C49.7446 48.5647 50.351 47.5603 50.9468 46.5272C51.5495 45.482 52.1219 44.4351 52.663 43.392ZM48.7572 45.2644C47.8323 46.8681 46.8827 48.3991 45.9186 49.8442C44.1628 49.9698 42.3488 50.0345 40.5 50.0345C38.6586 50.0345 36.8675 49.9773 35.1427 49.8653C34.1398 48.4012 33.1696 46.8657 32.2505 45.2782H32.2507C31.3341 43.6949 30.4905 42.0983 29.726 40.5107C30.4903 38.9194 31.3317 37.321 32.243 35.7406L32.2428 35.7409C33.1566 34.1563 34.1183 32.6283 35.112 31.1734C36.8717 31.0403 38.6762 30.9709 40.4999 30.9709H40.5C42.3319 30.9709 44.1387 31.0409 45.8979 31.175C46.8764 32.6193 47.8315 34.1424 48.7489 35.7272C49.6767 37.3298 50.529 38.9176 51.2997 40.4748C50.5313 42.0587 49.6809 43.6625 48.7572 45.2644ZM53.9717 17.0371C55.9531 18.1797 56.7237 22.788 55.4787 28.831C55.3993 29.2166 55.3099 29.6093 55.2128 30.0073C52.7579 29.4409 50.0922 29.0194 47.3012 28.7576C45.6754 26.4422 43.9905 24.3373 42.2993 22.515C42.754 22.0776 43.208 21.6606 43.6602 21.267C48.0286 17.4653 52.1115 15.9644 53.9717 17.0371ZM40.5 35.1663C43.4181 35.1663 45.7837 37.5318 45.7837 40.45C45.7837 43.3681 43.4181 45.7338 40.5 45.7338C37.5819 45.7338 35.2162 43.3681 35.2162 40.45C35.2162 37.5318 37.5819 35.1663 40.5 35.1663Z',
},
{
name: 'NestJs',
- icon: 'M34.5443 9.14996C34.2818 9.14996 34.0192 9.14996 33.7567 9.28124C36.1197 10.8566 33.3628 13.2195 34.6756 15.1887C34.5443 13.8759 35.0694 12.5631 36.2509 11.7755C36.6448 11.3817 36.9073 11.2504 36.9073 10.7253C36.776 9.80635 35.4633 9.14996 34.5443 9.14996ZM38.0888 9.80635C37.695 11.5129 37.3011 11.5129 36.1197 12.6944C35.0694 13.4821 34.8069 14.7948 35.332 15.9763C30.2122 14.0072 23.6484 12.8257 18.9224 16.2389C17.0846 17.4204 16.0344 19.127 13.9339 19.9146C12.6212 20.3085 11.1771 20.1772 10.3895 21.4899C9.73309 22.2776 9.73309 23.4591 10.5207 24.2467C10.7833 24.5093 11.3084 24.6406 11.4397 24.9031C11.571 25.0344 11.571 25.1657 11.7022 25.4282C11.9648 25.9533 12.2273 26.3472 12.4899 26.6097C12.7524 26.741 13.4088 27.0036 13.5401 27.1348C13.6714 27.3974 13.2776 28.3163 13.6714 28.4476C13.9339 28.5789 14.5903 27.2661 14.7216 27.2661C14.5903 28.185 14.459 29.8916 15.5093 28.5789C16.0344 27.9225 16.0344 27.6599 16.9533 27.5287C17.3471 27.5287 18.0035 27.5287 18.5286 27.3974C25.2237 27.1348 30.8686 32.1233 31.525 38.8184C31.3937 38.0308 30.3435 36.8493 29.4246 37.1118C29.0307 37.2431 28.8994 37.8995 28.6369 38.2933C28.3743 38.8184 27.9805 39.2123 27.4554 39.6061C27.5867 38.8184 27.4554 38.162 27.3241 37.3744C27.0616 38.5559 26.5365 40.3937 25.0924 39.9999C24.1735 39.8686 23.3858 39.2123 23.1233 38.2933C22.992 37.1118 24.1735 35.7991 22.2043 35.6678C18.2661 35.5365 19.185 41.1814 21.548 42.6254C21.0229 42.6254 20.4978 42.888 19.9727 43.0193C24.9612 45.9074 31.2624 44.2008 34.1505 39.2123C34.8069 38.0308 35.2007 36.8493 35.4633 35.5365C35.8571 37.1118 35.7258 38.6872 35.4633 40.1312C35.332 40.9189 34.9382 41.7065 34.6756 42.4942C34.1505 43.5444 33.4941 44.4633 32.7065 45.251C32.1814 45.7761 31.3937 46.1699 31.1311 46.695C32.969 46.4325 34.6756 45.9074 36.3822 45.251C34.5443 48.0078 32.1814 49.9769 29.5558 51.1584C35.4633 50.7646 40.7143 47.3514 43.4711 42.2316C43.0773 44.7259 42.0271 47.0888 40.583 49.1893C44.6526 46.5637 47.2781 42.2316 48.0658 37.5057C48.4596 39.2123 48.5909 41.0501 48.3284 42.7567C51.6103 38.162 52.6605 32.3859 51.2164 26.8723C50.6913 24.7719 49.7724 22.8027 48.7222 20.9648C48.3284 20.1772 47.8033 19.5208 47.2781 18.8644C47.0156 18.6019 45.9654 17.6829 45.9654 17.4204C45.9654 22.2776 40.7143 25.4282 36.3822 24.1155C39.7954 23.8529 42.6835 21.2274 43.2086 17.8142C43.6024 14.401 41.502 10.8566 38.0888 9.80635Z',
+ icon: 'M45.3041 12C44.9597 12 44.6154 12 44.2711 12.1722C47.3701 14.2382 43.7546 17.3371 45.4762 19.9196C45.3041 18.198 45.9927 16.4763 47.5422 15.4433C48.0587 14.9268 48.4031 14.7547 48.4031 14.066C48.2309 12.8608 46.5092 12 45.3041 12ZM49.9526 12.8608C49.4361 15.099 48.9196 15.099 47.3701 16.6485C45.9927 17.6815 45.6484 19.4031 46.3371 20.9526C39.6226 18.3701 31.0143 16.8206 24.8163 21.297C22.406 22.8464 21.0287 25.0846 18.274 26.1176C16.5524 26.6341 14.6586 26.4619 13.6256 28.1836C12.7647 29.2166 12.7647 30.7661 13.7977 31.7991C14.1421 32.1434 14.8307 32.3156 15.0029 32.6599C15.1751 32.8321 15.1751 33.0042 15.3472 33.3486C15.6916 34.0372 16.0359 34.5537 16.3802 34.8981C16.7246 35.0702 17.5854 35.4145 17.7575 35.5867C17.9297 35.931 17.4132 37.1362 17.9297 37.3084C18.274 37.4805 19.1349 35.7589 19.307 35.7589C19.1349 36.964 18.9627 39.2022 20.34 37.4805C21.0287 36.6197 21.0287 36.2754 22.2339 36.1032C22.7504 36.1032 23.6112 36.1032 24.2998 35.931C33.0803 35.5867 40.4834 42.129 41.3443 50.9095C41.1721 49.8765 39.7948 48.327 38.5896 48.6713C38.0731 48.8435 37.9009 49.7043 37.5566 50.2208C37.2123 50.9095 36.6958 51.426 36.0071 51.9425C36.1793 50.9095 36.0071 50.0486 35.835 49.0156C35.4906 50.5651 34.802 52.9755 32.9081 52.459C31.703 52.2868 30.67 51.426 30.3257 50.2208C30.1535 48.6713 31.703 46.9497 29.1205 46.7775C23.9555 46.6053 25.1607 54.0085 28.2597 55.9023C27.571 55.9023 26.8823 56.2466 26.1937 56.4188C32.736 60.2064 40.9999 57.9683 44.7876 51.426C45.6484 49.8765 46.1649 48.327 46.5092 46.6053C47.0257 48.6713 46.8536 50.7373 46.5092 52.6311C46.3371 53.6641 45.8206 54.6971 45.4762 55.7301C44.7876 57.1074 43.9268 58.3126 42.8938 59.3456C42.2051 60.0343 41.1721 60.5508 40.8278 61.2394C43.2381 60.8951 45.4762 60.2064 47.7144 59.3456C45.3041 62.9611 42.2051 65.5436 38.7618 67.0931C46.5092 66.5766 53.3959 62.1002 57.0113 55.3858C56.4949 58.6569 55.1175 61.7559 53.2237 64.5106C58.5608 61.0672 62.0042 55.3858 63.0372 49.1878C63.5536 51.426 63.7258 53.8363 63.3815 56.0744C67.6856 50.0486 69.063 42.4733 67.1691 35.2424C66.4805 32.4877 65.2753 29.9052 63.898 27.4949C63.3815 26.4619 62.6928 25.6011 62.0042 24.7403C61.6598 24.3959 60.2825 23.1908 60.2825 22.8464C60.2825 29.2166 53.3959 33.3486 47.7144 31.6269C52.1907 31.2826 55.9784 27.8393 56.667 23.3629C57.1835 18.8866 54.4289 14.2382 49.9526 12.8608Z',
},
{
name: 'Nuxt',
- icon: 'M32.5784 45.4741H50.2199C50.7802 45.4741 51.3307 45.3325 51.8159 45.0634C52.3012 44.7943 52.7041 44.4072 52.9842 43.9409C53.2642 43.4748 53.4115 42.946 53.4113 42.4078C53.4111 41.8696 53.2633 41.3409 52.9828 40.875L41.1352 21.164C40.8552 20.6979 40.4524 20.3109 39.9672 20.0418C39.4821 19.7727 38.9317 19.631 38.3715 19.631C37.8113 19.631 37.261 19.7727 36.7758 20.0418C36.2906 20.3109 35.8878 20.6979 35.6078 21.164L32.5784 26.2073L26.6555 16.3452C26.3753 15.8792 25.9723 15.4922 25.487 15.2232C25.0017 14.9541 24.4513 14.8125 23.8909 14.8125C23.3306 14.8125 22.7802 14.9541 22.2949 15.2232C21.8096 15.4922 21.4066 15.8792 21.1263 16.3452L6.38358 40.875C6.10311 41.3409 5.95532 41.8696 5.95508 42.4078C5.95483 42.946 6.10214 43.4748 6.38219 43.9409C6.66224 44.4072 7.06515 44.7943 7.5504 45.0634C8.03564 45.3325 8.58612 45.4741 9.14645 45.4741H20.2203C24.6079 45.4741 27.8436 43.6229 30.07 40.0113L38.3706 26.2073L47.0599 40.6619H35.4754L32.5784 45.4741ZM20.0398 40.657L12.3116 40.6553L23.8961 21.3836L29.6763 31.0195L25.8062 37.4599C24.3276 39.8032 22.6479 40.657 20.0398 40.657Z',
+ icon: 'M43.9508 57.6118H68.0243C68.7889 57.6118 69.5402 57.4186 70.2023 57.0513C70.8645 56.6841 71.4143 56.1558 71.7965 55.5196C72.1786 54.8835 72.3796 54.1619 72.3793 53.4275C72.379 52.693 72.1773 51.9716 71.7945 51.3358L55.6274 24.4382C55.2453 23.8022 54.6956 23.2741 54.0336 22.9069C53.3715 22.5397 52.6205 22.3464 51.856 22.3464C51.0915 22.3464 50.3406 22.5397 49.6785 22.9069C49.0165 23.2741 48.4668 23.8022 48.0846 24.4382L43.9508 31.3203L35.8684 17.8625C35.486 17.2266 34.9361 16.6985 34.2738 16.3314C33.6116 15.9643 32.8605 15.771 32.0959 15.771C31.3313 15.771 30.5801 15.9643 29.9179 16.3314C29.2557 16.6985 28.7058 17.2266 28.3233 17.8625L8.20534 51.3358C7.82261 51.9716 7.62094 52.693 7.62061 53.4275C7.62027 54.1619 7.82129 54.8835 8.20344 55.5196C8.5856 56.1558 9.1354 56.6841 9.79758 57.0513C10.4597 57.4186 11.2109 57.6118 11.9756 57.6118H27.0869C33.0742 57.6118 37.4896 55.0856 40.5278 50.1572L51.8548 31.3203L63.7122 51.0451H47.904L43.9508 57.6118ZM26.8406 51.0384L16.2948 51.0361L32.1029 24.7379L39.9905 37.887L34.7094 46.6756C32.6917 49.8733 30.3996 51.0384 26.8406 51.0384Z',
},
{
name: 'Expo',
- icon: 'M49.6773 25.8528C49.2734 25.2916 48.7298 24.8431 48.0992 24.5507C47.4668 24.2571 46.7689 24.1288 46.0721 24.1781C45.3753 24.2274 44.7029 24.4526 44.1192 24.8322C43.5383 25.2107 43.0663 25.7314 42.7493 26.3437C42.4375 27.0011 42.3371 27.7373 42.4619 28.4528C42.5866 29.1684 42.9303 29.8289 43.4467 30.3451C44.8606 30.4554 46.2677 30.0622 47.4142 29.2365C48.556 28.4153 49.361 27.2136 49.6773 25.8528ZM37.6341 10.4122L35.0544 9.02559L23.8278 15.1508L24.7227 15.6259L26.4254 16.5022L29.5069 14.8235L37.6359 10.384L37.6341 10.4122ZM38.6732 9.98985C38.7395 10.0062 38.8004 10.039 38.8502 10.0852C38.9001 10.1314 38.9371 10.1894 38.9579 10.2538L42.719 21.1317C42.7579 21.218 42.761 21.3158 42.7278 21.4043C42.6945 21.4928 42.6275 21.5649 42.5411 21.6051C41.1096 22.3734 39.9824 23.5974 39.3421 25.0786C38.7048 26.5556 38.5949 28.2033 39.0308 29.7503C39.5538 31.4375 40.6588 32.8897 42.1532 33.8538C43.6513 34.8215 45.4482 35.2439 47.231 35.0503C47.3284 35.0446 47.4253 35.0685 47.5086 35.1188C47.592 35.1692 47.6577 35.2435 47.6971 35.3318L51.5828 46.4966C51.6077 46.5865 51.6038 46.6818 51.5716 46.7694C51.5394 46.8571 51.4806 46.9326 51.4031 46.9858L39.4614 53.8307C39.4045 53.8545 39.3434 53.8664 39.2817 53.8659C39.1714 53.886 39.0574 53.8673 38.9596 53.8131L34.7697 51.2352C34.6935 51.1961 34.6313 51.1347 34.5918 51.0593L26.4076 32.6132L13.9445 39.5637C13.8699 39.6008 13.788 39.6216 13.7045 39.6247C13.621 39.6277 13.5378 39.6129 13.4606 39.5813L10.6282 38.0012C10.5363 37.9524 10.4668 37.8708 10.4337 37.773C10.4007 37.6752 10.4066 37.5687 10.4503 37.475L22.5575 14.952C22.6028 14.8752 22.6712 14.8143 22.7532 14.7778L34.8248 8.17745C34.891 8.14308 34.9645 8.12512 35.0392 8.12512C35.1139 8.12512 35.1875 8.14308 35.2536 8.17745L38.675 9.98985H38.6732ZM23.7033 16.0412L23.1161 15.7438L11.4448 37.5278L13.5745 38.7033L23.6392 25.7965C23.6886 25.7369 23.7517 25.6899 23.8232 25.6593C23.8946 25.6287 23.9725 25.6154 24.0502 25.6205C24.1262 25.6341 24.198 25.6648 24.26 25.7102C24.3221 25.7557 24.3726 25.8147 24.4078 25.8827L35.3675 50.6335L38.296 52.4054L26.5321 18.6912L26.0322 17.287L23.6873 16.0236L23.7051 16.0412H23.7033ZM41.7529 29.0307C41.4849 28.0597 41.5602 27.0273 41.9664 26.1044C42.3743 25.1772 43.0881 24.4142 43.9911 23.9401C44.9097 23.4374 45.9655 23.2347 47.0075 23.3611C48.0495 23.4875 49.0245 23.9365 49.793 24.6439C50.2205 25.0464 50.5633 25.5287 50.8014 26.0629C51.0395 26.5971 51.1683 27.1726 51.1804 27.7563C51.1925 28.34 51.0876 28.9203 50.8717 29.4637C50.6559 30.007 50.3334 30.5028 49.9229 30.9222L49.793 31.0507C48.8819 31.8995 47.6784 32.3736 46.4267 32.3769C45.1751 32.3802 43.9691 31.9123 43.0535 31.0683C42.4513 30.5099 42.0036 29.8085 41.7529 29.0307Z',
+ icon: 'M64.4949 33.2495C63.9652 32.5135 63.2523 31.9253 62.4252 31.5418C61.5958 31.1568 60.6805 30.9886 59.7667 31.0533C58.8528 31.1179 57.971 31.4132 57.2055 31.9111C56.4437 32.4074 55.8247 33.0903 55.4088 33.8934C54.9999 34.7555 54.8684 35.721 55.032 36.6594C55.1955 37.5979 55.6463 38.4641 56.3235 39.1411C58.1778 39.2857 60.0232 38.7701 61.5269 37.6872C63.0243 36.6102 64.0799 35.0341 64.4949 33.2495ZM48.7005 12.9995L45.3172 11.1811L30.5938 19.2141L31.7675 19.8372L34.0005 20.9864L38.0418 18.7849L48.7028 12.9626L48.7005 12.9995ZM50.0632 12.4457C50.1501 12.4671 50.23 12.5101 50.2954 12.5707C50.3607 12.6313 50.4093 12.7074 50.4365 12.7918L55.3692 27.058C55.4202 27.1711 55.4243 27.2994 55.3807 27.4155C55.337 27.5315 55.2491 27.6261 55.1359 27.6787C53.2584 28.6864 51.7801 30.2916 50.9405 32.2341C50.1046 34.1713 49.9606 36.3322 50.5322 38.3611C51.218 40.5737 52.6672 42.4782 54.6272 43.7426C56.5919 45.0118 58.9485 45.5657 61.2865 45.3118C61.4143 45.3044 61.5414 45.3357 61.6507 45.4017C61.7599 45.4677 61.8462 45.5652 61.8979 45.6811L66.9939 60.3234C67.0265 60.4413 67.0214 60.5663 66.9792 60.6812C66.937 60.7961 66.8598 60.8952 66.7582 60.9649L51.0968 69.9418C51.0223 69.973 50.9421 69.9887 50.8612 69.988C50.7165 70.0144 50.5671 69.9899 50.4389 69.9188L44.9438 66.538C44.8439 66.4867 44.7624 66.4061 44.7105 66.3072L33.9772 42.1157L17.6322 51.2311C17.5343 51.2798 17.4269 51.307 17.3174 51.311C17.2079 51.315 17.0988 51.2956 16.9975 51.2541L13.2828 49.1818C13.1624 49.1178 13.0712 49.0108 13.0278 48.8826C12.9845 48.7544 12.9922 48.6146 13.0495 48.4918L28.9278 18.9534C28.9873 18.8527 29.077 18.7728 29.1845 18.7249L45.0162 10.0687C45.1029 10.0237 45.1994 10.0001 45.2973 10.0001C45.3953 10.0001 45.4918 10.0237 45.5785 10.0687L50.0655 12.4457H50.0632ZM30.4305 20.3818L29.6605 19.9918L14.3538 48.5611L17.1468 50.1026L30.3465 33.1757C30.4113 33.0975 30.494 33.0359 30.5877 32.9957C30.6815 32.9556 30.7836 32.9382 30.8855 32.9449C30.9852 32.9627 31.0793 33.0029 31.1607 33.0626C31.242 33.1222 31.3084 33.1996 31.3545 33.2887L45.7278 65.7488L49.5685 68.0726L34.1405 23.8572L33.4848 22.0157L30.4095 20.3587L30.4328 20.3818H30.4305ZM54.1022 37.4172C53.7506 36.1438 53.8494 34.7898 54.3822 33.5795C54.9172 32.3635 55.8532 31.3629 57.0375 30.7411C58.2422 30.0817 59.6268 29.816 60.9934 29.9818C62.36 30.1476 63.6387 30.7364 64.6465 31.6641C65.2072 32.192 65.6567 32.8245 65.969 33.5251C66.2813 34.2257 66.4503 34.9805 66.4661 35.746C66.482 36.5114 66.3444 37.2725 66.0613 37.9851C65.7782 38.6977 65.3553 39.3478 64.8169 39.898L64.6465 40.0664C63.4517 41.1796 61.8733 41.8015 60.2318 41.8058C58.5903 41.81 57.0086 41.1964 55.8078 40.0895C55.0181 39.3573 54.4309 38.4373 54.1022 37.4172Z',
},
{
name: 'Flutter',
- icon: 'M46.5067 10.3828L34.3509 10.3962L14.75 29.9971L20.7974 36.0519L26.1125 30.7666L46.5067 10.3828Z M34.6996 28.4653C34.5272 28.4573 34.3493 28.4491 34.2378 28.5965L23.7856 39.0471L29.7894 45.0142L29.7825 45.021L34.079 49.3212C34.1072 49.3462 34.1352 49.3741 34.1637 49.4026C34.2813 49.5201 34.4074 49.6462 34.5895 49.6055C36.5743 49.601 38.5591 49.6017 40.544 49.6025C42.529 49.6032 44.5142 49.604 46.4998 49.5995L35.9333 39.0234L46.4963 28.467L34.906 28.464C34.8415 28.4719 34.7711 28.4686 34.6996 28.4653Z',
+ icon: 'M60 14L43.5404 14.0178L17 39.9987L25.1885 48.0244L32.3854 41.0187L60 14Z M44.0127 37.9683C43.7791 37.9578 43.5384 37.9469 43.3873 38.1422L29.2346 51.9946L37.364 59.9039L37.3546 59.9129L43.1723 65.6128C43.2105 65.6459 43.2484 65.683 43.287 65.7208C43.4462 65.8765 43.617 66.0436 43.8636 65.9896C46.5511 65.9837 49.2385 65.9847 51.9262 65.9857C54.614 65.9867 57.3021 65.9877 59.9906 65.9818L45.6831 51.9631L59.9859 37.9706L44.2922 37.9666C44.2048 37.977 44.1094 37.9727 44.0127 37.9683Z',
},
{
name: 'Javascript',
- icon: 'M10.0883 10.5883H50.9118V51.4118H10.0883V10.5883ZM41.2961 44.8122C39.404 44.8122 38.3342 43.8254 37.5119 42.4827L34.3944 44.2939C35.5206 46.5191 37.8223 48.2168 41.3849 48.2168C45.0286 48.2168 47.7417 46.3247 47.7417 42.8709C47.7417 39.6672 45.9014 38.2422 42.642 36.8445L41.683 36.4337C40.0371 35.7209 39.3243 35.255 39.3243 34.1042C39.3243 33.173 40.0364 32.4602 41.1601 32.4602C42.2616 32.4602 42.9712 32.9248 43.6289 34.1042L46.6162 32.1861C45.3526 29.9635 43.5991 29.1146 41.1601 29.1146C37.7341 29.1146 35.542 31.3048 35.542 34.1819C35.542 37.3053 37.381 38.7827 40.1492 39.962L41.1082 40.3735C42.8578 41.1388 43.9011 41.6047 43.9011 42.9201C43.9011 44.0178 42.8857 44.8122 41.2961 44.8122ZM26.4292 44.7883C25.1112 44.7883 24.563 43.8843 23.9604 42.8151L20.8377 44.7056C21.7423 46.6201 23.5211 48.2097 26.5925 48.2097C29.9919 48.2097 32.3208 46.4018 32.3208 42.4296V29.3336H28.4847V42.3777C28.4847 44.2951 27.6896 44.7883 26.4292 44.7883Z',
+ icon: 'M13.7305 13.2305H67.2695V66.7695H13.7305V13.2305ZM54.6588 58.1144C52.1773 58.1144 50.7743 56.8201 49.6959 55.0593L45.6073 57.4345C47.0843 60.3528 50.1029 62.5794 54.7753 62.5794C59.5538 62.5794 63.1121 60.0979 63.1121 55.5683C63.1121 51.3668 60.6986 49.498 56.4239 47.6649L55.1662 47.1261C53.0076 46.1913 52.0728 45.5803 52.0728 44.071C52.0728 42.8498 53.0068 41.915 54.4804 41.915C55.9251 41.915 56.8556 42.5243 57.7182 44.071L61.6359 41.5555C59.9788 38.6406 57.6791 37.5273 54.4804 37.5273C49.9873 37.5273 47.1124 40.3998 47.1124 44.173C47.1124 48.2691 49.5242 50.2068 53.1546 51.7534L54.4124 52.2931C56.7069 53.2967 58.0751 53.9077 58.0751 55.6329C58.0751 57.0725 56.7435 58.1144 54.6588 58.1144ZM35.1613 58.0829C33.4327 58.0829 32.7138 56.8974 31.9234 55.4952L27.8281 57.9746C29.0145 60.4854 31.3473 62.57 35.3754 62.57C39.8336 62.57 42.8879 60.199 42.8879 54.9896V37.8146H37.8569V54.9216C37.8569 57.4362 36.8142 58.0829 35.1613 58.0829Z',
},
{
name: 'LangChain',
- icon: 'M56.3727 18.9388C53.2026 15.6624 47.8119 15.972 43.5005 20.7931C41.8196 22.6725 40.7651 24.392 40.296 25.9926C38.2576 26.4424 36.1447 27.6907 34.2427 29.8182C29.9303 34.6403 29.7406 38.4112 32.9746 41.8112C36.2086 45.2112 40.3932 45.2112 45.5303 40.575C47.646 38.6659 48.8244 36.7456 49.2592 34.9182C50.9601 34.4405 52.8031 33.3409 54.7881 31.5489C59.9243 26.9137 59.5439 22.2152 56.3727 18.9388ZM43.3737 38.3498C39.8708 41.5119 37.4462 41.9692 35.2409 39.6502C33.0356 37.3311 33.5848 35.1478 36.5252 31.8594C37.7151 30.5284 38.9574 29.6389 40.1568 29.1983C40.4428 30.454 41.1426 31.6419 42.2324 32.787C43.3517 33.9637 44.5845 34.7324 45.9317 35.0437C45.4941 36.0857 44.6589 37.1899 43.3737 38.3498ZM43.4947 29.2169C43.9934 29.4381 44.4615 29.7662 44.8858 30.2049C45.3549 30.6901 45.7134 31.1985 45.9527 31.7311C45.4521 31.4885 44.9707 31.1204 44.4987 30.6241C44.0506 30.1529 43.7179 29.6872 43.4947 29.2169ZM52.6315 29.3247C51.3815 30.4531 50.2698 31.2348 49.2563 31.6707C48.9217 30.3137 48.1742 29.0598 47.1149 27.9649C46.1195 26.9369 44.9058 26.2621 43.5758 25.9684C44.001 25.025 44.7409 23.9998 45.783 22.8342C48.7243 19.5458 51.9803 18.9463 54.1436 21.1807C56.307 23.4151 56.1353 26.1617 52.6315 29.3247Z M29.0426 41.0695C29.6137 40.76 27.7107 39.4001 26.3158 38.0403C21.4962 29.386 18.5797 26.7278 16.6137 25.368C14.6477 24.0081 13.8869 23.0192 12.1745 20.175C10.4631 17.3318 8.68785 17.2695 7.67339 17.2082C6.65894 17.1459 4.05894 17.394 3.80532 19.4956C1.71254 20.7318 2.11489 23.8018 3.04449 24.5026C3.00254 24.0081 3.07595 23.6475 3.34005 23.4309C3.80532 23.9663 4.48131 24.1727 6.00298 24.049C7.39785 25.9452 6.93258 25.4089 7.77827 29.2002C8.62396 32.9915 8.4123 33.0742 12.2594 36.041C12.0906 40.1623 13.0622 39.7087 13.0622 39.7087C13.0622 39.7087 13.0622 40.0796 12.9354 40.8213C11.879 41.5221 11.244 41.1513 10.6529 41.0685C10.0608 40.9858 9.46966 40.7804 8.87758 41.1094C8.62396 41.1094 7.69437 41.4394 7.73632 42.0984C7.82118 41.8921 8.11674 41.7684 8.58201 41.7275C8.70882 42.0575 9.21605 42.0984 9.21605 42.0984C9.21605 42.0984 8.87758 42.6338 9.258 42.881C9.258 42.6747 9.42675 42.5101 9.80717 42.3865C10.0608 42.5929 10.1456 42.7983 10.7797 42.4693C11.4137 42.1393 11.4986 41.892 13.4855 41.8103C12.6398 42.0166 12.8095 42.9637 12.8095 42.9637C12.8095 42.9637 13.2319 42.222 14.0356 42.6756C14.8394 43.1292 15.092 42.1188 16.424 42.4284C15.4095 42.4906 15.4095 43.7882 15.4095 43.7882C15.4095 43.7882 15.6002 43.0465 16.1704 43.5409C16.7405 44.0354 17.3116 42.9842 18.39 42.552C19.4683 42.1188 20.0384 43.1087 20.2921 42.4897C20.5457 41.8716 21.3704 42.552 21.3704 42.552C21.3704 42.552 21.5611 41.8103 20.2291 41.6866C18.8972 41.563 18.5806 41.7489 18.2632 41.0063C19.1508 40.8204 19.1508 38.7811 19.1508 38.7811C19.1508 38.7811 21.5601 39.2756 23.8436 39.6465C24.9219 40.9449 25.5559 41.8103 26.824 41.9339C27.458 42.3047 28.2828 42.4906 28.9797 42.3047C31.1993 42.8001 30.6282 42.2443 29.0426 41.0695ZM6.65894 20.4223C6.1336 20.4223 5.70742 20.0068 5.70742 19.4946C5.70742 18.9825 6.1336 18.567 6.65894 18.567C7.18428 18.567 7.61047 18.9825 7.61047 19.4946C7.61047 20.0068 7.18428 20.4223 6.65894 20.4223Z',
+ icon: 'M73.9315 24.8378C69.7739 20.5409 62.7041 20.9468 57.0498 27.2696C54.8454 29.7344 53.4624 31.9895 52.8472 34.0886C50.1739 34.6786 47.403 36.3156 44.9084 39.1059C39.2529 45.4299 39.004 50.3753 43.2454 54.8343C47.4868 59.2933 52.9748 59.2933 59.7119 53.2131C62.4866 50.7093 64.0321 48.1909 64.6023 45.7944C66.833 45.1678 69.25 43.7258 71.8533 41.3756C78.5892 35.2966 78.0903 29.1347 73.9315 24.8378ZM56.8835 50.2949C52.2896 54.4418 49.1098 55.0415 46.2176 52.0002C43.3254 48.9589 44.0457 46.0955 47.9019 41.7827C49.4624 40.0372 51.0917 38.8706 52.6647 38.2928C53.0398 39.9397 53.9576 41.4975 55.3868 42.9993C56.8548 44.5425 58.4715 45.5506 60.2384 45.959C59.6644 47.3254 58.5691 48.7736 56.8835 50.2949ZM57.0423 38.3172C57.6963 38.6073 58.3102 39.0376 58.8667 39.613C59.4819 40.2493 59.952 40.9161 60.2659 41.6145C59.6094 41.2964 58.978 40.8137 58.359 40.1627C57.7713 39.5447 57.3349 38.934 57.0423 38.3172ZM69.0249 38.4586C67.3857 39.9384 65.9277 40.9636 64.5985 41.5353C64.1596 39.7556 63.1793 38.1112 61.7901 36.6752C60.4847 35.3271 58.8929 34.4421 57.1486 34.0569C57.7063 32.8196 58.6766 31.4751 60.0433 29.9465C63.9008 25.6338 68.1709 24.8475 71.0081 27.7779C73.8452 30.7084 73.6201 34.3104 69.0249 38.4586Z M38.0887 53.8616C38.8377 53.4557 36.3419 51.6723 34.5126 49.8889C28.1918 38.5391 24.3668 35.0528 21.7885 33.2694C19.2102 31.4861 18.2124 30.1891 15.9666 26.459C13.7222 22.7302 11.3939 22.6485 10.0635 22.568C8.73307 22.4864 5.32323 22.8118 4.99062 25.5679C2.24599 27.1892 2.77366 31.2155 3.9928 32.1346C3.93778 31.4861 4.03407 31.0131 4.38043 30.7291C4.99062 31.4312 5.87716 31.7018 7.8728 31.5397C9.70213 34.0264 9.09194 33.3231 10.201 38.2953C11.3102 43.2675 11.0326 43.3759 16.0779 47.2669C15.8566 52.6719 17.1308 52.077 17.1308 52.077C17.1308 52.077 17.1308 52.5634 16.9645 53.5361C15.579 54.4552 14.7463 53.9688 13.971 53.8604C13.1945 53.7519 12.4193 53.4825 11.6428 53.914C11.3102 53.914 10.091 54.3467 10.146 55.211C10.2573 54.9404 10.6449 54.7782 11.2551 54.7246C11.4214 55.1573 12.0866 55.211 12.0866 55.211C12.0866 55.211 11.6428 55.9131 12.1417 56.2374C12.1417 55.9667 12.363 55.751 12.8619 55.5889C13.1945 55.8595 13.3058 56.1289 14.1373 55.6974C14.9688 55.2646 15.0801 54.9404 17.6859 54.8331C16.5768 55.1037 16.7994 56.3458 16.7994 56.3458C16.7994 56.3458 17.3533 55.3731 18.4074 55.968C19.4615 56.5628 19.7929 55.2378 21.5397 55.6437C20.2093 55.7254 20.2093 57.4271 20.2093 57.4271C20.2093 57.4271 20.4593 56.4543 21.2071 57.1028C21.9548 57.7513 22.7038 56.3727 24.118 55.8058C25.5322 55.2378 26.28 56.536 26.6126 55.7242C26.9452 54.9136 28.0268 55.8058 28.0268 55.8058C28.0268 55.8058 28.2768 54.8331 26.53 54.671C24.7832 54.5089 24.3681 54.7527 23.9517 53.7787C25.1158 53.5349 25.1158 50.8605 25.1158 50.8605C25.1158 50.8605 28.2756 51.509 31.2703 51.9953C32.6845 53.6982 33.516 54.8331 35.1791 54.9952C36.0106 55.4816 37.0922 55.7254 38.0062 55.4816C40.9172 56.1313 40.1682 55.4024 38.0887 53.8616ZM8.73307 26.7833C8.0441 26.7833 7.48517 26.2384 7.48517 25.5667C7.48517 24.8951 8.0441 24.3502 8.73307 24.3502C9.42204 24.3502 9.98097 24.8951 9.98097 25.5667C9.98097 26.2384 9.42204 26.7833 8.73307 26.7833Z',
},
{
name: 'OpenAI',
- icon: 'M49.4036 27.3812C50.4001 24.3917 50.058 21.1197 48.4667 18.3979C46.0721 14.2335 41.2533 12.0918 36.5534 13.0883C34.4562 10.7383 31.4518 9.39979 28.2989 9.41467C23.4949 9.41467 19.2264 12.5082 17.7391 17.0742C14.6455 17.7138 11.9833 19.6473 10.4216 22.3839C8.01221 26.5482 8.5625 31.7835 11.7899 35.353C10.7934 38.3425 11.1355 41.6145 12.7269 44.3214C15.1215 48.5007 19.9403 50.6425 24.655 49.646C26.7373 51.996 29.7416 53.3492 32.8946 53.3343C37.6985 53.3343 41.967 50.2409 43.4544 45.6749C46.5479 45.0354 49.2101 43.1019 50.7571 40.3652C53.1812 36.2009 52.631 30.9656 49.4036 27.3961V27.3812ZM45.9828 19.8406C46.9346 21.5064 47.2916 23.4547 46.9644 25.3436C46.9048 25.299 46.786 25.2394 46.7116 25.1948L37.9664 20.1381C37.5201 19.8852 36.9699 19.8852 36.5236 20.1381L26.2761 26.0575V21.7146L34.7387 16.8214C38.6801 14.5458 43.7072 15.8993 45.9828 19.8406ZM26.2761 28.8684L30.5893 26.3699L34.9025 28.8684V33.8509L30.5893 36.3495L26.2761 33.8509V28.8684ZM28.284 12.2851C30.2174 12.2851 32.0767 12.9544 33.5639 14.1889C33.5044 14.2186 33.3855 14.293 33.2962 14.3376L24.551 19.3795C24.1047 19.6324 23.837 20.1083 23.837 20.6289V32.4677L20.0742 30.2963V20.5099C20.0742 15.9588 23.7478 12.2851 28.2989 12.2703L28.284 12.2851ZM12.9203 23.8265C13.887 22.1608 15.3892 20.8817 17.2037 20.2124V30.6086C17.2037 31.1291 17.4714 31.5902 17.9176 31.8579L28.1503 37.7625L24.3724 39.9487L15.9246 35.0704C11.9981 32.7949 10.6447 27.7677 12.9203 23.8265ZM15.2256 42.9084C14.2588 41.2575 13.9168 39.2943 14.244 37.4055C14.3035 37.4502 14.4224 37.5097 14.4968 37.5543L23.2421 42.611C23.6883 42.8638 24.2386 42.8638 24.6847 42.611L34.9174 36.6916V41.0345L26.4547 45.9128C22.5133 48.1735 17.4863 46.8349 15.2107 42.9084H15.2256ZM32.9095 50.4639C30.9909 50.4639 29.117 49.7946 27.6444 48.5602C27.704 48.5304 27.8377 48.456 27.9121 48.4114L36.6576 43.3696C37.1036 43.1168 37.3861 42.6408 37.3713 42.1203V30.2963L41.1342 32.4677V42.2391C41.1342 46.7902 37.4457 50.4788 32.9095 50.4788V50.4639ZM48.2881 38.9224C47.3213 40.5882 45.8044 41.8673 44.0046 42.5217V32.1256C44.0046 31.6051 43.737 31.1291 43.2907 30.8763L33.0434 24.9569L36.8062 22.7854L45.2688 27.6638C49.2101 29.9393 50.5487 34.9665 48.2732 38.9076L48.2881 38.9224Z',
+ icon: 'M66.1943 35.3654C67.5556 31.2814 67.0883 26.8114 64.9143 23.0932C61.643 17.4041 55.0599 14.4782 48.6394 15.8396C45.7745 12.6293 41.6702 10.8007 37.3628 10.821C30.8 10.821 24.9687 15.0472 22.9369 21.2848C18.7107 22.1585 15.0737 24.7999 12.9403 28.5384C9.64875 34.2275 10.4005 41.3796 14.8096 46.2559C13.4483 50.3399 13.9156 54.8099 16.0896 58.5078C19.3608 64.2172 25.9439 67.143 32.3848 65.7817C35.2294 68.992 39.3336 70.841 43.6411 70.8206C50.2039 70.8206 56.0352 66.5944 58.067 60.3568C62.2932 59.4831 65.9302 56.8417 68.0433 53.1032C71.3551 47.4141 70.6034 40.2621 66.1943 35.3857V35.3654ZM61.5211 25.064C62.8215 27.3397 63.3091 30.0014 62.8621 32.5818C62.7809 32.5208 62.6183 32.4395 62.5167 32.3786L50.5696 25.4704C49.9601 25.125 49.2083 25.125 48.5987 25.4704L34.5995 33.557V27.6241L46.1606 20.9394C51.5449 17.8307 58.4124 19.6797 61.5211 25.064ZM34.5995 37.3972L40.4918 33.9837L46.3841 37.3972V44.2038L40.4918 47.6172L34.5995 44.2038V37.3972ZM37.3425 14.7424C39.9838 14.7424 42.5236 15.6567 44.5554 17.3431C44.4741 17.3837 44.3116 17.4853 44.1897 17.5463L32.2426 24.4342C31.633 24.7796 31.2673 25.4298 31.2673 26.1409V42.3142L26.1268 39.3477V25.9784C26.1268 19.761 31.1454 14.7424 37.3628 14.7221L37.3425 14.7424ZM16.3538 30.5093C17.6744 28.2337 19.7266 26.4863 22.2054 25.572V39.7744C22.2054 40.4855 22.5711 41.1154 23.1807 41.4811L37.1596 49.5475L31.9988 52.5342L20.458 45.8699C15.094 42.7612 13.2451 35.8936 16.3538 30.5093ZM19.5031 56.5776C18.1824 54.3223 17.7151 51.6402 18.1621 49.0598C18.2433 49.1208 18.4059 49.2021 18.5075 49.263L30.4546 56.1712C31.0641 56.5166 31.8159 56.5166 32.4255 56.1712L46.4044 48.0846V54.0175L34.8433 60.6819C29.459 63.7702 22.5914 61.9416 19.4828 56.5776H19.5031ZM43.6614 66.8992C41.0404 66.8992 38.4803 65.9849 36.4688 64.2985C36.5501 64.2579 36.7329 64.1563 36.8345 64.0953L48.7816 57.2074C49.3912 56.862 49.7772 56.2118 49.7569 55.5007V39.3477L54.8974 42.3142V55.6632C54.8974 61.8806 49.8585 66.9195 43.6614 66.9195V66.8992ZM64.6704 51.1323C63.3498 53.4079 61.2773 55.1553 58.8188 56.0493V41.8469C58.8188 41.1357 58.4531 40.4856 57.8435 40.1401L43.8443 32.0535L48.9848 29.087L60.5459 35.7514C65.9302 38.8601 67.7588 45.7276 64.6501 51.112L64.6704 51.1323Z',
+ },
+ {
+ name: 'Postgres',
+ icon: 'M71.4637 46.4582C71.0835 45.3068 70.0875 44.5047 68.7993 44.3121C68.1919 44.2214 67.4963 44.2601 66.6732 44.4298C65.2385 44.7258 64.1741 44.8384 63.3973 44.8604C66.3293 39.9098 68.7136 34.2643 70.0861 28.9501C72.3055 20.3574 71.1195 16.4428 69.7336 14.6721C66.0658 9.98554 60.7146 7.46771 54.2585 7.39053C50.8147 7.3485 47.7912 8.02848 46.2142 8.51734C44.7457 8.25841 43.1666 8.11372 41.5098 8.08692C38.4046 8.03742 35.6606 8.71432 33.316 10.1056C32.0177 9.66686 29.9347 9.04809 27.5289 8.65311C21.8705 7.72415 17.3102 8.44807 13.9746 10.8045C9.93542 13.6577 8.06286 18.6149 8.40923 25.5385C8.51907 27.7368 9.74884 34.4249 11.685 40.7679C12.7977 44.4136 13.9843 47.4412 15.2117 49.7672C16.9523 53.0655 18.8148 55.0079 20.9057 55.7053C22.0777 56.0959 24.207 56.3692 26.4468 54.5042C26.7306 54.8478 27.1092 55.1895 27.6119 55.5067C28.2502 55.9093 29.0308 56.2383 29.8102 56.4332C32.6196 57.1356 35.2511 56.9598 37.4961 55.9755C37.5099 56.3747 37.5206 56.7563 37.5296 57.0856C37.5446 57.62 37.5592 58.1439 37.5788 58.6338C37.7118 61.9469 37.9372 64.5228 38.605 66.3251C38.6417 66.4244 38.691 66.5754 38.7432 66.7355C39.0762 67.7557 39.6334 69.4633 41.0507 70.8009C42.5186 72.1862 44.2939 72.6112 45.9198 72.611C46.7353 72.611 47.5134 72.5041 48.1957 72.3578C50.6285 71.8366 53.3912 71.0422 55.3897 68.1966C57.2791 65.5064 58.1976 61.4546 58.3638 55.0701C58.3854 54.8897 58.4053 54.7173 58.4245 54.553C58.4374 54.4421 58.4505 54.3288 58.4639 54.2157L58.9091 54.2548L59.0238 54.2626C61.5015 54.3755 64.531 53.85 66.3916 52.9858C67.8618 52.3035 72.5729 49.8164 71.4637 46.4582ZM35.0666 27.4933C34.4029 27.4009 33.8016 27.4864 33.4974 27.7166C33.3262 27.8462 33.2733 27.9963 33.2591 28.0997C33.2209 28.3735 33.4127 28.676 33.5305 28.8322C33.8638 29.274 34.3509 29.5778 34.833 29.6447C34.9029 29.6543 34.9723 29.659 35.0415 29.659C35.8455 29.659 36.5763 29.0331 36.6407 28.571C36.7213 27.9924 35.8812 27.6066 35.0666 27.4933ZM57.0597 27.5116C56.9965 27.0581 56.1891 26.9287 55.4231 27.0352C54.6583 27.1418 53.9165 27.487 53.9785 27.9416C54.0283 28.2952 54.6664 28.8987 55.4221 28.8985C55.4858 28.8985 55.5502 28.8943 55.6151 28.8852C56.1195 28.8154 56.4896 28.4951 56.6653 28.3104C56.9332 28.0292 57.088 27.7155 57.0597 27.5116ZM69.6788 46.939C69.3979 46.0895 68.4938 45.8161 66.9916 46.1264C62.5315 47.0469 60.9343 46.4092 60.4097 46.023C63.8766 40.7416 66.7285 34.3579 68.2669 28.4014C68.9958 25.58 69.3984 22.9598 69.4313 20.8242C69.4676 18.4798 69.0685 16.7573 68.245 15.7051C64.925 11.4629 60.0527 9.18745 54.1545 9.12491C50.0998 9.07937 46.674 10.1171 46.0098 10.4089C44.6112 10.061 43.0864 9.84751 41.4267 9.82027C38.3826 9.77107 35.7516 10.4998 33.5731 11.9852C32.6269 11.6331 30.1814 10.7936 27.1909 10.3119C22.0205 9.47933 17.9121 10.1101 14.9801 12.1873C11.4816 14.6658 9.8665 19.0964 10.1795 25.3555C10.2848 27.4615 11.4845 33.9396 13.3782 40.1437C15.8707 48.3092 18.5799 52.9318 21.4308 53.8826C21.7644 53.9939 22.1493 54.0718 22.5734 54.0718C23.6134 54.0718 24.8882 53.603 26.2148 52.0083C28.4182 49.3575 30.4755 47.1362 31.2338 46.3291C32.3545 46.9308 33.5854 47.2666 34.8448 47.3003C34.847 47.3332 34.8503 47.3662 34.8532 47.399C34.6006 47.6986 34.3934 47.9612 34.2168 48.1854C33.3443 49.2929 33.1627 49.5234 30.3543 50.1018C29.5556 50.2665 27.4336 50.7038 27.4027 52.1911C27.3689 53.816 29.9106 54.4985 30.2003 54.5708C31.2095 54.8234 32.1816 54.9481 33.1088 54.9481C35.3639 54.9479 37.3482 54.2069 38.9342 52.7729C38.8853 58.5659 39.1269 64.2742 39.8224 66.0135C40.392 67.4372 41.7837 70.9169 46.1798 70.9166C46.8247 70.9166 47.5348 70.8417 48.3159 70.6743C52.9037 69.6905 54.8959 67.6629 55.6667 63.1925C56.0791 60.8034 56.7869 55.0982 57.1196 52.038C57.8222 52.2571 58.7267 52.3575 59.7044 52.3573C61.7436 52.3573 64.0965 51.9241 65.5722 51.2391C67.2298 50.4694 70.2212 48.5801 69.6788 46.939ZM58.7531 26.26C58.7378 27.1635 58.6135 27.9836 58.4817 28.8398C58.3399 29.7606 58.1932 30.7125 58.1563 31.8682C58.1198 32.9928 58.2602 34.1621 58.3961 35.2927C58.6706 37.5765 58.9522 39.9278 57.8619 42.2479C57.6924 41.947 57.5288 41.6186 57.3789 41.255C57.2434 40.9265 56.9492 40.3988 56.5419 39.6684C54.9567 36.8258 51.2447 30.1689 53.1449 27.4525C53.7108 26.6437 55.1472 25.8126 58.7531 26.26ZM54.3825 10.9546C59.6672 11.0713 63.8474 13.0483 66.8072 16.8303C69.0773 19.7312 66.5776 32.9311 59.3412 44.3186C59.2697 44.2278 59.1969 44.1361 59.1216 44.0421C59.0916 44.0045 59.061 43.9663 59.0301 43.9276C60.9 40.8393 60.5343 37.7839 60.2089 35.0748C60.0752 33.963 59.9489 32.913 59.981 31.9267C60.0143 30.8811 60.1525 29.9846 60.2861 29.1176C60.4506 28.0491 60.6177 26.9436 60.5715 25.6404C60.6059 25.5037 60.6199 25.3422 60.6018 25.1505C60.4841 23.9006 59.0573 20.1606 56.1491 16.7751C54.5584 14.9236 52.2385 12.8514 49.071 11.4538C50.4334 11.1715 52.2966 10.9081 54.3825 10.9546ZM24.8109 50.841C23.3494 52.5982 22.3401 52.2615 22.0082 52.1509C19.8455 51.4295 17.3363 46.8588 15.124 39.6107C13.2097 33.3391 12.0909 27.0326 12.0025 25.2642C11.7229 19.6714 13.0786 15.7736 16.0322 13.679C20.8388 10.2703 28.7414 12.3105 31.9168 13.3454C31.8711 13.3903 31.8237 13.4325 31.7784 13.4782C26.5677 18.7407 26.6914 27.7318 26.7041 28.2813C26.7037 28.4934 26.7214 28.7936 26.7458 29.2066C26.8355 30.7187 27.0023 33.5333 26.5566 36.7207C26.1423 39.6826 27.0553 42.5816 29.0611 44.6744C29.2688 44.891 29.4855 45.0945 29.7095 45.2859C28.8165 46.2421 26.8762 48.3564 24.8109 50.841ZM30.3794 43.4113C28.7627 41.7246 28.0285 39.3783 28.3648 36.9735C28.8355 33.6064 28.6616 30.6739 28.5683 29.0985C28.5553 28.8781 28.5437 28.685 28.5369 28.5325C29.2981 27.8576 32.8258 25.9674 35.3414 26.5438C36.4896 26.8068 37.1889 27.5885 37.4798 28.9332C38.985 35.8946 37.6791 38.7961 36.6297 41.1277C36.4134 41.608 36.2091 42.062 36.0346 42.5319L35.8994 42.8949C35.557 43.813 35.2384 44.6666 35.041 45.4772C33.3225 45.4719 31.6506 44.7379 30.3794 43.4113ZM30.6429 52.7999C30.1412 52.6745 29.6898 52.4567 29.425 52.2762C29.6461 52.172 30.0398 52.0305 30.7224 51.89C34.0263 51.2097 34.5364 50.7297 35.6506 49.315C35.9062 48.9908 36.1957 48.623 36.5967 48.1752C36.5965 48.1753 36.5968 48.1749 36.5967 48.1752C37.1941 47.5065 37.4677 47.6192 37.9631 47.8247C38.3647 47.9909 38.7557 48.4941 38.9143 49.048C38.9893 49.3096 39.0737 49.8062 38.7979 50.1924C36.4703 53.4513 33.0787 53.4094 30.6429 52.7999ZM47.933 68.8895C43.8913 69.7555 42.4603 67.6933 41.5173 65.3358C40.9086 63.8137 40.6095 56.9505 40.8218 49.3714C40.8245 49.2705 40.8102 49.1731 40.7824 49.0815C40.7582 48.9048 40.721 48.7259 40.6694 48.5459C40.3537 47.4431 39.5847 46.5206 38.662 46.1382C38.2954 45.9864 37.6225 45.7077 36.8139 45.9145C36.9864 45.204 37.2855 44.4019 37.6096 43.5331L37.7456 43.1676C37.8988 42.7556 38.0908 42.3288 38.2941 41.8772C39.3922 39.4376 40.8962 36.0962 39.2639 28.5476C38.6525 25.7203 36.6109 24.3396 33.5159 24.6602C31.6603 24.8522 29.9629 25.6009 29.1163 26.0302C28.9343 26.1224 28.7677 26.2115 28.6122 26.2983C28.8484 23.4495 29.7414 18.1258 33.0811 14.7575C35.1837 12.6368 37.9842 11.5895 41.3963 11.6459C48.1192 11.756 52.4304 15.2062 54.8634 18.0812C56.9599 20.5588 58.0952 23.0544 58.5484 24.4003C55.1411 24.0539 52.8238 24.7266 51.6489 26.406C49.0933 30.0591 53.0471 37.1498 54.9474 40.5575C55.2958 41.1821 55.5966 41.7218 55.6912 41.9511C56.31 43.4508 57.1111 44.452 57.696 45.1829C57.8753 45.4069 58.0492 45.6241 58.1815 45.8137C57.1496 46.1113 55.2959 46.7986 55.4648 50.2346C55.3286 51.9588 54.3596 60.0307 53.8676 62.8826C53.2179 66.6503 51.8314 68.0537 47.933 68.8895ZM64.8034 49.5834C63.7482 50.0733 61.9822 50.4408 60.3046 50.5195C58.4517 50.6064 57.5085 50.312 57.2867 50.131C57.1824 47.9899 57.9795 47.7661 58.8229 47.5293C58.9555 47.4919 59.0848 47.4557 59.2096 47.4121C59.2872 47.4752 59.3722 47.5379 59.4651 47.5993C60.9544 48.5823 63.6108 48.6883 67.3608 47.9143C67.3745 47.9114 67.3883 47.9087 67.4019 47.9059C66.8962 48.3788 66.0307 49.0136 64.8034 49.5834Z',
},
{
name: 'React',
icon: 'M45.537 23.9397C45.0689 23.7786 44.5839 23.6261 44.0846 23.482C44.1667 23.147 44.242 22.8164 44.309 22.4914C45.4084 17.1546 44.6895 12.8553 42.2349 11.4397C39.8812 10.0824 36.0319 11.4976 32.1443 14.8809C31.7705 15.2062 31.3956 15.5507 31.0209 15.9117C30.7712 15.6728 30.5219 15.442 30.2733 15.2212C26.199 11.6036 22.1151 10.0791 19.6628 11.4988C17.3114 12.86 16.615 16.9018 17.6047 21.9595C17.7002 22.448 17.812 22.9469 17.9383 23.4541C17.3603 23.6182 16.8023 23.7931 16.2684 23.9792C11.4917 25.6445 8.4411 28.2546 8.4411 30.9619C8.4411 33.758 11.7159 36.5626 16.6912 38.2631C17.0839 38.3973 17.4913 38.5242 17.9111 38.6447C17.7749 39.1932 17.6563 39.7308 17.5568 40.2552C16.6132 45.2251 17.3501 49.1714 19.6953 50.524C22.1176 51.9209 26.1831 50.4851 30.1417 47.0247C30.4546 46.7512 30.7686 46.4611 31.0832 46.1571C31.4909 46.5497 31.898 46.9213 32.3029 47.2698C36.1374 50.5695 39.9245 51.9019 42.2675 50.5455C44.6875 49.1446 45.4739 44.9053 44.4529 39.7475C44.3749 39.3536 44.2841 38.9512 44.1822 38.5416C44.4677 38.4572 44.748 38.3701 45.0213 38.2795C50.1936 36.5658 53.5589 33.7954 53.5589 30.9619C53.5589 28.2448 50.4099 25.6172 45.537 23.9397ZM44.4151 36.45C44.1684 36.5316 43.9153 36.6106 43.6573 36.6871C43.0863 34.8794 42.3157 32.9572 41.3726 30.9713C42.2726 29.0326 43.0134 27.135 43.5684 25.3391C44.03 25.4726 44.4779 25.6135 44.9096 25.7621C49.0847 27.1994 51.6315 29.3245 51.6315 30.9619C51.6315 32.706 48.881 34.9702 44.4151 36.45ZM42.5621 40.1219C43.0136 42.4026 43.0781 44.4646 42.779 46.0765C42.5103 47.525 41.9699 48.4907 41.3017 48.8775C39.8798 49.7005 36.8392 48.6307 33.5599 45.8088C33.184 45.4853 32.8053 45.1399 32.4255 44.7743C33.6968 43.3839 34.9673 41.7676 36.2074 39.9724C38.3885 39.7789 40.4491 39.4624 42.3179 39.0305C42.4099 39.4017 42.4916 39.7658 42.5621 40.1219ZM23.8228 48.7352C22.4336 49.2258 21.3272 49.2399 20.6584 48.8543C19.2352 48.0334 18.6436 44.8649 19.4506 40.6146C19.543 40.1279 19.653 39.6279 19.7799 39.1168C21.6281 39.5255 23.6736 39.8196 25.86 39.9968C27.1084 41.7534 28.4156 43.368 29.733 44.7818C29.4452 45.0597 29.1585 45.3242 28.8734 45.5735C27.1229 47.1036 25.3687 48.1892 23.8228 48.7352ZM17.3146 36.4393C15.1146 35.6874 13.2978 34.7101 12.0524 33.6436C10.9334 32.6853 10.3684 31.7339 10.3684 30.9619C10.3684 29.319 12.8178 27.2235 16.9029 25.7992C17.3985 25.6264 17.9174 25.4635 18.4559 25.3105C19.0205 27.1471 19.7611 29.0672 20.6548 31.0088C19.7495 32.9793 18.9984 34.93 18.4283 36.788C18.0444 36.6776 17.6725 36.5615 17.3146 36.4393ZM19.4962 21.5893C18.6483 17.256 19.2114 13.9871 20.6285 13.1669C22.1379 12.293 25.4756 13.5389 28.9935 16.6625C29.2183 16.8622 29.4441 17.0712 29.6705 17.2873C28.3596 18.6949 27.0643 20.2974 25.827 22.0437C23.705 22.2403 21.6739 22.5563 19.8064 22.9793C19.6889 22.507 19.5849 22.043 19.4962 21.5893ZM38.958 26.395C38.5115 25.6238 38.0532 24.8709 37.586 24.1386C39.0255 24.3206 40.4047 24.5621 41.7 24.8578C41.3111 26.104 40.8264 27.407 40.2559 28.7428C39.8467 27.9658 39.4138 27.1824 38.958 26.395ZM31.0215 18.6648C31.9105 19.628 32.8008 20.7033 33.6765 21.87C32.7941 21.8283 31.9007 21.8067 31 21.8067C30.1078 21.8067 29.221 21.8279 28.344 21.8688C29.2206 20.7129 30.1186 19.639 31.0215 18.6648ZM23.0342 26.4083C22.5883 27.1816 22.1634 27.9607 21.7606 28.7413C21.1993 27.4102 20.7191 26.1013 20.3269 24.8374C21.6142 24.5493 22.9869 24.3137 24.4173 24.1352C23.9435 24.8743 23.4814 25.6327 23.0342 26.4081V26.4083ZM24.4585 37.926C22.9806 37.7612 21.5873 37.5378 20.3003 37.2576C20.6988 35.9712 21.1896 34.6343 21.7628 33.2745C22.1666 34.0545 22.5932 34.834 23.0418 35.609H23.0419C23.499 36.3985 23.9725 37.1719 24.4585 37.926ZM31.0748 43.3949C30.1613 42.4092 29.2501 41.3189 28.3602 40.1462C29.2241 40.1801 30.1049 40.1974 31 40.1974C31.9196 40.1974 32.8287 40.1767 33.7235 40.1369C32.8449 41.3308 31.9578 42.4227 31.0748 43.3949ZM40.2743 33.2052C40.8774 34.5797 41.3857 35.9096 41.7893 37.1741C40.4812 37.4725 39.0688 37.7129 37.5807 37.8915C38.049 37.1493 38.5114 36.3835 38.9657 35.5957C39.4253 34.7987 39.8617 34.0005 40.2743 33.2052ZM37.2961 34.6328C36.5909 35.8557 35.8668 37.0231 35.1317 38.125C33.7929 38.2207 32.4097 38.27 31 38.27C29.5959 38.27 28.2302 38.2264 26.9151 38.141C26.1504 37.0247 25.4106 35.8538 24.7098 34.6433H24.7099C24.011 33.4361 23.3677 32.2187 22.7849 31.0081C23.3676 29.7948 24.0092 28.576 24.7041 27.371L24.7039 27.3712C25.4007 26.1629 26.134 24.9978 26.8916 23.8884C28.2334 23.787 29.6094 23.7341 30.9999 23.7341H31C32.3968 23.7341 33.7745 23.7874 35.1159 23.8897C35.862 24.991 36.5903 26.1523 37.2898 27.3608C37.9972 28.5827 38.6471 29.7934 39.2348 30.9808C38.6489 32.1885 38.0004 33.4114 37.2961 34.6328ZM41.2722 13.1095C42.783 13.9808 43.3705 17.4946 42.4213 22.1024C42.3607 22.3964 42.2926 22.6958 42.2185 22.9993C40.3467 22.5674 38.314 22.246 36.1859 22.0464C34.9462 20.2809 33.6615 18.676 32.372 17.2865C32.7187 16.9529 33.0649 16.6349 33.4097 16.3348C36.7406 13.4361 39.8537 12.2916 41.2722 13.1095ZM31 26.933C33.225 26.933 35.0288 28.7368 35.0288 30.9619C35.0288 33.1869 33.225 34.9908 31 34.9908C28.7749 34.9908 26.9711 33.1869 26.9711 30.9619C26.9711 28.7368 28.7749 26.933 31 26.933Z',
},
+ {
+ name: 'Resend',
+ icon: 'M49.7506 19.7083C47.6879 18.6006 45.377 18.0467 42.8178 18.0467H24.7693V58.1544H34.0513V44.0594H39.0608L47.0004 58.1544H58.116L49.136 42.6889C49.363 42.5793 49.587 42.4631 49.8078 42.3404C51.8706 41.1946 53.494 39.6284 54.6781 37.6421C55.8623 35.6177 56.4544 33.3449 56.4544 30.8238C56.4544 28.3792 55.8623 26.2019 54.6781 24.2921C53.494 22.3439 51.8516 20.816 49.7506 19.7083ZM44.5366 35.9805C43.8109 36.4008 42.9514 36.6108 41.9583 36.6108H34.0513V26.1829H41.0988C42.3211 26.1829 43.3525 26.3929 44.1929 26.813C45.0714 27.2333 45.7398 27.8445 46.1982 28.6466C46.6566 29.4105 46.8858 30.3082 46.8858 31.3396C46.8858 32.3709 46.6757 33.2876 46.2555 34.0897C45.8735 34.892 45.3006 35.5221 44.5366 35.9805Z',
+ },
{
name: 'Stripe',
- icon: 'M8.17041 29.6364C8.17041 20.487 8.17041 15.9124 10.5004 12.7054C11.2529 11.6697 12.1637 10.7589 13.1994 10.0064C16.4064 7.67639 20.9811 7.67639 30.1304 7.67639H31.8696C41.0189 7.67639 45.5936 7.67639 48.8005 10.0064C49.8363 10.7589 50.7471 11.6697 51.4996 12.7054C53.8296 15.9124 53.8296 20.487 53.8296 29.6364V31.3756C53.8296 40.5249 53.8296 45.0996 51.4996 48.3065C50.7471 49.3422 49.8363 50.2531 48.8005 51.0056C45.5936 53.3355 41.0189 53.3355 31.8696 53.3355H30.1304C20.9811 53.3355 16.4064 53.3355 13.1994 51.0056C12.1637 50.2531 11.2529 49.3422 10.5004 48.3065C8.17041 45.0996 8.17041 40.5249 8.17041 31.3755V29.6364Z M33.0846 27.4739C30.779 26.6214 29.5155 25.9579 29.5155 24.9158C29.5155 24.0311 30.242 23.526 31.537 23.526C33.9057 23.526 36.3376 24.4421 38.0117 25.263L38.9591 19.4201C37.6325 18.7884 34.9163 17.7462 31.1578 17.7462C28.5049 17.7462 26.294 18.4409 24.7149 19.736C23.0722 21.094 22.2197 23.0523 22.2197 25.4211C22.2197 29.7164 24.8412 31.5483 29.1049 33.0959C31.8527 34.0751 32.7687 34.7699 32.7687 35.8436C32.7687 36.886 31.8841 37.486 30.2735 37.486C28.2836 37.486 24.9992 36.507 22.8512 35.2437L21.9038 41.1497C23.7355 42.1921 27.1466 43.2658 30.6843 43.2658C33.4952 43.2658 35.8323 42.6026 37.4115 41.3393C39.1801 39.9496 40.0961 37.8967 40.0961 35.2437C40.0961 30.8534 37.4115 29.0215 33.0844 27.4741L33.0846 27.4739Z',
+ icon: 'M13.1153 17.4759C10.0596 21.6818 10.0596 27.6813 10.0596 39.6805V41.9614C10.0596 53.9605 10.0596 59.9601 13.1153 64.1659C14.1022 65.5242 15.2967 66.7188 16.655 67.7056C20.8609 70.7614 26.8604 70.7614 38.8596 70.7614H41.1404C53.1396 70.7614 59.1391 70.7614 63.345 67.7056C64.7033 66.7188 65.8978 65.5242 66.8847 64.1659C69.9404 59.9601 69.9404 53.9605 69.9404 41.9614V39.6805C69.9404 27.6813 69.9404 21.6818 66.8847 17.4759C65.8978 16.1176 64.7033 14.9231 63.345 13.9362C59.1391 10.8805 53.1396 10.8805 41.1404 10.8805H38.8596C26.8604 10.8805 20.8609 10.8805 16.655 13.9362C15.2967 14.9231 14.1022 16.1176 13.1153 17.4759ZM38.0531 33.4895C38.0531 34.8563 39.7101 35.7264 42.7339 36.8445C48.4088 38.8739 51.9293 41.2766 51.9293 47.0343C51.9293 50.5137 50.728 53.206 48.4085 55.0286C46.3375 56.6854 43.2723 57.5551 39.5859 57.5551C34.9463 57.5551 30.4728 56.1469 28.0706 54.78L29.3131 47.0343C32.1301 48.6911 36.4375 49.975 39.0472 49.975C41.1594 49.975 42.3196 49.1881 42.3196 47.8212C42.3196 46.413 41.1183 45.5017 37.5147 44.2175C31.9228 42.1879 28.4848 39.7854 28.4848 34.1522C28.4848 31.0456 29.6029 28.4773 31.7572 26.6963C33.8282 24.9979 36.7278 24.0868 40.207 24.0868C45.1361 24.0868 48.6983 25.4536 50.4382 26.2821L49.1956 33.9449C47.0002 32.8683 43.8108 31.6669 40.7042 31.6669C39.0058 31.6669 38.0531 32.3293 38.0531 33.4895Z',
},
{
name: 'Svelte',
- icon: 'M28.8421 13.5737C33.6246 10.5267 40.239 11.9474 43.588 16.7408H43.5882C45.1937 18.9881 45.826 21.7874 45.3423 24.5066C45.1104 25.792 44.6203 27.017 43.9015 28.1076C44.9502 30.1077 45.3021 32.4004 44.9015 34.6229C44.4229 37.291 42.8426 39.634 40.5482 41.0772L32.1489 46.4304C27.3671 49.4774 20.7527 48.0572 17.4029 43.2634C15.7977 41.016 15.1654 38.2167 15.6488 35.4975C15.8809 34.2121 16.3713 32.987 17.0902 31.8964C16.041 29.8965 15.6888 27.6038 16.0895 25.3813C16.5683 22.7133 18.1485 20.3704 20.4428 18.927L28.8421 13.5737ZM20.8577 41.0643C22.4527 43.3635 25.3126 44.4236 28.0207 43.7194H28.0206C28.6247 43.558 29.2004 43.305 29.7278 42.9693L38.1291 37.6151C39.5092 36.7467 40.4598 35.3374 40.7479 33.7325C41.0388 32.0968 40.6583 30.4128 39.6925 29.061C38.0976 26.7618 35.2377 25.7017 32.5296 26.4059C31.926 26.5672 31.3506 26.8201 30.8237 27.1557L27.618 29.1987C27.4585 29.3002 27.2845 29.3766 27.1019 29.4255C26.286 29.6371 25.4247 29.3173 24.9444 28.6246C24.6537 28.2169 24.5393 27.7094 24.627 27.2164C24.7138 26.7331 25.0001 26.3087 25.4157 26.0471L33.8177 20.6927C33.9771 20.5912 34.1512 20.5147 34.3338 20.4659C35.1494 20.2542 36.0104 20.5738 36.4904 21.2664C36.7471 21.6298 36.8671 22.0722 36.8293 22.5155L36.8005 22.8272L37.1128 22.922C38.294 23.2783 39.4056 23.8339 40.3996 24.5648L40.8298 24.8804L40.988 24.398C41.0728 24.1413 41.1399 23.8792 41.1888 23.6134C41.4796 21.9776 41.0992 20.2937 40.1334 18.9419C38.5385 16.6427 35.6786 15.5826 32.9705 16.2868C32.3664 16.4481 31.7907 16.7011 31.2633 17.0369L22.862 22.3915C21.4818 23.2594 20.5311 24.6687 20.2432 26.2735C19.9523 27.9092 20.3328 29.5932 21.2987 30.945C22.8935 33.2442 25.7534 34.3043 28.4616 33.6001C29.0651 33.4388 29.6405 33.1861 30.1677 32.8509L33.3738 30.8071C33.533 30.7057 33.7068 30.6293 33.8892 30.5804C34.7051 30.3689 35.5664 30.6886 36.0467 31.3814C36.3372 31.7891 36.4518 32.2964 36.3648 32.7894C36.2775 33.2728 35.991 33.6973 35.5754 33.959L27.1734 39.3132C27.014 39.4147 26.8399 39.4912 26.6573 39.54C25.8417 39.7517 24.9807 39.4321 24.5007 38.7396C24.2437 38.3763 24.1237 37.9337 24.1618 37.4903L24.1906 37.1787L23.8783 37.084C22.6973 36.7276 21.5858 36.1723 20.5917 35.4419L20.1613 35.1257L20.0031 35.6082C19.9181 35.8648 19.851 36.1269 19.8023 36.3928C19.5115 38.0285 19.8919 39.7125 20.8577 41.0643Z',
+ icon: 'M37.3867 14.5365C44.945 9.72091 55.3984 11.9663 60.6912 19.5418H60.6914C63.2288 23.0933 64.2281 27.5175 63.4637 31.8149C63.0972 33.8464 62.3226 35.7824 61.1866 37.506C62.844 40.6669 63.4001 44.2903 62.767 47.8028C62.0107 52.0193 59.5131 55.7222 55.887 58.0031L42.6128 66.4634C35.0556 71.2788 24.6022 69.0343 19.3082 61.4582C16.7713 57.9064 15.772 53.4824 16.5359 49.185C16.9028 47.1534 17.6777 45.2173 18.814 43.4937C17.1558 40.3331 16.5992 36.7097 17.2324 33.1972C17.9891 28.9807 20.4865 25.278 24.1124 22.9968L37.3867 14.5365ZM24.7682 57.9827C27.2888 61.6164 31.8086 63.2917 36.0886 62.1789H36.0884C37.043 61.9238 37.953 61.524 38.7865 60.9934L52.0639 52.5316C54.245 51.1593 55.7474 48.9319 56.2027 46.3955C56.6624 43.8104 56.0611 41.1491 54.5347 39.0127C52.0141 35.379 47.4944 33.7037 43.2144 34.8165C42.2604 35.0714 41.3512 35.4711 40.5183 36.0015L35.452 39.2304C35.2 39.3906 34.925 39.5115 34.6365 39.5888C33.347 39.9231 31.9858 39.4178 31.2268 38.323C30.7674 37.6787 30.5866 36.8766 30.725 36.0975C30.8623 35.3336 31.3148 34.6629 31.9716 34.2495L45.2501 25.7874C45.5021 25.6269 45.7771 25.5061 46.0657 25.4289C47.3547 25.0944 48.7155 25.5994 49.4741 26.694C49.8798 27.2684 50.0694 27.9676 50.0097 28.6682L49.9642 29.1607L50.4577 29.3105C52.3245 29.8737 54.0812 30.7518 55.6522 31.9068L56.3321 32.4057L56.5822 31.6432C56.7161 31.2376 56.8221 30.8233 56.8995 30.4032C57.3591 27.8181 56.7578 25.1568 55.2314 23.0203C52.7108 19.3867 48.1912 17.7114 43.9112 18.8242C42.9566 19.0792 42.0466 19.479 41.2131 20.0097L27.9358 28.4722C25.7545 29.8439 24.252 32.071 23.7969 34.6073C23.3373 37.1924 23.9386 39.8537 25.465 41.9901C27.9856 45.6238 32.5053 47.2991 36.7853 46.1863C37.7391 45.9313 38.6484 45.532 39.4816 45.0022L44.5486 41.7722C44.8002 41.6119 45.0749 41.4911 45.3631 41.414C46.6526 41.0797 48.0138 41.585 48.7728 42.6798C49.232 43.3241 49.4131 44.1259 49.2755 44.9051C49.1376 45.669 48.6849 46.3399 48.028 46.7535L34.7495 55.2153C34.4975 55.3758 34.2224 55.4966 33.9339 55.5738C32.6449 55.9083 31.2841 55.4032 30.5255 54.3087C30.1194 53.7345 29.9296 53.0351 29.9899 52.3344L30.0354 51.8419L29.5419 51.6922C27.6754 51.129 25.9188 50.2514 24.3478 49.097L23.6675 48.5974L23.4174 49.3599C23.2832 49.7654 23.1772 50.1797 23.1001 50.5998C22.6405 53.185 23.2418 55.8463 24.7682 57.9827Z',
},
{
name: 'Vercel',
- icon: 'M30.9999 11.079L53.7159 50.9205H8.28394L30.9999 11.079Z',
+ icon: 'M39.9999 13.8742L69.7914 66.1253H10.2085L39.9999 13.8742Z',
},
{
name: 'Vue',
- icon: 'M43.0532 13.4531H50.1147L30.2756 47.8158L10.4365 13.4531H17.4978L30.2755 35.5845L43.0532 13.4531ZM42.1764 13.4531L30.2755 34.0659L18.3746 13.4531L25.6939 13.4531L30.2756 21.3888L34.8572 13.4531L42.1764 13.4531Z',
+ icon: 'M60.456 12.5h11.298L40 67.5l-31.754-55h11.3L40 47.93 60.456 12.5Z M59.053 12.5 40 45.499 20.948 12.5h11.719L40 25.202 47.334 12.5h11.719Z',
+ },
+ {
+ name: 'Supabase',
+ icon: 'M39.7566 12.6767C39.7199 10.2352 36.6348 9.18743 35.1132 11.0997L12.1519 39.9562C9.44169 43.3622 11.8724 48.3853 16.2308 48.3853H39.9765L40.2557 66.9809C40.2924 69.4224 43.3775 70.47 44.8991 68.5579L67.8604 39.7013C70.5704 36.2953 68.1397 31.2723 63.7815 31.2723H39.879L39.7566 12.6767Z',
+ },
+ {
+ name: 'Huggingface',
+ icon: 'M49.241 30.291c.393.139.685.562.963.964.376.544.725 1.05 1.261.765a3.624 3.624 0 1 0-4.9-1.498c.248.467.8.247 1.381.014.457-.183.932-.373 1.295-.245Z M31.204 31.255c.278-.402.57-.825.963-.964.363-.128.838.062 1.294.245.583.232 1.134.453 1.383-.014a3.624 3.624 0 1 0-4.902 1.498c.537.285.886-.22 1.262-.765Z M58.09 33.704a2.356 2.356 0 1 0 0-4.711 2.356 2.356 0 0 0 0 4.71Z M26.742 31.348a2.356 2.356 0 1 1-4.711 0 2.356 2.356 0 0 1 4.711 0Z M35.101 36.534c1.728.853 3.677 1.816 5.775 1.816 2.104 0 4.074-.974 5.815-1.836.448-.221.905-.447 1.321-.619.394-.163.889-.34 1.391-.373.56-.038 1.308.102 1.834.778.436.562.51 1.25.51 1.772 0 1.906-.654 4.617-2.32 6.887-1.713 2.333-4.486 4.175-8.551 4.175s-6.838-1.842-8.551-4.175c-1.667-2.27-2.321-4.981-2.321-6.887 0-.507.07-1.158.461-1.705.474-.663 1.176-.862 1.757-.85.504.009.993.17 1.37.319.402.158.837.367 1.262.576l.247.122Zm-2.166 2.173c.129 1.322.647 3.066 1.727 4.536.421.574.93 1.11 1.54 1.564a6.293 6.293 0 0 1 3.06-2.033c.29-.087.588.412.893.923.295.493.596.996.903.996.327 0 .648-.496.961-.981.327-.507.646-1 .955-.902a6.284 6.284 0 0 1 2.795 1.827c.514-.416.95-.89 1.321-1.394 1.08-1.47 1.598-3.214 1.726-4.536-.242.111-.518.247-.839.406l-.17.084c-1.638.813-4.136 2.052-6.931 2.052-2.804 0-5.322-1.252-6.964-2.068l-.002-.001-.337-.167c-.24-.118-.45-.22-.638-.306Zm15.9-.837.001.005-.001-.005Z M45.826 64.83c-1.55.264-3.143.403-4.769.403-1.515 0-3.002-.12-4.452-.351-1.806 2.048-4.635 3.085-8.425 3.085-2.309 0-4.976-.388-7.924-1.153h-.001a47.375 47.375 0 0 1-4.288-1.454c-3.585-1.422-5.43-2.746-6.174-4.427-.49-1.109-.454-2.3.101-3.353.052-.098.107-.194.165-.286a4.256 4.256 0 0 1-.574-3.437 3.847 3.847 0 0 1 1.296-2.037 4.238 4.238 0 0 1-.575-1.602c-.178-1.235.231-2.468 1.153-3.472.718-.782 1.732-1.213 2.856-1.213h.03a28.075 28.075 0 0 1-1.274-8.386c0-15.512 12.575-28.086 28.086-28.086 15.512 0 28.086 12.574 28.086 28.086 0 2.928-.448 5.752-1.28 8.406a4.08 4.08 0 0 1 .399-.02c1.123 0 2.138.43 2.856 1.213.922 1.004 1.331 2.237 1.153 3.472a4.24 4.24 0 0 1-.575 1.602 3.848 3.848 0 0 1 1.295 2.037c.173.657.35 2.026-.574 3.437.059.092.114.188.166.286.555 1.053.59 2.244.1 3.353-.743 1.68-2.589 3.005-6.174 4.426-2.204.874-4.222 1.437-4.287 1.455h-.001c-2.949.765-5.615 1.153-7.924 1.153-3.822 0-6.666-1.055-8.471-3.138Zm-4.769-52.87c13.91 0 25.187 11.276 25.187 25.187 0 1.922-.216 3.795-.623 5.594-.71-.689-1.648-1.064-2.683-1.064-.94 0-1.906.31-2.873.924-.641.407-1.35 1.129-2.08 2.036-.676-.938-1.623-1.56-2.706-1.731a4.046 4.046 0 0 0-.626-.05c-2.472 0-3.96 2.145-4.522 4.075-.279.651-1.618 3.62-3.633 5.634-3.057 3.054-3.83 6.205-2.336 9.579a25.44 25.44 0 0 1-5.865.04c1.519-3.39.75-6.553-2.318-9.62-2.015-2.013-3.354-4.982-3.633-5.633-.563-1.93-2.05-4.074-4.522-4.074-.208 0-.42.016-.627.049-1.082.17-2.029.794-2.705 1.731-.73-.907-1.439-1.629-2.08-2.036-.967-.614-1.933-.924-2.873-.924-1.173 0-2.222.482-2.953 1.356l-.019.022a25.256 25.256 0 0 1-.697-5.908c0-13.91 11.277-25.187 25.187-25.187ZM19.54 44.576c.37 0 .821.157 1.32.473 1.545.98 4.529 6.109 5.62 8.103.367.669.992.951 1.556.951 1.117 0 1.99-1.11.102-2.523-2.84-2.124-1.843-5.597-.488-5.81.06-.01.118-.014.175-.014 1.232 0 1.775 2.123 1.775 2.123s1.593 4.001 4.33 6.736c2.737 2.735 2.879 4.93.884 7.856-1.36 1.995-3.965 2.597-6.634 2.597-2.767 0-5.605-.648-7.195-1.06-.079-.02-9.75-2.752-8.525-5.077.206-.391.545-.548.972-.548.916 0 2.23.723 3.462 1.402 1.09.6 2.117 1.166 2.75 1.166.301 0 .514-.129.6-.442.262-.937-1.52-1.627-3.467-2.382-2.338-.906-4.915-1.904-4.486-3.534.138-.528.514-.743 1.041-.742 1.352 0 3.702 1.41 5.614 2.559 1.31.787 2.416 1.45 2.852 1.45.082 0 .14-.024.172-.075.537-.867.243-1.472-3.542-3.763l-.868-.523c-3.309-1.986-5.457-3.276-4.064-4.793.174-.19.42-.274.72-.274 2.298.001 7.728 4.943 7.728 4.943s1.466 1.524 2.352 1.524c.204 0 .377-.08.495-.279.316-.533-1.166-2.04-2.763-3.664-1.573-1.6-3.258-3.313-3.439-4.317-.247-1.37.173-2.063.951-2.063Zm42.08.473c.498-.316.949-.473 1.319-.473.777 0 1.198.693.95 2.063-.18 1.004-1.865 2.717-3.438 4.317-1.597 1.623-3.08 3.13-2.763 3.664.118.199.29.28.495.28.886 0 2.351-1.525 2.351-1.525s5.43-4.942 7.729-4.943c.3 0 .546.085.72.274 1.392 1.517-.755 2.807-4.064 4.793l-.868.523c-3.785 2.291-4.08 2.896-3.543 3.763.032.051.091.075.173.075.436 0 1.541-.663 2.852-1.45 1.912-1.148 4.261-2.559 5.614-2.559.527 0 .903.214 1.041.742.428 1.63-2.148 2.628-4.486 3.534-1.948.755-3.73 1.445-3.468 2.382.087.313.3.441.601.441.633 0 1.66-.565 2.75-1.165 1.233-.679 2.546-1.402 3.462-1.402.426 0 .766.157.971.547 1.225 2.326-8.446 5.057-8.524 5.078-1.59.412-4.428 1.06-7.196 1.06-2.668 0-5.273-.602-6.633-2.597-1.995-2.925-1.853-5.12.883-7.856 2.737-2.735 4.33-6.736 4.33-6.736s.544-2.123 1.776-2.123c.057 0 .115.004.175.014 1.355.213 2.351 3.686-.488 5.81-1.888 1.412-1.015 2.523.102 2.523.563 0 1.189-.282 1.555-.95 1.092-1.995 4.075-7.123 5.621-8.104Z',
},
]
diff --git a/apps/www/components/Examples/ExamplesCarousel.tsx b/apps/www/components/Examples/ExamplesCarousel.tsx
new file mode 100644
index 00000000000..24f47e6d237
--- /dev/null
+++ b/apps/www/components/Examples/ExamplesCarousel.tsx
@@ -0,0 +1,100 @@
+import 'swiper/css'
+
+import { useRef } from 'react'
+import { ArrowLeft, ArrowRight } from 'lucide-react'
+import { Button } from 'ui'
+import Link from 'next/link'
+import { CTA } from '~/types/common'
+
+import ExampleCard from '~/components/ExampleCard'
+import { Swiper, SwiperSlide } from 'swiper/react'
+// import Swiper core and required modules
+import SwiperCore from 'swiper'
+import { Navigation, Pagination } from 'swiper/modules'
+
+// install Swiper modules
+SwiperCore.use([Navigation, Pagination])
+
+const ExamplesCarousel = ({
+ title,
+ cta,
+ examples,
+}: {
+ title: string | React.ReactNode
+ cta: CTA
+ examples: any[]
+}) => {
+ const prevRef = useRef(null)
+ const nextRef = useRef(null)
+
+ return (
+ <div id="examples" className="container">
+ <div className="w-full flex flex-col lg:flex-row justify-between items-start lg:items-end gap-4">
+ <h3 className="h2 !mb-0">{title}</h3>
+ {cta && (
+ <Button asChild type="default" size="tiny">
+ <Link href={cta.href}>{cta.label}</Link>
+ </Button>
+ )}
+ </div>
+ <div className="mt-8 lg:mt-10">
+ <Swiper
+ style={{ overflow: 'visible' }}
+ loop={true}
+ initialSlide={0}
+ spaceBetween={10}
+ slidesPerView={3}
+ autoplay={{
+ delay: 2400,
+ }}
+ speed={300}
+ navigation={{
+ prevEl: prevRef.current,
+ nextEl: nextRef.current,
+ }}
+ onInit={(swiper: any) => {
+ swiper.params.navigation.prevEl = prevRef.current
+ swiper.params.navigation.nextEl = nextRef.current
+ swiper.navigation.update()
+ }}
+ breakpoints={{
+ 320: {
+ slidesPerView: 1.1,
+ spaceBetween: 10,
+ },
+ 720: {
+ slidesPerView: 2,
+ spaceBetween: 10,
+ },
+ 920: {
+ slidesPerView: 3,
+ spaceBetween: 10,
+ },
+ 1024: {
+ slidesPerView: 3,
+ spaceBetween: 20,
+ },
+ }}
+ >
+ {Object.values(examples).map((example: any, i: number) => {
+ return (
+ <SwiperSlide key={example.title}>
+ <ExampleCard i={i} {...example} />
+ </SwiperSlide>
+ )
+ })}
+ </Swiper>
+ <div className="container mx-auto mt-3 hidden flex-row justify-between md:flex">
+ <div ref={prevRef} className="p ml-4 cursor-pointer">
+ <ArrowLeft />
+ </div>
+ <div ref={nextRef} className="p mr-4 cursor-pointer">
+ <ArrowRight />
+ </div>
+ </div>
+ </div>
+ </div>
+ )
+}
+
+export default ExamplesCarousel
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index 38f57d975d0..9c542a141d5 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -61,16 +61,20 @@ const Footer = (props: Props) => {
<div className="space-y-8 xl:col-span-1">
<Link href="#" as="/" className="w-40">
<Image
- src={
- forceDark
- ? supabaseLogoWordmarkDark
- : resolvedTheme?.includes('dark')
- ? supabaseLogoWordmarkDark
- : supabaseLogoWordmarkLight
- }
+ src={supabaseLogoWordmarkLight}
width={160}
height={30}
- alt="Supabase"
+ alt="Supabase Logo"
+ className="dark:hidden"
+ priority
+ />
+ <Image
+ src={supabaseLogoWordmarkDark}
+ width={160}
+ height={30}
+ alt="Supabase Logo"
+ className="hidden dark:block"
+ priority
/>
</Link>
<div className="flex space-x-5">
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
index 022ecfa2de0..5f8cb1331db 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
@@ -5,8 +5,9 @@ import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
import { useWindowSize } from 'react-use'
import { Swiper, SwiperSlide } from 'swiper/react'
-import SwiperCore, { Autoplay } from 'swiper'
-import 'swiper/swiper.min.css'
+import 'swiper/css'
+import SwiperCore from 'swiper'
+import { Autoplay } from 'swiper/modules'
SwiperCore.use([Autoplay])
diff --git a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
index e4d97229aef..54c12264d85 100644
--- a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
+++ b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
@@ -1,12 +1,11 @@
import Image from 'next/image'
import Link from 'next/link'
+import { cn } from 'ui'
import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import 'swiper/css'
import { Swiper, SwiperSlide } from 'swiper/react'
-import 'swiper/swiper.min.css'
-import { cn } from 'ui'
-
interface Props {
users: UserData[]
reverse?: boolean
diff --git a/apps/www/components/MadeForDevelopers/CodeExamples.tsx b/apps/www/components/MadeForDevelopers/CodeExamples.tsx
index aecd4f010fe..37689f01803 100644
--- a/apps/www/components/MadeForDevelopers/CodeExamples.tsx
+++ b/apps/www/components/MadeForDevelopers/CodeExamples.tsx
@@ -11,7 +11,7 @@ import {
ExampleProps,
} from 'data/CodeExamples'
import monokaiCustomTheme from 'data/CodeEditorTheme'
-import { Button, IconCopy, Space, Tabs } from 'ui'
+import { Button, Space, Tabs } from 'ui'
SyntaxHighlighter.registerLanguage('javascript', js)
@@ -74,13 +74,6 @@ const CodeExamples = () => {
const Buttons = () => (
<Space direction="vertical" size={1}>
{Object.values(exampleList).map((x, i) => {
- const length: number = Object.values(exampleList).length - 1
- // const radiusStyles = {
- // borderBottomRightRadius: i !== length ? '0' : undefined,
- // borderBottomLeftRadius: i !== length ? '0' : undefined,
- // borderTopLeftRadius: i !== length + 1 && i !== 0 ? '0' : undefined,
- // borderTopRightRadius: i !== length + 1 && i !== 0 ? '0' : undefined,
- // }
return (
<Button
block
@@ -93,13 +86,8 @@ const CodeExamples = () => {
? {
background: 'white',
color: '#3d3d3d',
- // borderBottom: i !== 0 ? 'none' : 'red',
- // ...radiusStyles,
- }
- : {
- // borderBottom: i !== length ? 'none' : undefined,
- // ...radiusStyles,
}
+ : undefined
}
>
{x.name}
@@ -151,7 +139,7 @@ const CodeExamples = () => {
<SyntaxHighlighter
language="javascript"
// @ts-ignore
- style={monokaiCustomTheme}
+ style={isDarkTheme ? monokaiCustomTheme.dark : monokaiCustomTheme.light}
className="rounded-b-lg"
customStyle={{
padding: 0,
diff --git a/apps/www/components/MagnifiedProducts.tsx b/apps/www/components/MagnifiedProducts.tsx
index e70cb9365a5..2defe920420 100644
--- a/apps/www/components/MagnifiedProducts.tsx
+++ b/apps/www/components/MagnifiedProducts.tsx
@@ -1,5 +1,4 @@
import { useRef } from 'react'
-import Image from 'next/image'
import Link from 'next/link'
import {
MotionValue,
@@ -10,18 +9,20 @@ import {
useTransform,
} from 'framer-motion'
import { useBreakpoint } from 'common'
-import { DEFAULT_TRANSITION } from '~/lib/animations'
import { Products } from './Sections/ProductsCta'
-import { PRODUCT_NAMES, PRODUCT_SHORTNAMES } from '~/lib/constants'
+import { cn } from 'ui'
+
+import { DEFAULT_TRANSITION } from '~/lib/animations'
+import { PRODUCT_NAMES, PRODUCT_SHORTNAMES, products as PRODUCTS } from 'shared-data/products'
-function MagnifiedProducts({ currentProduct }: { currentProduct?: Products }) {
+function MagnifiedProducts({ currentProduct }: { currentProduct: Products | string }) {
let mouseX = useMotionValue(Infinity)
return (
<motion.div
onMouseMove={(e) => mouseX.set(e.pageX)}
onMouseLeave={() => mouseX.set(Infinity)}
- className="mx-auto w-full max-w-md grid grid-cols-3 md:flex items-center justify-center gap-y-8 md:gap-4 px-4"
+ className="relative mx-auto w-full max-w-md grid grid-cols-3 md:flex items-center justify-center gap-y-8 md:gap-2 px-4"
>
{Object.entries(products).map(([key, product], i) => (
<Product
@@ -57,7 +58,8 @@ function Product({
return val - bounds.x - bounds.width / 2
})
- let widthSync = useTransform(distance, [-150, 0, 150], [75, 110, 75])
+ const initialWidth = isMobile ? 50 : 65
+ let widthSync = useTransform(distance, [-100, 0, 100], [initialWidth, 80, initialWidth])
let width = useSpring(widthSync, { mass: 0.1, stiffness: 150, damping: 12 })
const xDelta = 91
@@ -72,29 +74,38 @@ function Product({
return (
<motion.div
ref={ref}
- className={[
+ className={cn(
'relative mx-auto md:w-[150px] bg-transparent group',
- isCurrentProduct ? 'z-10' : 'z-0',
- ].join(' ')}
+ isCurrentProduct ? 'z-10' : 'z-0'
+ )}
initial={initial}
animate={isInView ? animate : initial}
>
- <Link href={product.url} className="flex w-full flex-col items-center text-center">
+ <Link href={product.url} className="flex w-full flex-col items-center text-center group">
<motion.div
style={isMobile ? (undefined as any) : { width, willChange: 'width' }}
- className="relative w-[50px] aspect-square will-change-transform"
+ className="relative w-[30px] !min-w-[30px] md:!min-w-[50px] aspect-square will-change-transform bg-background rounded-xl border p-3 text-foreground-lighter group-hover:text-foreground"
>
- <Image
- src={product.icon}
- priority
- layout="fill"
- objectFit="contain"
- lazyBoundary="100px"
- alt=""
- />
+ <svg
+ width="100%"
+ height="100%"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ fillRule="evenodd"
+ clipRule="evenodd"
+ >
+ <path
+ d={product.icon}
+ stroke="currentColor"
+ strokeWidth={1.5}
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ </svg>
</motion.div>
- <div className="text-brand-600 flex justify-center relative opacity-70 md:absolute md:bottom-0 md:opacity-0 group-hover:opacity-100 transition-opacity md:translate-y-8 md:-left-20 md:md:-right-20 font-mono uppercase text-center text-xs mt-2">
- <span>{product.name}</span>
+ <div className="text-foreground flex justify-center relative opacity-70 md:absolute md:bottom-0 md:opacity-0 group-hover:opacity-100 transition-opacity md:translate-y-8 md:-left-20 md:md:-right-20 font-mono uppercase text-center text-xs mt-2">
+ {product.name}
</div>
</Link>
</motion.div>
@@ -105,7 +116,7 @@ const products = {
database: {
shortname: PRODUCT_SHORTNAMES.DATABASE,
name: PRODUCT_NAMES.DATABASE,
- icon: '/images/product/database/database-v2.png',
+ icon: PRODUCTS.database.icon[24],
description:
"Every project is a full Postgres database, the world's most trusted relational database.",
description_short: '',
@@ -113,9 +124,9 @@ const products = {
url: '/database',
},
authentication: {
- shortname: PRODUCT_SHORTNAMES.AUTH,
- name: PRODUCT_NAMES.AUTH,
- icon: '/images/product/auth/auth-v2.png',
+ shortname: PRODUCT_SHORTNAMES.AUTHENTICATION,
+ name: PRODUCT_NAMES.AUTHENTICATION,
+ icon: PRODUCTS.authentication.icon[24],
description: 'Add user sign ups and logins, securing your data with Row Level Security.',
description_short: '',
label: '',
@@ -124,7 +135,7 @@ const products = {
storage: {
shortname: PRODUCT_SHORTNAMES.STORAGE,
name: PRODUCT_NAMES.STORAGE,
- icon: '/images/product/storage/storage-v2.png',
+ icon: PRODUCTS.storage.icon[24],
description: 'Store, organize, and serve large files. Any media, including videos and images.',
description_short: '',
label: '',
@@ -133,7 +144,7 @@ const products = {
'edge-functions': {
shortname: PRODUCT_SHORTNAMES.FUNCTIONS,
name: PRODUCT_NAMES.FUNCTIONS,
- icon: '/images/product/functions/functions-v2.png',
+ icon: PRODUCTS.functions.icon[24],
description: 'Write custom code without deploying or scaling servers.',
description_short: '',
label: '',
@@ -142,7 +153,7 @@ const products = {
realtime: {
shortname: PRODUCT_SHORTNAMES.REALTIME,
name: PRODUCT_NAMES.REALTIME,
- icon: '/images/product/realtime/realtime-v2.png',
+ icon: PRODUCTS.realtime.icon[24],
description:
'Create multiplayer experiences by sharing, broadcasting, and listening to changes from other clients or the Database.',
description_short: '',
@@ -152,7 +163,7 @@ const products = {
vector: {
shortname: PRODUCT_SHORTNAMES.VECTOR,
name: PRODUCT_NAMES.VECTOR,
- icon: '/images/product/vector/vector-v2.png',
+ icon: PRODUCTS.vector.icon[24],
description: 'Integrate your favorite ML-models to store, index and search vector embeddings.',
description_short: '',
label: '',
diff --git a/apps/www/components/Panel/Panel.tsx b/apps/www/components/Panel/Panel.tsx
index 0224faa699e..2e642a47d6b 100644
--- a/apps/www/components/Panel/Panel.tsx
+++ b/apps/www/components/Panel/Panel.tsx
@@ -78,7 +78,7 @@ const Panel = ({
<Component
ref={outerRef}
className={cn(
- 'relative rounded-xl bg-surface-100 bg-gradient-to-b from-border to-surface-200 p-px transition-all shadow-md',
+ 'relative rounded-xl p-px bg-surface-100 bg-gradient-to-b from-border to-border/50 dark:to-surface-100 transition-all shadow-md flex items-center justify-center',
!trackCursor && hasActiveOnHover
? activeColor === 'brand'
? 'hover:bg-none hover:!bg-brand'
diff --git a/apps/www/components/Products/Functions/CI.tsx b/apps/www/components/Products/Functions/CI.tsx
new file mode 100644
index 00000000000..23de01ad101
--- /dev/null
+++ b/apps/www/components/Products/Functions/CI.tsx
@@ -0,0 +1,36 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const ciCode = `jobs:
+ deploy:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: supabase/setup-cli@v1
+ with:
+ version: latest
+ - run: supabase functions deploy
+`
+
+const CI = () => (
+ <div className="w-full h-full relative pl-4 xl:-mb-0 pt-4 sm:pt-4 border-b xl:border-none overflow-hidden">
+ <CodeWindow
+ code={ciCode}
+ lang="yaml"
+ className="
+ rounded-r-none rounded-b-none border-r-0 border-b-0
+ h-full !text-[13px] xl:!text-sm leading-4
+ [&_.synthax-highlighter]:rounded-b-none
+ [&_.synthax-highlighter]:rounded-r-none
+ [&_.synthax-highlighter]:border-r-0
+ [&_.synthax-highlighter]:border-b-0
+ [&_.synthax-highlighter]:!pb-8
+ [&_.synthax-highlighter]:xl:min-h-[240px]
+ pr-0 pb-0 -bottom-2 xl:-bottom-4
+ "
+ />
+ </div>
+)
+
+export default CI
diff --git a/apps/www/components/Products/Functions/ConnectToDBPanel.tsx b/apps/www/components/Products/Functions/ConnectToDBPanel.tsx
new file mode 100644
index 00000000000..dee4bb43f81
--- /dev/null
+++ b/apps/www/components/Products/Functions/ConnectToDBPanel.tsx
@@ -0,0 +1,25 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const code = `const supabase = createClient(
+ Deno.env.get('SUPABASE_URL')!,
+ Deno.env.get('SUPABASE_ANON_KEY')!,
+ {
+ global: {
+ headers: {
+ Authorization:
+ req.headers.get('Authorization')!
+ }
+ }
+ }
+)
+
+const { data, error } = await supabase
+ .from('countries')
+ .select('*')`
+
+const ConnectToDBPanel = () => (
+ <CodeWindow className="[&_.synthax-highlighter]:!min-h-[200px]" code={code} showLineNumbers />
+)
+
+export default ConnectToDBPanel
diff --git a/apps/www/components/Products/Functions/FunctionsHero.tsx b/apps/www/components/Products/Functions/FunctionsHero.tsx
new file mode 100644
index 00000000000..952f984d14a
--- /dev/null
+++ b/apps/www/components/Products/Functions/FunctionsHero.tsx
@@ -0,0 +1,290 @@
+import React, { useEffect, useRef, useState } from 'react'
+import Image from 'next/image'
+import anime from 'animejs'
+import { Check, Copy } from 'lucide-react'
+import CopyToClipboard from 'react-copy-to-clipboard'
+import Typed from 'typed.js'
+
+const FunctionsHero = () => {
+ const ref = useRef(null)
+ const typerRef = useRef(null)
+ const [copied, setCopied] = useState(false)
+
+ const handleCopy = () => {
+ setCopied(true)
+ setTimeout(() => {
+ setCopied(false)
+ }, 1000)
+ }
+
+ const dots = [
+ {
+ id: 'dot1',
+ type: 'dot',
+ left: '50%',
+ top: '29.9%',
+ delay: 1,
+ },
+ {
+ id: 'dot2',
+ type: 'dot',
+ left: '24.3%',
+ top: '50.2%',
+ delay: 1,
+ },
+ {
+ id: 'dot3',
+ type: 'dot',
+ left: '77.8%',
+ top: '63.4%',
+ delay: 1,
+ },
+ ]
+
+ const svgs = [
+ {
+ id: 'svg1',
+ type: 'svg',
+ viewbox: '0 0 155 284',
+ width: '15.244%',
+ height: '41.24%',
+ left: '38.8%',
+ top: '31.2%',
+ path: 'M.797 283.216c14.605-22.693 64.498-78.738 87.739-104.396-22.406-17.823-47.852-46.354-57.983-58.555 36.536-29.153 96.735-65.699 122.267-80.327-6.727-8.041-21.226-27.282-26.518-39.053',
+ x1: '100%',
+ x2: '100%',
+ y1: '-20%',
+ y1config: {
+ initial: '-20%',
+ frames: ['-20%', '100%'],
+ },
+ y2: '0',
+ y2config: {
+ initial: '0',
+ frames: ['0', '130%'],
+ },
+ duration: 350,
+ delay: 1350,
+ offset: 0,
+ easing: 'linear',
+ },
+ {
+ id: 'svg2',
+ type: 'svg',
+ viewbox: '0 0 272 235',
+ width: '27.458%',
+ height: '34.045%',
+ left: '50.8%',
+ top: '31.4%',
+ path: 'M271.749 233.614C215.075 230.474 159.599 210.964 138.945 201.602C144.38 186.681 156.517 152.612 161.587 135.71C126.058 122.39 44.25 76.75 1.25 0.75',
+ x1: '100%',
+ x2: '100%',
+ y1: '-20%',
+ y1config: {
+ initial: '-20%',
+ frames: ['-20%', '100%'],
+ },
+ y2: '0',
+ y2config: {
+ initial: '0',
+ frames: ['0', '130%'],
+ },
+ duration: 300,
+ delay: 1350,
+ offset: 0,
+ easing: 'linear',
+ },
+ {
+ id: 'svg3',
+ type: 'svg',
+ viewbox: '0 0 261 144',
+ width: '26.687%',
+ height: '20.49%',
+ left: '25.1%',
+ top: '31.4%',
+ path: 'M260.5 1.5C157.75 30.75 67.75 89 1.13281 143.202',
+ x1: '100%',
+ x2: '100%',
+ y1: '-20%',
+ y1config: {
+ initial: '-20%',
+ frames: ['-20%', '100%'],
+ },
+ y2: '0',
+ y2config: {
+ initial: '0',
+ frames: ['0', '130%'],
+ },
+ duration: 200,
+ delay: 1350,
+ offset: 0,
+ easing: 'linear',
+ },
+ ]
+
+ useEffect(() => {
+ animate()
+ }, [])
+
+ const animate = () => {
+ const tl = anime.timeline({
+ loop: false,
+ autoplay: true,
+ })
+
+ svgs.forEach((s: any) => {
+ tl.add(
+ {
+ loop: false,
+ autoplay: true,
+ targets: `#functions-hero #${s.id} linearGradient`,
+ // y1: s.y1config.frames,
+ y2: s.y2config.frames,
+ easing: s?.easing,
+ duration: s?.duration,
+ delay: s?.delay,
+ },
+ s?.offset
+ )
+ })
+
+ const typed = new Typed(typerRef.current, {
+ strings: ['supabase functions deploy hello'],
+ typeSpeed: 10,
+ startDelay: 300,
+ showCursor: false,
+ loop: false,
+ })
+
+ setTimeout(() => {
+ typed.start()
+ tl.play()
+ }, 100)
+
+ return () => {
+ typed.destroy()
+ }
+ }
+
+ return (
+ <div
+ ref={ref}
+ id="functions-hero"
+ className="
+ absolute inset-0
+ -left-28 top-4 w-[150%] md:w-[150%] aspect-[978/678]
+ sm:-left-32 sm:-top-2
+ md:-left-44
+ lg:-left-10 lg:-top-10 lg:w-[130%]
+ xl:-left-32 xl:w-[130%]
+ "
+ >
+ {/* Snippet element */}
+ <div
+ className="
+ opacity-0 animate-fade-in absolute z-20 flex-1 flex items-center justify-center h-auto
+ w-[60%] left-[25%] top-[2%]
+ sm:w-[35%] sm:left-[34%] sm:top-[6%]
+ md:left-[33.5%] md:w-[35%] md:top-[6%]
+ lg:left-[26%] lg:w-[52%] lg:top-[3%]
+ xl:left-[28%] xl:w-[48%] xl:top-[3%]
+ 2xl:left-[32%] 2xl:w-[40%] 2xl:top-[3%]
+ "
+ >
+ <CopyToClipboard text="supabase functions new <function-name> && supabase functions deploy <function-name>">
+ <button
+ onClick={handleCopy}
+ className="w-full px-3 py-2 group hover:border-strong flex gap-1 sm:gap-2 items-center bg-alternative rounded-xl border"
+ >
+ <div className="text-foreground-muted text-sm font-mono">$</div>
+ <div
+ ref={typerRef}
+ className="opacity-0 flex-1 text-left animate-fade-in text-foreground text-xs md:text-sm font-mono"
+ />
+ <div className="text-foreground rounded p-1.5 opacity-0 group-hover:opacity-100 transition-opacity">
+ {copied ? (
+ <span className="text-brand">
+ <Check className="w-3.5 h-3.5" />
+ </span>
+ ) : (
+ <Copy className="w-3.5 h-3.5" />
+ )}
+ </div>
+ </button>
+ </CopyToClipboard>
+ </div>
+ {/* Animated svgs in globe */}
+ {svgs.map((s) => (
+ <svg
+ key={s.id}
+ id={s.id}
+ xmlns="http://www.w3.org/2000/svg"
+ width="100%"
+ height="100%"
+ fill="none"
+ viewBox={s.viewbox}
+ className="absolute"
+ style={{
+ width: s.width,
+ height: s.height,
+ left: s.left,
+ top: s.top,
+ }}
+ >
+ <path stroke={`url(#lg-${s.id})`} strokeWidth="1.396" d={s.path} />
+ <defs>
+ <linearGradient
+ id={`lg-${s.id}`}
+ x1={s?.x1}
+ x2={s?.x2}
+ y1={s?.y1}
+ y2={s?.y2}
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop offset="0" stopColor="hsl(var(--foreground-default))" stopOpacity="0" />
+ <stop offset="0.5" stopColor="hsl(var(--foreground-default))" stopOpacity="0.6" />
+ <stop offset="1" stopColor="hsl(var(--foreground-default))" stopOpacity="0" />
+ </linearGradient>
+ </defs>
+ </svg>
+ ))}
+
+ {/* Dots on globe */}
+ {dots.map((dot) => (
+ <div
+ key={dot.id}
+ id={dot.id}
+ style={{ left: dot.left, top: dot.top }}
+ className="absolute origin-center w-[2.5%] h-[3.6%] flex items-center justify-center opacity-0 transition-opacity animate-fade-in delay-75"
+ >
+ <span className="absolute inset-0 w-full h-full rounded-full bg-foreground bg-opacity-20" />
+ <span className="absolute w-4/5 h-4/5 rounded-full bg-foreground bg-opacity-90" />
+ </div>
+ ))}
+ <div className="absolute left-[51.15%] top-[10%] w-px h-[20%] overflow-hidden">
+ <span className="absolute inset-0 w-full bg-gradient-to-t from-current to-transparent h-full delay-1200 animate-slide-in" />
+ </div>
+ {/* Globe background */}
+ <Image
+ src="/images/product/functions/globe-light.svg"
+ alt="globe wireframe"
+ width={400}
+ height={400}
+ className="w-full h-full dark:hidden block"
+ quality={100}
+ priority
+ />
+ <Image
+ src="/images/product/functions/globe.svg"
+ alt="globe wireframe"
+ width={400}
+ height={400}
+ className="w-full h-full hidden dark:block"
+ quality={100}
+ priority
+ />
+ </div>
+ )
+}
+
+export default FunctionsHero
diff --git a/apps/www/components/Products/Functions/GlobalPresenceSection.tsx b/apps/www/components/Products/Functions/GlobalPresenceSection.tsx
new file mode 100644
index 00000000000..076c72bc1ab
--- /dev/null
+++ b/apps/www/components/Products/Functions/GlobalPresenceSection.tsx
@@ -0,0 +1,27 @@
+import React from 'react'
+
+interface Props {
+ title: string | React.ReactNode
+ features: { label: string; paragraph: React.ReactNode }[]
+}
+
+function GlobalPresenceSection({ title, features }: Props) {
+ return (
+ <div className="w-full flex flex-col xl:grid grid-cols-3 gap-8 md:gap-16">
+ <p className="text-xl sm:text-2xl max-w-lg text-foreground-lighter">{title}</p>
+ <div className="flex flex-col col-span-2 gap-4 md:gap-10 md:grid grid-cols-3 items-start">
+ {features.map((feature) => (
+ <div
+ key={feature.label}
+ className="w-full flex flex-col gap-1 md:gap-2 pt-3 md:pt-0 border-t md:border-t-0 md:pl-3 md:border-l text-sm mb-1"
+ >
+ <p className="font-mono uppercase tracking-wide text-foreground">{feature.label}</p>
+ <p className="text-foreground-lighter p-0 m-0">{feature.paragraph}</p>
+ </div>
+ ))}
+ </div>
+ </div>
+ )
+}
+
+export default GlobalPresenceSection
diff --git a/apps/www/components/Products/Functions/LocalDXGrid.tsx b/apps/www/components/Products/Functions/LocalDXGrid.tsx
new file mode 100644
index 00000000000..b1cc21f98ef
--- /dev/null
+++ b/apps/www/components/Products/Functions/LocalDXGrid.tsx
@@ -0,0 +1,55 @@
+import styles from './local-dx-grid.module.css'
+import React from 'react'
+import { cn } from 'ui'
+import { useBreakpoint } from 'common'
+import page from '~/data/products/functions/page'
+import Panel from '~/components/Panel'
+
+export default function LocalDXGrid() {
+ const isXs = useBreakpoint(640)
+ const pageData = page(isXs)
+
+ return (
+ <div
+ className={cn(
+ 'h-auto flex flex-col md:grid grid-cols-2 xl:grid-cols-3 gap-5 xl:flex-row',
+ styles['local-dx-grid']
+ )}
+ >
+ {pageData.localDXsection.cards.map((card) => (
+ <Content key={card.id} card={card} />
+ ))}
+ </div>
+ )
+}
+
+const Content = ({ card }: { card: any }) => {
+ const isHoriz = card.id === 'ci'
+
+ return (
+ <Panel
+ key={card.label}
+ outerClassName="w-full group"
+ innerClassName={cn(
+ 'relative flex flex-col min-h-[300px] xl:min-h-[300px]',
+ isHoriz && 'xl:flex-row xl:items-end'
+ )}
+ style={{ gridArea: card.id }}
+ >
+ <div
+ className={cn(
+ 'relative flex-[1_1_0] h-full w-full inline-flex items-center',
+ isHoriz && 'xl:order-last flex-1 h-full'
+ )}
+ >
+ {card.image}
+ </div>
+ <div className={cn('flex flex-col gap-1 p-4 xl:p-6 xl:!pt-0', isHoriz && 'xl:w-2/5')}>
+ <h3 className="text-foreground">{card.label}</h3>
+ <div className={cn('flex-1 flex flex-col justify-between gap-2', isHoriz && 'flex-auto')}>
+ <p className="text-sm text-foreground-lighter">{card.paragraph}</p>
+ </div>
+ </div>
+ </Panel>
+ )
+}
diff --git a/apps/www/components/Products/Functions/LocalDXImage.tsx b/apps/www/components/Products/Functions/LocalDXImage.tsx
new file mode 100644
index 00000000000..ba1fa68f15c
--- /dev/null
+++ b/apps/www/components/Products/Functions/LocalDXImage.tsx
@@ -0,0 +1,57 @@
+import Image from 'next/image'
+import React, { useState } from 'react'
+import CopyToClipboard from 'react-copy-to-clipboard'
+import { IconCheck, IconCopy } from 'ui'
+
+const LocalDXImage = () => {
+ const [copied, setCopied] = useState(false)
+
+ const handleCopy = () => {
+ setCopied(true)
+ setTimeout(() => {
+ setCopied(false)
+ }, 1000)
+ }
+
+ return (
+ <div className="relative w-full h-full flex-1 flex items-center justify-center">
+ <Image
+ src="/images/product/functions/grid-gradient-dark.svg"
+ alt=""
+ fill
+ sizes="100%"
+ aria-hidden
+ draggable={false}
+ className="object-cover absolute z-0 inset-0 hidden dark:block"
+ />
+ <Image
+ src="/images/product/functions/grid-gradient-light.svg"
+ alt=""
+ fill
+ sizes="100%"
+ aria-hidden
+ draggable={false}
+ className="object-cover absolute z-0 inset-0 dark:hidden block"
+ />
+ <CopyToClipboard text="supabase functions serve <function-name>">
+ <button
+ onClick={handleCopy}
+ className="p-3 relative z-10 group hover:border-strong flex gap-2 xl:gap-4 items-center bg-alternative-200 rounded-xl border"
+ >
+ <div className="text-foreground-muted text-sm font-mono">$</div>
+ <div className="text-foreground text-sm font-mono">supabase functions serve</div>
+ <div className="text-foreground rounded p-1.5 ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
+ {copied ? (
+ <span className="text-brand">
+ <IconCheck className="w-3.5 h-3.5" />
+ </span>
+ ) : (
+ <IconCopy className="w-3.5 h-3.5" />
+ )}
+ </div>
+ </button>
+ </CopyToClipboard>
+ </div>
+ )
+}
+export default LocalDXImage
diff --git a/apps/www/components/Products/Functions/Metrics.tsx b/apps/www/components/Products/Functions/Metrics.tsx
new file mode 100644
index 00000000000..c41d1361eb7
--- /dev/null
+++ b/apps/www/components/Products/Functions/Metrics.tsx
@@ -0,0 +1,139 @@
+import React, { useEffect, useState } from 'react'
+import dayjs from 'dayjs'
+import { Area, AreaChart, ResponsiveContainer, Tooltip, XAxis } from 'recharts'
+import { cn } from 'ui'
+
+const CHART_COLORS = {
+ TICK: 'hsl(var(--background-overlay-hover))',
+ AXIS: 'hsl(var(--background-overlay-hover))',
+ GREEN_1: 'hsl(var(--brand-default))', // #3ECF8E
+ GREEN_2: 'hsl(var(--brand-500))',
+}
+
+const Metrics = ({ isActive }: { isActive?: boolean }) => {
+ const [mounted, setMounted] = useState(false)
+ const [displayValue, setDisplayValue] = useState<number | null>(null)
+ const dateFormat = 'MMM D, h:mma'
+
+ const data = [
+ {
+ name: '1',
+ timestamp: new Date(),
+ uv: 4000,
+ pv: 537.47,
+ amt: 2400,
+ },
+ {
+ name: '2',
+ timestamp: new Date(),
+ uv: 3000,
+ pv: 334.11,
+ amt: 2210,
+ },
+ {
+ name: '3',
+ timestamp: new Date(),
+ uv: 2000,
+ pv: 299.2,
+ amt: 2290,
+ },
+ {
+ name: '4',
+ timestamp: new Date(),
+ uv: 2780,
+ pv: 459.2,
+ amt: 2000,
+ },
+ {
+ name: '5',
+ timestamp: new Date(),
+ uv: 1890,
+ pv: 802,
+ amt: 2181,
+ },
+ {
+ name: '6',
+ timestamp: new Date(),
+ uv: 2390,
+ pv: 343.2,
+ amt: 2500,
+ },
+ {
+ name: '7',
+ timestamp: new Date(),
+ uv: 3490,
+ pv: 310.08,
+ amt: 2100,
+ },
+ ]
+
+ const highlightedValue = (data.reduce((acc, val) => acc + val.pv, 0) / data.length).toFixed(2)
+
+ useEffect(() => {
+ setMounted(true)
+ }, [])
+
+ if (!mounted) return null
+
+ return (
+ <div
+ className={cn(
+ 'absolute inset-0 bottom-4 px-4 opacity-50 transition-opacity overflow-hidden',
+ isActive && 'opacity-100'
+ )}
+ >
+ <div className="relative rounded-md w-full h-full border border-overlay shadow p-4 !min-w-[300px]">
+ <p className="text-foreground text-sm mb-2">Execution time</p>
+ <p className="text-foreground text-base mb-4">
+ {displayValue ? data[displayValue]?.pv : highlightedValue}ms {!displayValue ?? '(Avg)'}
+ </p>
+ <ResponsiveContainer minWidth={200} minHeight={200} width="100%" height="90%">
+ <AreaChart
+ className="relative z-20 text-xs"
+ data={data}
+ margin={{ top: 10, right: 0, left: 0, bottom: 40 }}
+ onMouseMove={(e: any) => {
+ if (e.activeTooltipIndex !== displayValue) {
+ setDisplayValue(e.activeTooltipIndex)
+ }
+ }}
+ onMouseLeave={() => setDisplayValue(null)}
+ >
+ <defs>
+ <linearGradient id="colorPv" x1="0" y1="0" x2="0" y2="1">
+ <stop offset="5%" stopColor="hsl(var(--brand-default))" stopOpacity={0.7} />
+ <stop offset="95%" stopColor="hsl(var(--brand-default))" stopOpacity={0} />
+ </linearGradient>
+ </defs>
+ <XAxis
+ tick={false}
+ dataKey="name"
+ minTickGap={440}
+ tickMargin={8}
+ interval={data.length - 2}
+ angle={0}
+ axisLine={{ stroke: CHART_COLORS.AXIS }}
+ tickLine={{ stroke: CHART_COLORS.AXIS }}
+ />
+ <Tooltip content={() => null} />
+ <Area
+ type="monotone"
+ dataKey="pv"
+ stroke="hsl(var(--brand-default))"
+ fillOpacity={1}
+ fill="url(#colorPv)"
+ />
+ </AreaChart>
+ </ResponsiveContainer>
+ {data && (
+ <div className="absolute inset-4 top-auto text-foreground-lighter flex items-center justify-between text-xs">
+ <span>{dayjs(data[0].timestamp).subtract(7, 'days').format(dateFormat)}</span>
+ <span>{dayjs(data[data?.length - 1]?.timestamp).format(dateFormat)}</span>
+ </div>
+ )}
+ </div>
+ </div>
+ )
+}
+
+export default Metrics
diff --git a/apps/www/components/Products/Functions/NpmEcosystem.tsx b/apps/www/components/Products/Functions/NpmEcosystem.tsx
new file mode 100644
index 00000000000..40c2cd400f5
--- /dev/null
+++ b/apps/www/components/Products/Functions/NpmEcosystem.tsx
@@ -0,0 +1,130 @@
+import React from 'react'
+
+const npmList = [
+ 'fetch',
+ 'crypto',
+ 'ESLint',
+ 'atob',
+ 'moment',
+ 'express',
+ 'fastify',
+ 'socket.io',
+ 'async',
+ 'lodash',
+ 'underscore',
+ 'ramda',
+ 'validator',
+ 'yup',
+ 'day.js',
+ 'date-fns',
+ 'jsonwebtoken',
+ 'bcrypt',
+ 'uuid',
+ 'fs-extra',
+ 'rimraf',
+ 'mkdirp',
+ 'glob',
+ 'shelljs',
+ '@supabase/supabase-js',
+ 'js-yaml',
+ 'typescript',
+ 'jest',
+ 'winston',
+ 'debug',
+ 'eslint',
+ 'nodemon',
+ 'dotenv',
+ '@octokit/rest',
+ 'cross-env',
+ 'commander',
+ 'yargs',
+ 'minimist',
+ 'chalk',
+ 'colors',
+ 'ora',
+ '@aws-sdk',
+ 'axios',
+ 'passport',
+ 'nodemailer',
+ '@supabase/auth-helpers-react',
+ 'mongoose',
+ 'openai',
+ 'jwt',
+ 'react',
+ 'mocha',
+ 'autoprefixer',
+ '@supabase/auth-ui-react',
+ 'gray-matter',
+ 'request',
+ 'prop-types',
+ 'react-dom',
+ 'bluebird',
+ 'vue',
+ 'tslib',
+ 'inquirer',
+ 'webpack',
+ 'classnames',
+ 'body-parser',
+ 'rxjs',
+ 'babel-runtime',
+ 'jquery',
+ 'fetch',
+ 'crypto',
+ 'eslint',
+ 'atob',
+ 'moment',
+ 'express',
+ 'fastify',
+ 'socket.io',
+ 'async',
+ 'lodash',
+ 'underscore',
+ 'ramda',
+ 'validator',
+ 'yup',
+ 'day.js',
+ 'date-fns',
+ 'jsonwebtoken',
+ 'bcrypt',
+ 'minimist',
+ 'chalk',
+]
+
+const NpmEcosystem = () => {
+ return (
+ <div className="relative w-full h-full flex justify-center overflow-hidden group">
+ <div
+ className="absolute flex flex-wrap items-start gap-2 opacity-80 dark:opacity-50"
+ style={{ left: -50, right: -150 }}
+ >
+ {npmList.map((module, i) => (
+ <span
+ key={`${module}-${i}`}
+ className="py-1 px-2 rounded-md bg-surface-75 border text-foreground-muted"
+ >
+ {module}
+ </span>
+ ))}
+ </div>
+ <div
+ className="absolute inset-0"
+ style={{
+ background: `radial-gradient(70% 50% at 50% 50%, transparent, hsl(var(--background-surface-100))`,
+ }}
+ />
+ <div className="absolute z-10 inset-0 flex flex-col items-center justify-center font-bold text-7xl uppercase text-foreground-light group-hover:text-foreground transition-colors">
+ <svg
+ width="111"
+ height="42"
+ viewBox="0 0 111 42"
+ fill="currentColor"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M36.1763 37.4452H49.2591V30.8616H62.342V4.52698H36.1763V37.4452ZM49.2591 11.1106H55.8006V24.2779H49.2591V11.1106ZM67.5752 4.52698V30.8616H80.6581V11.1106H87.1995V30.8616H93.7409V11.1106H100.282V30.8616H106.824V4.52698H67.5752ZM4.77734 30.8616H17.8602V11.1106H24.4017V30.8616H30.9431V4.52698H4.77734V30.8616Z" />
+ </svg>
+ </div>
+ </div>
+ )
+}
+
+export default NpmEcosystem
diff --git a/apps/www/components/Products/Functions/ParityImage.tsx b/apps/www/components/Products/Functions/ParityImage.tsx
new file mode 100644
index 00000000000..8cfcbb26215
--- /dev/null
+++ b/apps/www/components/Products/Functions/ParityImage.tsx
@@ -0,0 +1,46 @@
+import Image from 'next/image'
+import React from 'react'
+
+const ParityImage = () => (
+ <div className="relative w-full h-full flex items-center justify-center text-sm">
+ <Image
+ src="/images/product/functions/lines-gradient-light.svg"
+ alt=""
+ fill
+ sizes="100%"
+ aria-hidden
+ draggable={false}
+ className="object-cover absolute z-0 inset-0 dark:hidden block"
+ />
+ <Image
+ src="/images/product/functions/lines-gradient-dark.svg"
+ alt=""
+ fill
+ sizes="100%"
+ aria-hidden
+ draggable={false}
+ className="object-cover absolute z-0 inset-0 hidden dark:block"
+ />
+ <div className="relative z-10 p-4 font-mono bg-surface-200 border-2 border-dashed rounded-2xl justify-center items-center gap-1 flex">
+ <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow border flex-col justify-center items-center">
+ <div className="text-foreground uppercase tracking-wide">Dev</div>
+ </div>
+ <svg width="32" height="7" viewBox="0 0 32 7" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M27 5.74425C27 6.0204 27.3382 6.21566 27.5774 6.07759L31.4226 3.8575C31.6618 3.71943 31.6618 3.32891 31.4226 3.19084L27.5774 0.970752C27.3382 0.832681 27 1.02794 27 1.30409V5.74425ZM5 1.30409C5 1.02794 4.6618 0.832681 4.42265 0.970752L0.57735 3.19084C0.338204 3.32891 0.338204 3.71943 0.57735 3.8575L4.42265 6.07759C4.6618 6.21566 5 6.0204 5 5.74425V1.30409ZM27.5 3.02417H4.5V4.02417H27.5V3.02417Z"
+ fill="currentColor"
+ />
+ <path
+ d="M5 1.30409C5 1.02794 4.6618 0.832681 4.42265 0.970752L0.57735 3.19084C0.338204 3.32891 0.338204 3.71943 0.57735 3.8575L4.42265 6.07759C4.6618 6.21566 5 6.0204 5 5.74425V1.30409ZM27 5.74425C27 6.0204 27.3382 6.21566 27.5774 6.07759L31.4226 3.8575C31.6618 3.71943 31.6618 3.32891 31.4226 3.19084L27.5774 0.970752C27.3382 0.832681 27 1.02794 27 1.30409V5.74425ZM4.5 4.02417H27.5V3.02417H4.5V4.02417Z"
+ fill="currentColor"
+ />
+ </svg>
+
+ <div className="py-2 px-4 bg-alternative-200 rounded-lg shadow border flex-col justify-center items-center">
+ <div className="text-foreground uppercase tracking-wide">Prod</div>
+ </div>
+ </div>
+ </div>
+)
+
+export default ParityImage
diff --git a/apps/www/components/Products/Functions/QueryLogs.tsx b/apps/www/components/Products/Functions/QueryLogs.tsx
new file mode 100644
index 00000000000..429c67d121a
--- /dev/null
+++ b/apps/www/components/Products/Functions/QueryLogs.tsx
@@ -0,0 +1,162 @@
+import React, { useEffect, useState } from 'react'
+import dayjs from 'dayjs'
+import { AnimatePresence, motion } from 'framer-motion'
+import { Badge, IconAlertCircle, IconInfo, cn } from 'ui'
+import { useInterval } from 'react-use'
+
+enum STATUS {
+ LOG = 'LOG',
+ INFO = 'INFO',
+ ERROR = 'ERROR',
+}
+
+const messages = {
+ LOG: [
+ '{ query: "sign in" }',
+ '{ query: "cors" }',
+ '{ query: "context" }',
+ '{ query: "auth" }',
+ 'Listening on http://localhost:9999/',
+ 'Function up and running',
+ ],
+ INFO: [
+ 'shutdown (reason: wall clock time limit reached)',
+ 'booted (time: 62ms)',
+ 'booted (time: 65ms)',
+ 'booted (time: 68ms)',
+ 'booted (time: 69ms)',
+ 'booted (time: 71ms)',
+ 'booted (time: 78ms)',
+ 'booted (time: 79ms)',
+ 'booted (time: 82ms)',
+ 'booted (time: 84ms)',
+ 'booted (time: 88ms)',
+ 'booted (time: 91ms)',
+ 'booted (time: 93ms)',
+ 'booted (time: 97ms)',
+ 'booted (time: 98ms)',
+ 'booted (time: 99ms)',
+ 'booted (time: 102ms)',
+ 'booted (time: 110ms)',
+ ],
+ ERROR: ['warning: Use of deprecated API.'],
+}
+
+function getRandomNumber(min: number, max: number) {
+ var range = max - min
+ var randomNumber = Math.random() * range + min
+
+ return Math.round(randomNumber)
+}
+
+const QueryLogs = ({ isActive, isInView }: { isActive?: boolean; isInView?: boolean }) => {
+ const [mounted, setMounted] = useState(false)
+
+ const isPlaying = isActive && isInView
+ const INTERVAL = 550 // in milliseconds
+
+ const logs = [
+ createLog(),
+ createLog(2000),
+ createLog(3000),
+ createLog(4000),
+ createLog(5000),
+ createLog(6000),
+ createLog(7000),
+ createLog(8000),
+ createLog(9000),
+ createLog(10000),
+ ]
+
+ const [activeLogs, setActiveLogs] = useState(logs)
+
+ function createLog(offset?: number) {
+ const t = new Date()
+ t.setSeconds(t.getSeconds() - (offset ?? 0))
+ const randomStatus = Math.random()
+ const s = randomStatus > 0.99 ? STATUS.ERROR : randomStatus > 0.5 ? STATUS.INFO : STATUS.LOG
+
+ const randomMessage = messages[s][getRandomNumber(0, messages[s].length - 1)]
+
+ return {
+ timestamp: t,
+ id: crypto.randomUUID(),
+ status: s,
+ message: randomMessage,
+ }
+ }
+
+ useInterval(
+ () => {
+ const skip = Math.random() > 0.6
+ if (skip) return
+
+ const newLog = createLog()
+ setActiveLogs([newLog, ...activeLogs])
+ },
+ isPlaying ? INTERVAL : null
+ )
+
+ useEffect(() => {
+ setMounted(true)
+ }, [])
+
+ if (!mounted) return null
+
+ return (
+ <div className="absolute inset-0 bottom-8 overflow-hidden">
+ <div
+ className="absolute z-20 pointer-events-none inset-0 top-auto h-32"
+ style={{
+ background:
+ 'linear-gradient(to top, hsl(var(--background-surface-100)) 0%, transparent 100%)',
+ }}
+ />
+ <motion.ul
+ layout
+ transition={{
+ delay: -0.22,
+ duration: 0.1,
+ staggerChildren: 0.1,
+ }}
+ className="relative z-10 w-full h-auto flex flex-col px-4 overflow-y-auto"
+ >
+ <AnimatePresence>
+ {activeLogs.map((log, i) => (
+ <motion.li
+ layout
+ key={log.id}
+ initial={{ opacity: 0, y: -20 }}
+ animate={{
+ opacity: 1,
+ y: 0,
+ transition: { delay: 0.2 + i * 0.03, duration: 0.15 },
+ }}
+ className="py-2 md:px-4 pointer-events-auto border-b hover:bg-selection/20 first:border-t w-full font-mono text-xs flex gap-4 lg:gap-5 items-center"
+ >
+ <span className="shrink-0">{dayjs(log.timestamp).format('D MMM HH:mm:ss')}</span>
+ <span
+ className={cn(
+ 'w-[50px] flex items-center gap-1',
+ log.status === 'ERROR' ? '!text-red-900' : '!text-blue-900'
+ )}
+ >
+ <span>
+ {log.status === 'LOG' ? (
+ <IconInfo size={14} strokeWidth={2} />
+ ) : (
+ <IconAlertCircle size={14} strokeWidth={2} />
+ )}
+ </span>
+ <span>{log.status}</span>
+ </span>
+ <span className="truncate">{log.message}</span>
+ </motion.li>
+ ))}
+ </AnimatePresence>
+ </motion.ul>
+ </div>
+ )
+}
+
+export default QueryLogs
diff --git a/apps/www/components/Products/Functions/RealtimeLogs.tsx b/apps/www/components/Products/Functions/RealtimeLogs.tsx
new file mode 100644
index 00000000000..3ef02820579
--- /dev/null
+++ b/apps/www/components/Products/Functions/RealtimeLogs.tsx
@@ -0,0 +1,104 @@
+import React, { useEffect, useState } from 'react'
+import dayjs from 'dayjs'
+import { AnimatePresence, motion } from 'framer-motion'
+import { Badge } from 'ui'
+import { useInterval } from 'react-use'
+
+const RealtimeLogs = ({ isActive, isInView }: { isActive?: boolean; isInView?: boolean }) => {
+ const [mounted, setMounted] = useState(false)
+
+ const isPlaying = isActive && isInView
+ const INTERVAL = 550 // in milliseconds
+
+ const logs = [
+ createLog(),
+ createLog(2000),
+ createLog(3000),
+ createLog(4000),
+ createLog(5000),
+ createLog(6000),
+ createLog(7000),
+ createLog(8000),
+ createLog(9000),
+ createLog(10000),
+ ]
+
+ const [activeLogs, setActiveLogs] = useState(logs)
+
+ function createLog(offset?: number) {
+ const t = new Date()
+ t.setSeconds(t.getSeconds() - (offset ?? 0))
+
+ return {
+ status: Math.random() > 0.995 ? 500 : 200,
+ method: Math.random() > 0.5 ? 'GET' : 'POST',
+ id: crypto.randomUUID(),
+ timestamp: t,
+ }
+ }
+
+ useInterval(
+ () => {
+ const skip = Math.random() > 0.6
+ if (skip) return
+
+ const newLog = createLog()
+ setActiveLogs([newLog, ...activeLogs])
+ },
+ isPlaying ? INTERVAL : null
+ )
+
+ useEffect(() => {
+ setMounted(true)
+ }, [])
+
+ if (!mounted) return null
+
+ return (
+ <div className="absolute inset-0 bottom-8 overflow-hidden">
+ <div
+ className="absolute z-20 pointer-events-none inset-0 top-auto h-32"
+ style={{
+ background:
+ 'linear-gradient(to top, hsl(var(--background-surface-100)) 0%, transparent 100%)',
+ }}
+ />
+ <motion.ul
+ layout
+ transition={{
+ delay: -0.22,
+ duration: 0.1,
+ staggerChildren: 0.2,
+ }}
+ className="relative z-10 w-full h-auto flex flex-col px-4 overflow-y-auto"
+ >
+ <AnimatePresence>
+ {activeLogs.map((log, i) => (
+ <motion.li
+ layout
+ key={log.id}
+ initial={{ opacity: 0, y: -20 }}
+ animate={{
+ opacity: 1,
+ y: 0,
+ transition: { delay: 0.2 + i * 0.03, duration: 0.15 },
+ }}
+ className="py-2 md:px-4 pointer-events-auto border-b hover:bg-selection/20 first:border-t w-full font-mono text-xs flex gap-4 items-center"
+ >
+ <span className="shrink-0">{dayjs(log.timestamp).format('D MMM HH:mm:ss')}</span>
+ <span className="">
+ <Badge color={log.status === 200 ? 'slate' : 'amber'} className="rounded">
+ {log.status}
+ </Badge>
+ </span>
+ <span className="w-10 truncate">{log.method}</span>
+ <span className="truncate">{log.id}</span>
+ </motion.li>
+ ))}
+ </AnimatePresence>
+ </motion.ul>
+ </div>
+ )
+}
+
+export default RealtimeLogs
diff --git a/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx b/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx
new file mode 100644
index 00000000000..a3aa4b7b8e7
--- /dev/null
+++ b/apps/www/components/Products/Functions/TriggerViaWebhookPanel.tsx
@@ -0,0 +1,23 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const code = `create trigger "my_webhook" after insert
+on "public"."my_table" for each row
+execute function "supabase_functions"."http_request"(
+ 'http://localhost:3000',
+ 'POST',
+ '{"Content-Type":"application/json"}',
+ '{}',
+ '1000'
+);`
+
+const TriggerViaWebhookPanel = () => (
+ <CodeWindow
+ className="[&_.synthax-highlighter]:md:!min-h-[300px]"
+ code={code}
+ lang="sql"
+ showLineNumbers
+ />
+)
+
+export default TriggerViaWebhookPanel
diff --git a/apps/www/components/Products/Functions/WorksWithAuthPanel.tsx b/apps/www/components/Products/Functions/WorksWithAuthPanel.tsx
new file mode 100644
index 00000000000..470fb46a523
--- /dev/null
+++ b/apps/www/components/Products/Functions/WorksWithAuthPanel.tsx
@@ -0,0 +1,25 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const code = `import { createClient } from 'https://esm.sh/@supabase/supabase-js@2'
+
+Deno.serve(async (req: Request) => {
+ // Create supabase client
+ const supabase = createClient(
+ Deno.env.get('SUPABASE_URL')!,
+ Deno.env.get('SUPABASE_SERVICE_ROLE_KEY')!,
+ { global: {
+ headers: {
+ Authorization: req.headers.get('Authorization')!}
+ }
+ }
+ )
+
+ // Get the session or user object
+ const { data } = await supabase.auth.getUser()
+ const user = data.user
+})`
+
+const WorksWithAuthPanel = () => <CodeWindow code={code} showLineNumbers />
+
+export default WorksWithAuthPanel
diff --git a/apps/www/components/Products/Functions/WorksWithStoragePanel.tsx b/apps/www/components/Products/Functions/WorksWithStoragePanel.tsx
new file mode 100644
index 00000000000..91811b86f4f
--- /dev/null
+++ b/apps/www/components/Products/Functions/WorksWithStoragePanel.tsx
@@ -0,0 +1,25 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const code = `import { createClient } from 'https://esm.sh/@supabase/supabase-js@2'
+
+Deno.serve(async (req: Request) => {
+ // Create supabase client
+ const supabase = createClient(
+ Deno.env.get('SUPABASE_URL')!,
+ Deno.env.get('SUPABASE_SERVICE_ROLE_KEY')!
+ )
+
+ // Upload image to storage
+ const { data, error } = await supabase.storage
+ .from('images')
+ .upload('filename.png', file, {
+ contentType: 'image/png',
+ cacheControl: '31536000',
+ upsert: false,
+ })
+}`
+
+const WorksWithStoragePanel = () => <CodeWindow code={code} showLineNumbers />
+
+export default WorksWithStoragePanel
diff --git a/apps/www/components/Products/Functions/ZeroConfigPanel.tsx b/apps/www/components/Products/Functions/ZeroConfigPanel.tsx
new file mode 100644
index 00000000000..01aa683d3b7
--- /dev/null
+++ b/apps/www/components/Products/Functions/ZeroConfigPanel.tsx
@@ -0,0 +1,13 @@
+import React from 'react'
+import CodeWindow from '~/components/CodeWindow'
+
+const code = `const supabase = createClient(
+ Deno.env.get('SUPABASE_URL'),
+ Deno.env.get('SUPABASE_ANON_KEY')
+)`
+
+const ZeroConfigPanel = () => (
+ <CodeWindow className="[&_.synthax-highlighter]:md:!min-h-[300px]" code={code} showLineNumbers />
+)
+
+export default ZeroConfigPanel
diff --git a/apps/www/components/Products/Functions/local-dx-grid.module.css b/apps/www/components/Products/Functions/local-dx-grid.module.css
new file mode 100644
index 00000000000..5918ff71a1c
--- /dev/null
+++ b/apps/www/components/Products/Functions/local-dx-grid.module.css
@@ -0,0 +1,13 @@
+.local-dx-grid {
+ grid-template-areas:
+ 'localDX parity'
+ 'ecosystem ci ';
+}
+
+@media (min-width: 1280px) {
+ .local-dx-grid {
+ grid-template-areas:
+ 'localDX parity ecosystem'
+ 'ci ci ecosystem';
+ }
+}
diff --git a/apps/www/components/Products/ProductsNav.tsx b/apps/www/components/Products/ProductsNav.tsx
new file mode 100644
index 00000000000..5fd2a357885
--- /dev/null
+++ b/apps/www/components/Products/ProductsNav.tsx
@@ -0,0 +1,53 @@
+import React from 'react'
+import { cn } from 'ui'
+import Link from 'next/link'
+import { PRODUCT_NAMES, products } from 'shared-data/products'
+
+import SectionContainer from '~/components/Layouts/SectionContainer'
+
+interface Props {
+ activePage: PRODUCT_NAMES
+}
+
+function ProductsNav({ activePage }: Props) {
+ return (
+ <nav className="relative z-30 hidden md:flex items-center bg-background w-full border-b">
+ <SectionContainer className="!py-0 flex gap-3 items-center">
+ {Object.entries(products).map((obj: any) => {
+ const product = obj[1]
+ const isAuth = product.name === PRODUCT_NAMES.AUTHENTICATION
+
+ return (
+ <Link
+ key={product.name}
+ className={cn(
+ 'flex items-center gap-1.5 px-2 first:-ml-2 py-4 border-b border-transparent text-sm text-foreground-lighter hover:text-foreground',
+ 'focus-visible:ring-2 focus-visible:ring-foreground-lighter focus-visible:text-foreground focus-visible:outline-brand-600',
+ product.name === activePage && 'border-foreground-light text-foreground'
+ )}
+ href={`/${isAuth ? 'auth' : product.name.toLowerCase().replace(' ', '-')}`}
+ >
+ <svg
+ className="h-4 w-4 group-hover/menu-item:text-foreground group-focus-visible/menu-item:text-foreground"
+ xmlns="http://www.w3.org/2000/svg"
+ fill="none"
+ viewBox="0 0 18 18"
+ >
+ <path
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1"
+ d={product.icon['18']}
+ stroke="currentColor"
+ />
+ </svg>
+ <p>{isAuth ? 'Auth' : product.name}</p>
+ </Link>
+ )
+ })}
+ </SectionContainer>
+ </nav>
+ )
+}
+
+export default ProductsNav
diff --git a/apps/www/components/Sections/APISection.tsx b/apps/www/components/Sections/APISection.tsx
index 6193390b0f9..ac726cd5151 100644
--- a/apps/www/components/Sections/APISection.tsx
+++ b/apps/www/components/Sections/APISection.tsx
@@ -1,5 +1,5 @@
// Import Swiper styles if swiper used on page
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { useState } from 'react'
import { Button, IconArrowUpRight, Tabs } from 'ui'
diff --git a/apps/www/components/Sections/CommunitySlider.tsx b/apps/www/components/Sections/CommunitySlider.tsx
index b8e5d8fa50f..afdd7bb49c0 100644
--- a/apps/www/components/Sections/CommunitySlider.tsx
+++ b/apps/www/components/Sections/CommunitySlider.tsx
@@ -5,9 +5,10 @@ import Link from 'next/link'
import { useWindowSize } from 'react-use'
import { Swiper, SwiperSlide } from 'swiper/react'
-import SwiperCore, { Autoplay } from 'swiper'
+import SwiperCore from 'swiper'
+import { Autoplay } from 'swiper/modules'
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import SectionContainer from '../Layouts/SectionContainer'
import { useBreakpoint } from 'common'
import { TweetCard } from 'ui-patterns/TweetCard'
diff --git a/apps/www/components/Sections/GithubExamples.tsx b/apps/www/components/Sections/GithubExamples.tsx
index 41b5fe8732e..603521d0ba6 100644
--- a/apps/www/components/Sections/GithubExamples.tsx
+++ b/apps/www/components/Sections/GithubExamples.tsx
@@ -2,7 +2,8 @@ import { useRef } from 'react'
import { Swiper, SwiperSlide } from 'swiper/react'
// import Swiper core and required modules
-import SwiperCore, { Navigation, Pagination } from 'swiper'
+import SwiperCore from 'swiper'
+import { Navigation, Pagination } from 'swiper/modules'
import Link from 'next/link'
import { Button, IconGitHub, IconArrowLeft, IconArrowRight, IconBookOpen } from 'ui'
diff --git a/apps/www/components/Sections/HighlightColumns.tsx b/apps/www/components/Sections/HighlightColumns.tsx
new file mode 100644
index 00000000000..442a0ff2b7f
--- /dev/null
+++ b/apps/www/components/Sections/HighlightColumns.tsx
@@ -0,0 +1,38 @@
+import React, { useRef, useState } from 'react'
+import { INITIAL_BOTTOM, getAnimation } from '~/lib/animations'
+
+interface Highlight {
+ image?: React.ReactNode
+ svg?: React.ReactNode
+ title: string
+ paragraph: string | React.ReactNode
+}
+
+const HighlightColumns = ({ highlights }: { highlights: Highlight[] }) => {
+ return (
+ <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 md:gap-8 xl:gap-32">
+ {highlights.map((highlight, i) => (
+ <Highlight highlight={highlight} key={highlight.title} />
+ ))}
+ </div>
+ )
+}
+
+const Highlight = ({ highlight }: { highlight: Highlight }) => {
+ const Img: any = highlight.image
+
+ return (
+ <div className="flex flex-col">
+ <div className="relative w-full mb-4">
+ {highlight.image && <Img />}
+ {highlight.svg && highlight.svg}
+ </div>
+ <div className="flex flex-col gap-2">
+ <h3 className="text-lg text-foreground">{highlight.title}</h3>
+ <p className="text-foreground-lighter">{highlight.paragraph}</p>
+ </div>
+ </div>
+ )
+}
+
+export default HighlightColumns
diff --git a/apps/www/components/Sections/ProductHeader2.tsx b/apps/www/components/Sections/ProductHeader2.tsx
new file mode 100644
index 00000000000..57d92e32737
--- /dev/null
+++ b/apps/www/components/Sections/ProductHeader2.tsx
@@ -0,0 +1,72 @@
+import React from 'react'
+import { Button } from 'ui'
+import Link from 'next/link'
+import ProductIcon from '../ProductIcon'
+import SectionContainer from '../Layouts/SectionContainer'
+import { CTA } from '~/types/common'
+
+interface Props {
+ h1: string | React.ReactNode
+ subheader?: string[] | React.ReactNode[]
+ icon?: string
+ title?: string
+ image?: React.ReactNode
+ footer?: React.ReactNode
+ ctas?: CTA[]
+}
+
+const ProductHeader = (props: Props) => (
+ <div className="w-full max-w-full relative mx-auto py-16 lg:py-24 border-b bg-alternative overflow-hidden">
+ <SectionContainer className="!py-0 grid grid-cols-12">
+ <div className="relative z-10 col-span-12 gap-8 lg:col-span-5">
+ <div>
+ {(props.icon || props.title) && (
+ <div className="mb-4 flex items-center gap-3">
+ {props.icon && <ProductIcon icon={props.icon} />}
+ {props.title && (
+ <span
+ className="text-brand-600 dark:text-brand font-mono uppercase"
+ key={`product-name-${props.title}`}
+ >
+ {props.title}
+ </span>
+ )}
+ </div>
+ )}
+ <h1 className="h1 text-3xl md:!text-4xl lg:!text-4xl 2xl:!text-6xl tracking-[-.15px]">
+ {props.h1}
+ </h1>
+ </div>
+ <div>
+ {props.subheader &&
+ props.subheader.map((subheader, i) => {
+ return (
+ <p className="p lg:text-lg max-w-lg lg:max-w-none" key={i}>
+ {subheader}
+ </p>
+ )
+ })}
+ </div>
+ <div className="flex flex-row md:flex-row md:items-center gap-2">
+ {props.ctas?.map((cta) => (
+ <Button key={cta.href} size="medium" type={cta.type ?? 'default'} asChild>
+ <Link href={cta.href}>{cta.label ?? 'Start for free'}</Link>
+ </Button>
+ ))}
+ </div>
+ </div>
+ {props.image && (
+ <div className="relative min-h-[300px] col-span-12 mt-8 lg:col-span-7 lg:mt-0 xl:col-span-6 xl:col-start-7">
+ {props.image}
+ </div>
+ )}
+ {props.footer && (
+ <div className="relative z-10 mt-4 md:mt-8 lg:mt-20 xl:mt-32 col-span-12">
+ {props.footer}
+ </div>
+ )}
+ </SectionContainer>
+ </div>
+)
+
+export default ProductHeader
diff --git a/apps/www/components/Sections/ProductsCta.tsx b/apps/www/components/Sections/ProductsCta.tsx
index 8e5cfa0081d..aaad5ffb64d 100644
--- a/apps/www/components/Sections/ProductsCta.tsx
+++ b/apps/www/components/Sections/ProductsCta.tsx
@@ -6,12 +6,12 @@ import { PRODUCT_SHORTNAMES } from '~/lib/constants'
export type Products = PRODUCT_SHORTNAMES
interface Props {
- currentProduct?: Products
+ currentProduct: Products | string
}
function ProductsCta(props: Props) {
return (
- <SectionContainer>
+ <SectionContainer className="overflow-hidden">
<div className="flex flex-col text-center gap-4 items-center justify-center">
<h2 className="heading-gradient text-2xl sm:text-3xl xl:text-4xl">
Pick your SupaPower(s)
diff --git a/apps/www/components/Sections/ProductsCta2.tsx b/apps/www/components/Sections/ProductsCta2.tsx
new file mode 100644
index 00000000000..c4e26db1501
--- /dev/null
+++ b/apps/www/components/Sections/ProductsCta2.tsx
@@ -0,0 +1,41 @@
+import Link from 'next/link'
+import React from 'react'
+import { Button, cn } from 'ui'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import MagnifiedProducts from '~/components/MagnifiedProducts'
+import { PRODUCT_SHORTNAMES } from '~/lib/constants'
+
+export type Products = PRODUCT_SHORTNAMES
+
+interface Props {
+ currentProduct: Products | string
+ className?: string
+}
+
+function ProductsCta(props: Props) {
+ return (
+ <SectionContainer
+ className={cn(
+ 'overflow-hidden flex flex-col xl:grid xl:grid-cols-2 gap-4 md:gap-8 xl:gap-10',
+ props.className
+ )}
+ >
+ <div className="w-full pb-6 md:h-[120px] flex items-center justify-center text-center col-span-1">
+ <MagnifiedProducts currentProduct={props.currentProduct} />
+ </div>
+ <div className="flex flex-col col-span-1 text-center xl:text-left xl:justify-center items-center xl:items-start">
+ <h2 className="h2">Ready to start building?</h2>
+ <div className="flex gap-2 py-2">
+ <Button asChild type="primary" size="small" className="h-full">
+ <Link href="https://supabase.com/dashboard">Start for free</Link>
+ </Button>
+ <Button asChild type="default" size="small">
+ <Link href="https://forms.supabase.com/enterprise">Contact Enterprise</Link>
+ </Button>
+ </div>
+ </div>
+ </SectionContainer>
+ )
+}
+
+export default ProductsCta
diff --git a/apps/www/components/Sections/TimedAccordionPanels.tsx b/apps/www/components/Sections/TimedAccordionPanels.tsx
new file mode 100644
index 00000000000..8095eeec024
--- /dev/null
+++ b/apps/www/components/Sections/TimedAccordionPanels.tsx
@@ -0,0 +1,206 @@
+import 'swiper/css'
+
+import React, { useState, useEffect, useRef } from 'react'
+import { LazyMotion, domAnimation, m, useAnimation, useInView } from 'framer-motion'
+import { cn } from 'ui'
+import { Swiper, SwiperSlide } from 'swiper/react'
+import Panel from '../Panel'
+import { useBreakpoint } from 'common'
+
+interface PanelProps {
+ id: string
+ label: string | React.ReactNode
+ paragraph?: string
+ icon?: React.ReactNode
+ isActive?: boolean
+ isInView?: boolean
+ onClick?: VoidFunction
+ progress?: number | undefined
+ intervalDuration?: number
+ image?: any
+}
+
+const TimedPanel = ({
+ isActive,
+ label,
+ paragraph,
+ onClick,
+ progress,
+ intervalDuration,
+ image,
+ isInView,
+}: PanelProps) => {
+ const isSm = useBreakpoint()
+ const Image: any = image ?? null
+
+ return (
+ <button
+ onMouseEnter={() => !isSm && onClick && onClick()}
+ onClick={() => isSm && onClick && onClick()}
+ className={cn(
+ 'relative hover:text-foreground w-full h-[500px] text-left text-lg flex flex-col group transition-all',
+ isActive ? 'text-foreground md:flex-[2]' : 'text-foreground-light md:flex-[1]'
+ )}
+ aria-selected={isActive}
+ role="tab"
+ >
+ <Panel outerClassName="w-full h-full mb-4" innerClassName="p-4">
+ <div className="relative z-10 flex flex-col h-full justify-between">
+ <h3
+ className={cn(
+ 'font-mono text-sm uppercase transition-colors',
+ isActive && 'text-foreground'
+ )}
+ >
+ {label}
+ </h3>
+ <p
+ className={cn(
+ 'pt-2 text-foreground-lighter text-sm max-w-[220px] md:opacity-0 transition-opacity lg:opacity-100',
+ isActive && '!opacity-100'
+ )}
+ >
+ {paragraph}
+ </p>
+ </div>
+ <div
+ className={cn(
+ 'absolute h-[calc(100%-150px)] mt-14 inset-0 m-auto flex items-center justify-center transition-opacity',
+ isActive ? 'opacity-100' : 'opacity-25'
+ )}
+ >
+ <div
+ className={cn(
+ 'absolute z-20 w-full h-full inset-0 bg-gradient-to-r from-transparent to-background-surface-100 transition-opacity pointer-events-none',
+ isActive && 'opacity-0'
+ )}
+ />
+ <Image isActive={isActive} isInView={isInView} />
+ </div>
+ </Panel>
+ {!isSm && isActive && (
+ <div className="opacity-0 animate-fade-in absolute bottom-0 w-full h-[1px] bg-border-strong group-hover:opacity-100 rounded-full overflow-hidden">
+ <LazyMotion features={domAnimation}>
+ <m.div
+ className={cn(
+ 'absolute inset-0 w-full right-full bg-foreground h-full transition-opacity',
+ progress! > 99.7 ? 'opacity-0' : 'opacity-100'
+ )}
+ style={{ x: `${progress! - 100}%` }}
+ transition={{ duration: intervalDuration }}
+ />
+ </LazyMotion>
+ </div>
+ )}
+ </button>
+ )
+}
+
+interface Props {
+ panels: PanelProps[]
+ intervalDuration?: number
+ updateFrequency?: number
+ isInView?: boolean
+}
+
+const TimedAccordionPanels = ({ panels, intervalDuration = 10, updateFrequency = 10 }: Props) => {
+ const ref = useRef(null)
+ const isInView = useInView(ref, { margin: '-25%' })
+ const [activeTab, setActiveTab] = useState(0)
+ const [progress, setProgress] = useState(0)
+ const [apiSwiper, setApiSwiper] = useState(undefined)
+ const controls = useAnimation()
+
+ useEffect(() => {
+ if (!apiSwiper) return
+ // @ts-ignore
+ apiSwiper.slideTo(activeTab)
+ }, [activeTab])
+
+ const restartInterval = (tabIndex: number) => {
+ setProgress(0)
+ setActiveTab(tabIndex)
+ }
+
+ const animation = {
+ width: '100%',
+ transition: { duration: intervalDuration, ease: 'linear' },
+ }
+
+ useEffect(() => {
+ // pause timer when component is not in view
+ if (!isInView) {
+ controls.stop()
+ setProgress(progress)
+ return
+ }
+
+ const progressIncrement = (100 / intervalDuration) * (updateFrequency / 1000)
+ controls.start(animation)
+ const progressInterval = setInterval(() => {
+ setProgress((prevProgress) => (prevProgress + progressIncrement) % 101)
+ }, updateFrequency)
+
+ return () => {
+ clearInterval(progressInterval)
+ setProgress(0)
+ }
+ }, [isInView])
+
+ useEffect(() => {
+ if (progress >= 100.9) {
+ setActiveTab((prevActiveTab) => (prevActiveTab === panels.length - 1 ? 0 : prevActiveTab + 1))
+ }
+ }, [progress])
+
+ const handleTabClick = (tabIndex: number) => {
+ // Disable trigger if tab is already active
+ if (tabIndex === activeTab) return
+ restartInterval(tabIndex)
+ }
+
+ return (
+ <div ref={ref} className="flex flex-col gap-8 xl:gap-32 justify-between">
+ <div className="hidden md:flex gap-4" role="tablist">
+ {panels.map((panel, index) => (
+ <TimedPanel
+ key={index}
+ isActive={index === activeTab}
+ isInView={isInView}
+ onClick={() => handleTabClick(index)}
+ progress={index === activeTab ? progress : undefined}
+ intervalDuration={intervalDuration}
+ {...panel}
+ />
+ ))}
+ </div>
+ <div className="md:hidden relative w-full lg:w-1/2 min-h-[300px] overflow-visible">
+ <Swiper
+ // @ts-ignore
+ onSwiper={setApiSwiper}
+ style={{ zIndex: 0, overflow: 'visible' }}
+ initialSlide={0}
+ spaceBetween={10}
+ onSlideChange={(s) => handleTabClick(s.activeIndex)}
+ slidesPerView={1.1}
+ speed={300}
+ >
+ {panels.map((panel, index) => (
+ <SwiperSlide key={index}>
+ <TimedPanel
+ isActive={index === activeTab}
+ isInView={isInView}
+ onClick={() => handleTabClick(index)}
+ progress={index === activeTab ? progress : undefined}
+ intervalDuration={intervalDuration}
+ {...panel}
+ />
+ </SwiperSlide>
+ ))}
+ </Swiper>
+ </div>
+ </div>
+ )
+}
+
+export default TimedAccordionPanels
diff --git a/apps/www/components/Sections/TimedAccordionSection.tsx b/apps/www/components/Sections/TimedAccordionSection.tsx
new file mode 100644
index 00000000000..178835e1a7b
--- /dev/null
+++ b/apps/www/components/Sections/TimedAccordionSection.tsx
@@ -0,0 +1,176 @@
+import 'swiper/css'
+
+import React, { useState, useEffect, useRef } from 'react'
+import { LazyMotion, domAnimation, m, useAnimation, useInView } from 'framer-motion'
+import { cn } from 'ui'
+import { Swiper, SwiperSlide } from 'swiper/react'
+import { useBreakpoint } from 'common'
+
+interface TabProps {
+ label: string | React.ReactNode
+ paragraph?: string | React.ReactNode
+ isActive: boolean
+ onClick: VoidFunction
+ progress: number | undefined
+ intervalDuration?: number
+}
+
+const Tab = ({ isActive, label, paragraph, onClick, progress, intervalDuration }: TabProps) => {
+ const paragraphRef = useRef<HTMLParagraphElement | null>(null)
+ const [height, setHeight] = useState<number | 'auto'>('auto')
+ useEffect(() => {
+ if (!paragraphRef) return
+ setHeight(isActive ? paragraphRef.current?.clientHeight ?? 0 : 0)
+ }, [isActive])
+
+ return (
+ <button
+ onClick={onClick}
+ className={cn(
+ 'hover:text-foreground w-full text-left text-lg flex flex-col group transition-all',
+ isActive ? 'text-foreground' : 'text-foreground-light'
+ )}
+ aria-selected={isActive}
+ role="tab"
+ >
+ <div className="flex flex-col py-4">
+ <h3 className="font-mono text-sm uppercase">{label}</h3>
+ <div
+ className={cn(
+ 'text-foreground-lighter text-sm inline-block overflow-hidden transition-all',
+ isActive ? 'opacity-100' : 'opacity-0'
+ )}
+ style={{ height: isActive ? `${height}px` : 0 }}
+ >
+ <p ref={paragraphRef} className="pt-2">
+ {paragraph}
+ </p>
+ </div>
+ </div>
+ <div className="relative w-full h-[1px] bg-border-strong opacity-80 group-hover:opacity-100 rounded-full overflow-hidden">
+ <LazyMotion features={domAnimation}>
+ {isActive && (
+ <m.div
+ className={cn(
+ 'absolute inset-0 w-full right-full bg-foreground h-full transition-opacity',
+ progress! > 99.7 ? 'opacity-0' : 'opacity-100'
+ )}
+ style={{ x: `${progress! - 100}%` }}
+ transition={{ duration: intervalDuration }}
+ />
+ )}
+ </LazyMotion>
+ </div>
+ </button>
+ )
+}
+
+interface Tab {
+ label: string | React.ReactNode
+ paragraph?: string | React.ReactNode
+ panel?: JSX.Element
+ code?: string
+}
+
+interface Props {
+ tabs: Tab[]
+ intervalDuration?: number
+ updateFrequency?: number
+}
+
+const TimedAccordionSection = ({ tabs, intervalDuration = 25, updateFrequency = 10 }: Props) => {
+ const ref = useRef(null)
+ const isInView = useInView(ref, { margin: '-25%' })
+ const [activeTab, setActiveTab] = useState(0)
+ const [progress, setProgress] = useState(0)
+ const [apiSwiper, setApiSwiper] = useState(undefined)
+ const controls = useAnimation()
+ const isMobile = useBreakpoint()
+
+ useEffect(() => {
+ if (!apiSwiper) return
+ // @ts-ignore
+ apiSwiper.slideTo(activeTab)
+ }, [activeTab])
+
+ const restartInterval = (tabIndex: number) => {
+ setProgress(0)
+ setActiveTab(tabIndex)
+ }
+
+ const animation = {
+ width: '100%',
+ transition: { duration: intervalDuration, ease: 'linear' },
+ }
+
+ useEffect(() => {
+ // pause timer when component is not in view
+ if (!isInView) {
+ controls.stop()
+ setProgress(progress)
+ return
+ }
+
+ const progressIncrement = (100 / intervalDuration) * (updateFrequency / 1000)
+ controls.start(animation)
+ const progressInterval = setInterval(() => {
+ setProgress((prevProgress) => (prevProgress + progressIncrement) % 101)
+ }, updateFrequency)
+
+ return () => {
+ clearInterval(progressInterval)
+ setProgress(0)
+ }
+ }, [activeTab, controls, isInView])
+
+ useEffect(() => {
+ if (progress >= 100.9) {
+ setActiveTab((prevActiveTab) => (prevActiveTab === tabs.length - 1 ? 0 : prevActiveTab + 1))
+ }
+ }, [progress])
+
+ const handleTabClick = (tabIndex: number) => {
+ // Disable trigger if tab is already active
+ if (tabIndex === activeTab) return
+ restartInterval(tabIndex)
+ }
+
+ return (
+ <div ref={ref} className="flex flex-col lg:flex-row gap-8 xl:gap-24 justify-between">
+ <div className="lg:w-1/3 gap-1 flex flex-col items-start" role="tablist">
+ {tabs.map((tab, index) => (
+ <Tab
+ key={index}
+ isActive={index === activeTab}
+ label={tab.label}
+ paragraph={tab.paragraph}
+ onClick={() => handleTabClick(index)}
+ progress={index === activeTab ? progress : undefined}
+ intervalDuration={intervalDuration}
+ />
+ ))}
+ </div>
+ <div className="relative w-full lg:flex-1 min-h-[400px] md:overflow-hidden -mt-4">
+ <Swiper
+ // @ts-ignore
+ onSwiper={setApiSwiper}
+ style={{ zIndex: 0, marginRight: '1px', overflow: 'visible' }}
+ initialSlide={activeTab}
+ spaceBetween={20}
+ onSlideChange={(s) => handleTabClick(s.activeIndex)}
+ slidesPerView={1}
+ speed={300}
+ allowTouchMove={isMobile}
+ >
+ {tabs.map((tab, i) => (
+ <SwiperSlide key={i} className="md:p-4">
+ {tab.panel}
+ </SwiperSlide>
+ ))}
+ </Swiper>
+ </div>
+ </div>
+ )
+}
+
+export default TimedAccordionSection
diff --git a/apps/www/components/Sections/TimedTabsSection.tsx b/apps/www/components/Sections/TimedTabsSection.tsx
index c5c3c07e237..d8473de8037 100644
--- a/apps/www/components/Sections/TimedTabsSection.tsx
+++ b/apps/www/components/Sections/TimedTabsSection.tsx
@@ -1,3 +1,5 @@
+import 'swiper/css'
+
import React, { useState, useEffect, ReactNode } from 'react'
import Link from 'next/link'
import { AnimatePresence, motion, useAnimation } from 'framer-motion'
diff --git a/apps/www/data/Examples.ts b/apps/www/data/Examples.ts
index fb4e30c6342..a12986071c1 100644
--- a/apps/www/data/Examples.ts
+++ b/apps/www/data/Examples.ts
@@ -198,4 +198,92 @@ export default [
vercel_deploy_url: '',
demo_url: '',
},
+ {
+ type: 'example',
+ tags: ['Vue'],
+ products: [PRODUCT_NAMES.DATABASE],
+ title: 'Vue.js todo list app',
+ description: 'Vue.js todo app using TypeScript',
+ author: 'supabase',
+ author_url: 'https://github.com/supabase',
+ author_img: 'https://avatars.githubusercontent.com/u/54469796',
+ repo_name: 'vue3-ts-todo-list',
+ repo_url:
+ 'https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/vue3-ts-todo-list',
+ vercel_deploy_url: '',
+ demo_url: '',
+ },
+ {
+ type: 'example',
+ tags: ['Angular'],
+ products: [PRODUCT_NAMES.DATABASE],
+ title: 'Angular todo list app',
+ description: 'Angular todo List example',
+ author: 'geromegrignon',
+ author_url: 'https://github.com/geromegrignon',
+ author_img: 'https://avatars.githubusercontent.com/u/32737308',
+ repo_name: 'angular-todo-list',
+ repo_url:
+ 'https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/angular-todo-list',
+ vercel_deploy_url: '',
+ demo_url: '',
+ },
+ {
+ type: 'example',
+ tags: ['Resend'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Sending Emails',
+ description: 'Send emails in Edge Functions with Resend.',
+ repo_url: 'https://supabase.com/docs/guides/functions/examples/send-emails',
+ },
+ {
+ type: 'example',
+ tags: ['OpenAI'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Generating OpenAI GPT3 completions',
+ description: 'Using OpenAI in Edge Functions.',
+ repo_url: 'https://supabase.com/docs/guides/ai/examples/openai',
+ },
+ // {
+ // type: 'example',
+ // tags: ['Supabase'],
+ // products: [PRODUCT_NAMES.FUNCTIONS],
+ // title: 'With supabase-js',
+ // description: 'Use the Supabase client inside your Edge Function.',
+ // repo_url: 'https://supabase.com/docs/guides/functions/auth',
+ // },
+ {
+ type: 'example',
+ tags: ['Stripe'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Stripe Webhooks',
+ description: 'Handling signed Stripe Webhooks with Edge Functions.',
+ repo_url: 'https://supabase.com/docs/guides/functions/examples/stripe-webhooks',
+ },
+ {
+ type: 'example',
+ tags: ['Postgres'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Connecting directly to Postgres',
+ description: 'Connecting to Postgres from Edge Functions.',
+ repo_url: 'https://supabase.com/docs/guides/functions/connect-to-postgres',
+ },
+ {
+ type: 'example',
+ tags: ['Huggingface'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Huggingface Image Captioning',
+ description:
+ 'Use the Hugging Face Inference API to make calls to 100,000+ Machine Learning models from Supabase Edge Functions.',
+ repo_url: 'https://supabase.com/docs/guides/functions/auth',
+ },
+ {
+ type: 'example',
+ tags: ['Supabase'],
+ products: [PRODUCT_NAMES.FUNCTIONS],
+ title: 'Upload files to Storage',
+ description: 'Process multipart/form-data.',
+ repo_url:
+ 'https://github.com/supabase/supabase/tree/master/examples/edge-functions/supabase/functions/file-upload-storage',
+ },
]
diff --git a/apps/www/data/products/functions/page.tsx b/apps/www/data/products/functions/page.tsx
new file mode 100644
index 00000000000..af2c9c5f18c
--- /dev/null
+++ b/apps/www/data/products/functions/page.tsx
@@ -0,0 +1,366 @@
+import dynamic from 'next/dynamic'
+import Link from 'next/link'
+import { IconGlobe } from 'ui'
+
+import solutions from '~/data/Solutions'
+import Examples from '~/data/Examples'
+import { PRODUCT_NAMES } from 'shared-data/products'
+
+const FunctionsHero = dynamic(() => import('~/components/Products/Functions/FunctionsHero'))
+const RealtimeLogs = dynamic(() => import('~/components/Products/Functions/RealtimeLogs'))
+const Metrics = dynamic(() => import('~/components/Products/Functions/Metrics'))
+const QueryLogs = dynamic(() => import('~/components/Products/Functions/QueryLogs'))
+const LocalDXImage = dynamic(() => import('~/components/Products/Functions/LocalDXImage'))
+const ParityImage = dynamic(() => import('~/components/Products/Functions/ParityImage'))
+const NpmEcosystem = dynamic(() => import('~/components/Products/Functions/NpmEcosystem'))
+const CI = dynamic(() => import('~/components/Products/Functions/CI'))
+const ZeroConfigPanel = dynamic(() => import('~/components/Products/Functions/ZeroConfigPanel'))
+const ConnectToDBPanel = dynamic(() => import('~/components/Products/Functions/ConnectToDBPanel'))
+const TriggerViaWebhookPanel = dynamic(
+ () => import('~/components/Products/Functions/TriggerViaWebhookPanel')
+)
+const WorksWithAuthPanel = dynamic(
+ () => import('~/components/Products/Functions/WorksWithAuthPanel')
+)
+const WorksWithStoragePanel = dynamic(
+ () => import('~/components/Products/Functions/WorksWithStoragePanel')
+)
+
+export default (isMobile?: boolean) => ({
+ metaTitle: 'Supabase Edge Functions - Deploy JavaScript globally in seconds',
+ metaDescription:
+ 'Execute your code closest to your users with fast deploy times and low latency.',
+ heroSection: {
+ title: solutions.functions.name,
+ h1: (
+ <>
+ Deploy JavaScript
+ <br /> globally in seconds
+ </>
+ ),
+ subheader: [
+ 'Easily author, deploy and monitor serverless functions distributed globally at the edge, close to your users.',
+ ],
+ image: <FunctionsHero />,
+ ctas: [
+ {
+ label: 'Launch a free database',
+ href: '/dashboard',
+ type: 'primary' as any,
+ },
+ {
+ label: 'Read documentation',
+ href: '/docs/guides/functions',
+ type: 'default' as any,
+ },
+ ],
+ },
+ highlightsSection: {
+ highlights: [
+ {
+ title: 'Fully managed',
+ paragraph: 'Edge Functions scale automatically, reducing your devops burden',
+ svg: (
+ <div className="w-12 h-12 p-2 bg-alternative rounded-lg border flex justify-center items-center">
+ <svg
+ className="w-7 h-7"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M11.8217 2.21899C9.75065 2.21899 8.07174 3.89791 8.07174 5.96896V11.783C8.07174 11.8536 8.08148 11.9218 8.0997 11.9866C8.17354 12.3232 8.47349 12.5752 8.83229 12.5752H10.5494C10.8626 12.5752 11.1749 12.8513 11.1749 13.2656V15.0638C11.1749 15.3165 11.2998 15.54 11.4913 15.6759C11.6177 15.7729 11.7759 15.8306 11.9476 15.8306H17.9997C20.0707 15.8306 21.7496 14.1517 21.7496 12.0806V5.96896C21.7496 3.89791 20.0707 2.21899 17.9997 2.21899H11.8217ZM12.6749 14.3307H17.9997C19.2423 14.3307 20.2497 13.3233 20.2497 12.0806L20.2497 5.96896C20.2497 4.7263 19.2423 3.71893 17.9997 3.71893H11.8217C10.579 3.71893 9.57167 4.7263 9.57167 5.96896V11.0752H10.5494C10.9115 11.0752 11.2478 11.1666 11.5412 11.3263C11.5507 11.3157 11.5605 11.3052 11.5708 11.295L15.5026 7.36084L12.6816 7.36066C12.2674 7.36063 11.9316 7.02482 11.9317 6.61061C11.9317 6.1964 12.2675 5.86063 12.6817 5.86066L16.543 5.86091C17.3714 5.86096 18.0429 6.53248 18.0429 7.36085L18.0431 11.2597C18.0431 11.6739 17.7073 12.0097 17.2931 12.0097C16.8789 12.0097 16.5431 11.674 16.5431 11.2598L16.543 8.44186L12.6317 12.3553C12.597 12.3901 12.5597 12.4207 12.5205 12.4472C12.6204 12.7022 12.6749 12.9791 12.6749 13.2656V14.3307Z"
+ fill="currentColor"
+ />
+ <path
+ d="M4.53957 11.0752H6.25666C6.67087 11.0752 7.00666 11.411 7.00666 11.8252C7.00666 12.2394 6.67087 12.5752 6.25666 12.5752H4.53957C4.22636 12.5752 3.91406 12.8513 3.91406 13.2656L3.91406 15.0638C3.91406 15.4781 3.57828 15.8138 3.16406 15.8138C2.74985 15.8138 2.41406 15.4781 2.41406 15.0638V13.2656C2.41406 12.0889 3.33344 11.0752 4.53957 11.0752Z"
+ fill="currentColor"
+ />
+ <path
+ d="M3.16406 17.0111C3.57828 17.0111 3.91406 17.3469 3.91406 17.7611L3.91406 19.5593C3.91406 19.9737 4.22636 20.2498 4.53957 20.2498L6.25666 20.2498C6.67087 20.2498 7.00666 20.5856 7.00666 20.9998C7.00666 21.414 6.67087 21.7498 6.25666 21.7498L4.53957 21.7498C3.33344 21.7498 2.41406 20.7361 2.41406 19.5593V17.7611C2.41406 17.3469 2.74985 17.0111 3.16406 17.0111Z"
+ fill="currentColor"
+ />
+ <path
+ d="M11.9249 17.0111C12.3391 17.0111 12.6749 17.3469 12.6749 17.7611V19.5593C12.6749 20.7361 11.7555 21.7498 10.5494 21.7498H8.83229C8.41807 21.7498 8.08229 21.414 8.08229 20.9998C8.08229 20.5856 8.41807 20.2498 8.83229 20.2498H10.5494C10.8626 20.2498 11.1749 19.9737 11.1749 19.5593V17.7611C11.1749 17.3469 11.5107 17.0111 11.9249 17.0111Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div>
+ ),
+ },
+ {
+ title: 'Global deployments',
+ paragraph: 'Deploy worldwide for maximum resiliency and low latency',
+ svg: (
+ <div className="w-12 h-12 p-2 bg-alternative rounded-lg border flex justify-center items-center">
+ <IconGlobe className="w-7 h-7 stroke-[1.4px]" />
+ </div>
+ ),
+ },
+ {
+ title: 'Secure and Scalable',
+ paragraph: 'Simply write your code in TypeScript and deploy',
+ svg: (
+ <div className="w-12 h-12 p-2 bg-alternative rounded-lg border flex justify-center items-center">
+ <svg
+ className="w-7 h-7"
+ width="100%"
+ height="100%"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M13.7377 6.5363C14.145 6.61196 14.4138 7.00343 14.3381 7.41068L12.5869 16.8366C12.5112 17.2438 12.1197 17.5126 11.7125 17.437C11.3052 17.3613 11.0364 16.9698 11.1121 16.5626L12.8633 7.13669C12.939 6.72944 13.3305 6.46064 13.7377 6.5363Z"
+ fill="currentColor"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M15.7279 9.10834C16.0208 8.81543 16.4957 8.81539 16.7886 9.10826L19.1499 11.4692C19.2906 11.6099 19.3696 11.8007 19.3696 11.9996C19.3696 12.1985 19.2906 12.3893 19.15 12.5299L16.7886 14.8913C16.4957 15.1842 16.0209 15.1842 15.728 14.8913C15.4351 14.5984 15.4351 14.1235 15.728 13.8306L17.5589 11.9997L15.728 10.169C15.4351 9.87613 15.4351 9.40126 15.7279 9.10834Z"
+ fill="currentColor"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M9.72153 14.8913C9.42866 15.1842 8.95379 15.1842 8.66087 14.8913L6.29954 12.5303C6.15887 12.3897 6.07983 12.1989 6.07983 12C6.07982 11.8011 6.15884 11.6103 6.2995 11.4696L8.66083 9.10831C8.95373 8.81542 9.4286 8.81542 9.72149 9.10831C10.0144 9.4012 10.0144 9.87608 9.72149 10.169L7.89053 11.9999L9.72145 13.8306C10.0144 14.1235 10.0144 14.5983 9.72153 14.8913Z"
+ fill="currentColor"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M2.95312 6C2.95312 3.92893 4.63206 2.25 6.70313 2.25H18.7031C20.7742 2.25 22.4531 3.92893 22.4531 6V18C22.4531 20.0711 20.7742 21.75 18.7031 21.75H6.70313C4.63206 21.75 2.95312 20.0711 2.95312 18V6ZM6.70313 3.75C5.46048 3.75 4.45313 4.75736 4.45313 6V18C4.45313 19.2426 5.46048 20.25 6.70313 20.25H18.7031C19.9458 20.25 20.9531 19.2426 20.9531 18V6C20.9531 4.75736 19.9458 3.75 18.7031 3.75H6.70313Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div>
+ ),
+ },
+ {
+ title: 'Node.js Support',
+ paragraph:
+ 'Easily migrate existing workloads, with support for Node and more than 1 million NPM modules',
+ svg: (
+ <div className="w-12 h-12 p-2 bg-alternative rounded-lg border flex justify-center items-center">
+ <svg
+ className="w-7 h-7"
+ width="100%"
+ height="100%"
+ viewBox="0 0 26 28"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M11.9233 0.444469C12.6102 0.0512999 13.5049 0.049524 14.1912 0.444469C17.6439 2.39542 21.0976 4.3433 24.5497 6.29543C25.199 6.66117 25.6333 7.38378 25.6267 8.13193V19.8696C25.6315 20.6487 25.1543 21.3886 24.4693 21.746C21.028 23.6862 17.5884 25.6288 14.1477 27.569C13.4466 27.9698 12.5339 27.939 11.8547 27.5052C10.823 26.9072 9.78955 26.312 8.75774 25.7145C8.5469 25.5888 8.30922 25.4888 8.16034 25.2844C8.29195 25.107 8.52726 25.0849 8.71847 25.0074C9.14913 24.8705 9.54467 24.6507 9.9403 24.4373C10.0403 24.3689 10.1625 24.3951 10.2584 24.4564C11.1406 24.9622 12.0151 25.4828 12.9003 25.9838C13.0891 26.0928 13.2803 25.9481 13.4417 25.8581C16.8187 23.9495 20.1999 22.048 23.5763 20.1388C23.7014 20.0786 23.7706 19.9458 23.7604 19.8088C23.7628 15.9368 23.761 12.0641 23.7616 8.19212C23.7759 8.03662 23.6859 7.89366 23.5453 7.83003C20.1159 5.89871 16.6883 3.96444 13.2595 2.03263C13.2001 1.99179 13.1297 1.96988 13.0576 1.96977C12.9855 1.96967 12.9151 1.99138 12.8556 2.03204C9.42677 3.96444 5.99974 5.90049 2.57093 7.8317C2.43083 7.89544 2.3368 8.03603 2.35348 8.19212C2.35407 12.0641 2.35348 15.9368 2.35348 19.8094C2.34753 19.8763 2.36222 19.9433 2.39556 20.0016C2.4289 20.0599 2.47929 20.1065 2.53995 20.1353C3.45494 20.6541 4.37112 21.1694 5.2867 21.6864C5.80251 21.9641 6.43582 22.129 7.00412 21.9163C7.50562 21.7365 7.85715 21.2247 7.84758 20.6922C7.85232 16.8428 7.84521 12.9928 7.85113 9.14401C7.8386 8.97313 8.0007 8.83194 8.16685 8.84802C8.60649 8.84506 9.04672 8.8421 9.48636 8.84921C9.66987 8.84506 9.79616 9.02907 9.77347 9.20123C9.77169 13.075 9.7782 16.9489 9.77051 20.8227C9.77169 21.8551 9.34754 22.9784 8.39259 23.4836C7.21614 24.093 5.76206 23.9638 4.59982 23.3794C3.59366 22.8772 2.63348 22.2845 1.64518 21.7465C0.958393 21.391 0.483532 20.6482 0.488366 19.8697V8.13193C0.481164 7.36829 0.932741 6.63256 1.60226 6.27215C5.04301 4.33038 8.48316 2.38713 11.9233 0.444469Z"
+ fill="currentColor"
+ />
+ <path
+ d="M14.9242 8.57537C16.4248 8.47878 18.0313 8.51814 19.3817 9.25742C20.4272 9.82394 21.0069 11.0129 21.0253 12.1745C20.9961 12.3311 20.8323 12.4176 20.6828 12.4068C20.2474 12.4062 19.8119 12.4127 19.3765 12.4039C19.1918 12.411 19.0844 12.2407 19.0613 12.0774C18.9362 11.5216 18.6331 10.9712 18.11 10.7031C17.3069 10.3011 16.3759 10.3213 15.5002 10.3297C14.861 10.3636 14.1736 10.419 13.6321 10.7949C13.2163 11.0796 13.09 11.6544 13.2384 12.1173C13.3783 12.4497 13.762 12.557 14.076 12.6558C15.8844 13.1288 17.8008 13.0818 19.5748 13.7042C20.3092 13.958 21.0277 14.4513 21.2791 15.2203C21.6079 16.2509 21.4638 17.4828 20.7305 18.3102C20.1359 18.991 19.2698 19.3616 18.406 19.5629C17.2569 19.8191 16.0644 19.8256 14.8974 19.7119C13.8001 19.5868 12.6582 19.2985 11.8111 18.5508C11.0867 17.9218 10.7329 16.9418 10.768 15.996C10.7764 15.8362 10.9354 15.7248 11.0885 15.7379C11.5269 15.7344 11.9654 15.7332 12.4038 15.7385C12.579 15.726 12.7088 15.8774 12.7178 16.0424C12.7987 16.5719 12.9977 17.1277 13.4594 17.4416C14.3505 18.0166 15.4687 17.9772 16.489 17.9933C17.3344 17.9558 18.2833 17.9444 18.9732 17.3857C19.3371 17.067 19.445 16.5339 19.3466 16.0752C19.24 15.6879 18.8349 15.5075 18.487 15.3895C16.7017 14.8247 14.7639 15.0297 12.9959 14.391C12.2781 14.1374 11.584 13.6578 11.3083 12.9204C10.9235 11.8767 11.0998 10.5858 11.9099 9.78635C12.6998 8.99113 13.8401 8.68498 14.9242 8.57537Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div>
+ ),
+ },
+ ],
+ },
+ examplesSection: {
+ title: 'What you can build with Edge Functions',
+ cta: {
+ label: 'View all examples',
+ href: '/docs/guides/functions#examples',
+ type: 'default' as any,
+ },
+ examples: Examples.filter((example) => example.products.includes(PRODUCT_NAMES.FUNCTIONS)),
+ },
+ localDXsection: {
+ title: <>Delightful DX from local to production</>,
+ paragraph: (
+ <>
+ Edge Functions are developed using{' '}
+ <Link
+ href="https://deno.com/"
+ className="underline hover:text-foreground-light transition-colors"
+ target="_blank"
+ >
+ Deno
+ </Link>
+ , an open source JavaScript runtime that ensures maximum power and flexibility. Migrate in
+ and out at any time with no vendor lock-in.
+ </>
+ ),
+ cards: [
+ {
+ id: 'localDX',
+ label: 'First-class local dev experience',
+ paragraph:
+ 'Write code with hot code reloading, a fast Language server for autocompletion, type checking and linting',
+ className: '',
+ image: <LocalDXImage />,
+ },
+ {
+ id: 'parity',
+ label: 'Dev and Prod parity',
+ paragraph: (
+ <>
+ The open source{' '}
+ <Link
+ href="https://github.com/supabase/edge-runtime/"
+ className="underline hover:text-foreground-light transition-colors"
+ >
+ Edge runtime
+ </Link>{' '}
+ runs your functions locally during development and the same runtime powers functions in
+ production
+ </>
+ ),
+ className: '',
+ image: <ParityImage />,
+ },
+ {
+ id: 'ecosystem',
+ label: 'Use any NPM module',
+ paragraph: 'Tap into the 2+ million modules in the Deno and NPM ecosystem',
+ className: '',
+ image: <NpmEcosystem />,
+ },
+ {
+ id: 'ci',
+ label: 'Continuous Integration',
+ paragraph: (
+ <>
+ Use the{' '}
+ <Link
+ href="https://supabase.com/docs/guides/functions/cicd-workflow"
+ className="underline hover:text-foreground-light transition-colors"
+ >
+ Supabase CLI with Github actions
+ </Link>{' '}
+ to preview and deploy your functions along with the rest of your application
+ </>
+ ),
+ className: '',
+ image: <CI />,
+ },
+ ],
+ },
+ globalPresenceSection: {
+ title: (
+ <>
+ Edge Functions run{' '}
+ <span className="text-foreground">server-side logic geographically close to users</span>,
+ offering low latency and great performance.
+ </>
+ ),
+ features: [
+ {
+ label: 'Global presence',
+ paragraph: (
+ <>
+ Edge functions run globally or can be{' '}
+ <Link
+ href="https://supabase.com/docs/guides/functions/regional-invocation"
+ className="underline hover:text-foreground-light transition-colors"
+ >
+ pinned to your database's proximity
+ </Link>
+ </>
+ ),
+ },
+ {
+ label: 'Automatic scaling',
+ paragraph: 'Seamlessly scale with usage without any manual tuning',
+ },
+ {
+ label: 'Secure',
+ paragraph: 'Scale with confidence with SSL, Firewall and DDOS protection built in',
+ },
+ ],
+ },
+ o11y: {
+ title: 'Built-in observability',
+ panels: [
+ {
+ id: 'realtime-logs',
+ label: 'Realtime logs',
+ icon: '',
+ paragraph:
+ 'Stream logs to the dashboard in realtime. Logs are populated with rich metadata to help debugging',
+ image: RealtimeLogs,
+ },
+ {
+ id: 'log-explorer',
+ label: 'Query Logs via Log explorer',
+ icon: '',
+ paragraph:
+ 'Get deeper insights into how your functions are behaving by writing SQL queries on function logs',
+ image: QueryLogs,
+ },
+ {
+ id: 'metrics',
+ label: 'Metrics',
+ icon: '',
+ paragraph: 'Dashboards show the health of your functions at all times',
+ image: Metrics,
+ },
+ ],
+ },
+ integratesWithSupabase: {
+ title: 'Integrates seamlessly with the Supabase ecosystem',
+ useCases: [
+ {
+ label: 'Zero configuration',
+ paragraph: 'Pre-populated environment variables required to access your supabase project',
+ panel: <ZeroConfigPanel />,
+ },
+ {
+ label: 'Connect to your database',
+ paragraph:
+ 'Connect to your Postgres database from an Edge Function by using the supabase-js client',
+ panel: <ConnectToDBPanel />,
+ },
+ {
+ label: 'Trigger via webhook',
+ paragraph:
+ 'Database Webhooks allow you to send real-time data from your database to another system whenever a table event occurs',
+ panel: <TriggerViaWebhookPanel />,
+ },
+ {
+ label: 'Works with Supabase Auth',
+ paragraph: (
+ <>
+ Edge Functions are designed to work seamlessly with{' '}
+ <Link
+ href="https://supabase.com/docs/guides/functions/auth"
+ className="underline hover:text-foreground-light transition-colors"
+ >
+ Supabase Auth
+ </Link>
+ </>
+ ),
+ panel: <WorksWithAuthPanel />,
+ },
+ {
+ label: 'Works with Supabase Storage',
+ paragraph: (
+ <>
+ Edge Functions are designed to work seamlessly with{' '}
+ <Link
+ href="https://supabase.com/docs/guides/functions/storage-caching"
+ className="underline hover:text-foreground-light transition-colors"
+ >
+ Supabase Storage
+ </Link>
+ </>
+ ),
+ panel: <WorksWithStoragePanel />,
+ },
+ ],
+ },
+})
diff --git a/apps/www/package.json b/apps/www/package.json
index 0a6ee2c91d9..ca7b12b28da 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -26,8 +26,8 @@
"@react-three/fiber": "^7.0.29",
"@supabase/auth-helpers-react": "^0.4.2",
"@supabase/auth-ui-react": "^0.4.5",
- "animejs": "^3.2.2",
"@supabase/supabase-js": "^2.41.1",
+ "animejs": "^3.2.2",
"classnames": "^2.3.1",
"cobe": "^0.6.2",
"common": "*",
@@ -60,7 +60,7 @@
"remark-gfm": "^3.0.1",
"remark-html": "^16.0.1",
"shared-data": "*",
- "swiper": "^6.5.0",
+ "swiper": "^11.0.7",
"three": "^0.136.0",
"typed.js": "^2.0.16",
"typescript": "^5.4.3",
diff --git a/apps/www/pages/auth/Auth.tsx b/apps/www/pages/auth/Auth.tsx
index 00b33e11092..935f3d13212 100644
--- a/apps/www/pages/auth/Auth.tsx
+++ b/apps/www/pages/auth/Auth.tsx
@@ -17,6 +17,8 @@ import GithubExamples from '~/components/Sections/GithubExamples'
import ProductHeader from '~/components/Sections/ProductHeader'
import AuthProviders from '~/data/auth.json'
import { ThemeImage } from 'ui-patterns/ThemeImage'
+import ProductsNav from '~/components/Products/ProductsNav'
+import { PRODUCT_NAMES } from 'shared-data/products'
function AuthPage() {
// base path for images
@@ -43,6 +45,7 @@ function AuthPage() {
}}
/>
<DefaultLayout>
+ <ProductsNav activePage={PRODUCT_NAMES.AUTHENTICATION} />
<ProductHeader
icon={Solutions['authentication'].icon}
title={Solutions['authentication'].name}
diff --git a/apps/www/pages/database/Database.tsx b/apps/www/pages/database/Database.tsx
index 820214f4662..f3deae8b255 100644
--- a/apps/www/pages/database/Database.tsx
+++ b/apps/www/pages/database/Database.tsx
@@ -1,5 +1,5 @@
// Import Swiper styles
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import dynamic from 'next/dynamic'
import { NextSeo } from 'next-seo'
@@ -21,6 +21,8 @@ import TableViewCarouselData from 'data/products/database/table-view-carousel.js
import { ThemeImage } from 'ui-patterns/ThemeImage'
import { TweetCard } from 'ui-patterns/TweetCard'
import ProductHeader from '~/components/Sections/ProductHeader'
+import ProductsNav from '~/components/Products/ProductsNav'
+import { PRODUCT_NAMES } from 'shared-data/products'
const NewFeatureCard = dynamic(() => import('~/components/NewFeatureCard'))
const ImageCarousel = dynamic(() => import('~/components/Carousels/ImageCarousel'))
@@ -68,6 +70,7 @@ function Database() {
}}
/>
<DefaultLayout>
+ <ProductsNav activePage={PRODUCT_NAMES.DATABASE} />
<ProductHeader
icon={Solutions['database'].icon}
title={Solutions['database'].name}
diff --git a/apps/www/pages/edge-functions.tsx b/apps/www/pages/edge-functions.tsx
new file mode 100644
index 00000000000..a2aeca8f6d4
--- /dev/null
+++ b/apps/www/pages/edge-functions.tsx
@@ -0,0 +1,87 @@
+import React from 'react'
+import dynamic from 'next/dynamic'
+import { useRouter } from 'next/router'
+import { NextSeo } from 'next-seo'
+import { useBreakpoint } from 'common'
+
+import { PRODUCT_NAMES, PRODUCT_SHORTNAMES } from 'shared-data/products'
+import page from '~/data/products/functions/page'
+
+import DefaultLayout from '~/components/Layouts/Default'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import ProductHeader from '~/components/Sections/ProductHeader2'
+import HighlightColumns from '~/components/Sections/HighlightColumns'
+import ProductsNav from '~/components/Products/ProductsNav'
+
+const ExamplesCarousel = dynamic(() => import('~/components/Examples/ExamplesCarousel'))
+const GlobalPresenceSection = dynamic(
+ () => import('~/components/Products/Functions/GlobalPresenceSection')
+)
+const LocalDXGrid = dynamic(() => import('~/components/Products/Functions/LocalDXGrid'))
+const ProductsCta = dynamic(() => import('~/components/Sections/ProductsCta2'))
+const TimedAccordionPanels = dynamic(() => import('~/components/Sections/TimedAccordionPanels'))
+const TimedAccordionSection = dynamic(() => import('~/components/Sections/TimedAccordionSection'))
+
+function EdgeFunctions() {
+ const { basePath } = useRouter()
+ const isXs = useBreakpoint(640)
+ const pageData = page(isXs)
+
+ return (
+ <>
+ <NextSeo
+ title={pageData.metaTitle}
+ description={pageData.metaDescription}
+ openGraph={{
+ title: pageData.metaTitle,
+ description: pageData.metaDescription,
+ url: `https://supabase.com/edge-functions`,
+ images: [
+ {
+ url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,
+ },
+ ],
+ }}
+ />
+ <DefaultLayout>
+ <ProductsNav activePage={PRODUCT_NAMES.FUNCTIONS} />
+ <ProductHeader
+ {...pageData.heroSection}
+ footer={<HighlightColumns highlights={pageData.highlightsSection.highlights} />}
+ />
+ <div className="overflow-hidden">
+ <SectionContainer className="flex flex-col gap-4 lg:gap-8 !pb-0" id="examples">
+ <ExamplesCarousel {...pageData.examplesSection} />
+ </SectionContainer>
+ </div>
+ <SectionContainer className="flex flex-col gap-4" id="developer-experience">
+ <div>
+ <h2 className="h2">{pageData.localDXsection.title}</h2>
+ <p className="text-foreground-lighter lg:w-1/2">{pageData.localDXsection.paragraph}</p>
+ </div>
+ <div className="mt-4 md:mt-8">
+ <LocalDXGrid />
+ </div>
+ </SectionContainer>
+ <SectionContainer className="flex flex-col gap-4 lg:gap-8" id="global-presence">
+ <GlobalPresenceSection {...pageData.globalPresenceSection} />
+ </SectionContainer>
+ <div className="overflow-hidden">
+ <SectionContainer className="flex flex-col gap-4 lg:gap-8" id="observability">
+ <h2 className="h2">{pageData.o11y.title}</h2>
+ <TimedAccordionPanels {...pageData.o11y} />
+ </SectionContainer>
+ </div>
+ <div className="overflow-hidden">
+ <SectionContainer className="flex flex-col gap-4 lg:gap-8" id="integrates-with-supabase">
+ <h2 className="h2">{pageData.integratesWithSupabase.title}</h2>
+ <TimedAccordionSection tabs={pageData.integratesWithSupabase.useCases} />
+ </SectionContainer>
+ </div>
+ <ProductsCta currentProduct={PRODUCT_SHORTNAMES.FUNCTIONS} className="!pt-0 lg:!pt-16" />
+ </DefaultLayout>
+ </>
+ )
+}
+
+export default EdgeFunctions
diff --git a/apps/www/pages/edge-functions/edge-functions.tsx b/apps/www/pages/edge-functions/edge-functions.tsx
deleted file mode 100644
index 53625ff61bc..00000000000
--- a/apps/www/pages/edge-functions/edge-functions.tsx
+++ /dev/null
@@ -1,288 +0,0 @@
-import { Badge, IconCode, IconFastForward, IconGlobe, IconRefreshCcw, cn } from 'ui'
-import UseCaseExamples from 'data/products/functions/usecase-examples'
-import Solutions from 'data/Solutions'
-import { NextSeo } from 'next-seo'
-import { useRouter } from 'next/router'
-import { useState } from 'react'
-import 'swiper/swiper.min.css'
-import CTABanner from '~/components/CTABanner'
-import DefaultLayout from '~/components/Layouts/Default'
-import SectionContainer from '~/components/Layouts/SectionContainer'
-import ScrollableCodeBlock from '~/components/ScrollableCodeBlock'
-import FunctionsUsecases from '~/components/Sections/FunctionsUsecases'
-import ProductHeader from '~/components/Sections/ProductHeader'
-import { ThemeImage } from 'ui-patterns/ThemeImage'
-
-const featureBlocks = [
- {
- title: 'Instant deployment',
- description: 'Deploy Edge Functions in seconds',
- highlightLines: '8',
- icon: <IconFastForward strokeWidth={1.5} />,
- },
- {
- title: 'Global',
- description: 'Deploy worldwide for maximum resiliency and low latency',
- highlightLines: '8',
- icon: <IconGlobe strokeWidth={1.5} />,
- },
- {
- title: 'Typescript ready',
- description: 'TypeScript, WASM, ES Modules',
- highlightLines: '8',
- icon: <IconCode strokeWidth={1.5} />,
- },
- {
- title: 'Database webhooks',
- description: 'Invoke Edge Functions based on any event in your database',
- highlightLines: '28',
- icon: <IconRefreshCcw strokeWidth={1.5} />,
- badge: 'Coming soon',
- },
-]
-
-const featureHighlights = [
- {
- title: 'Set authentication',
- description: 'Use the JWT token to set the authentication of the user',
- highlightLines: '15..20',
- },
- {
- title: 'Use anything from Supabase',
- description:
- 'supabase-js can interact with any part of the Supabase stack from Edge Functions, while respecting auth row level security policies.',
- highlightLines: '22..27',
- },
- {
- title: 'Use secrets to store sensitive keys',
- description:
- 'Set and edit secrets via the CLI, which can then be accessed via environment variables.',
- highlightLines: '7..13',
- },
- {
- title: 'No limits',
- description: `You're empowered to run any logic you like using any data from the Supabase database.`,
- highlightLines: '29..39',
- },
-]
-
-function Database() {
- // base path for images
- const { basePath } = useRouter()
-
- const [dashboardSwiper, setDashboardSwiper] = useState(undefined)
- const [dashboardSwiperActiveIndex, setDashboardSwiperActiveIndex] = useState(0)
-
- function handleDashboardSwiperNav(e: number) {
- setDashboardSwiperActiveIndex(e)
- // @ts-ignore
- dashboardSwiper.slideTo(e)
- }
-
- const title = 'Serverless Edge Functions that automatically scale'
- const subtitle = `Execute your code closest to your users with fast deploy times and low latency.`
- const meta_title = `${title}`
- const meta_description = subtitle
-
- const [currentSelection, setCurrentSelection] = useState(featureHighlights[0].highlightLines)
-
- return (
- <>
- <NextSeo
- title={meta_title}
- description={meta_description}
- openGraph={{
- title: meta_title,
- description: meta_description,
- url: `https://supabase.com/edge-functions`,
- images: [
- {
- url: `https://supabase.com${basePath}/images/product/database/database-og.jpg`,
- },
- ],
- }}
- />
- <DefaultLayout>
- <ProductHeader
- icon={Solutions['functions'].icon}
- title={Solutions['functions'].name}
- h1={[
- <span key={'database-h1'}>
- Serverless Edge Functions
- <br /> that automatically scale
- </span>,
- ]}
- subheader={[subtitle]}
- image={[
- <ThemeImage
- src={`${basePath}/images/product/functions/functions-hero.png`}
- alt="edge functions header"
- layout="responsive"
- width="1680"
- height="1116"
- />,
- ]}
- documentation_url={'/docs/guides/functions'}
- />
-
- <SectionContainer>
- <div className="col-span-12 mb-10 space-y-12 lg:col-span-3 lg:mb-0 ">
- <div className="grid gap-8 rounded md:grid-cols-2 xl:grid-cols-4">
- {featureBlocks.map((item, i) => {
- return (
- <div
- className="bg-background group flex flex-col gap-4 rounded border px-8 py-6"
- key={i}
- >
- <div className="bg-surface-100 text-foreground group-hover:text-brand flex h-12 w-12 items-center justify-center rounded-md border transition-all group-hover:scale-105">
- {item.icon ? item.icon : <IconCode strokeWidth={2} />}
- </div>
-
- <div>
- <h3 className="text-foreground text-lg">{item.title}</h3>
- <div className="text-foreground-light text-sm">{item.description}</div>
- </div>
- </div>
- )
- })}
- </div>
- </div>
- </SectionContainer>
-
- <SectionContainer>
- <div className="col-span-12 mb-10 space-y-12 lg:col-span-3 lg:mb-0 ">
- <div className="grid items-center gap-6 lg:grid-cols-12 lg:gap-16">
- <div className="flex flex-col gap-8 lg:col-span-5">
- <div>
- <h3 className="h3">Anatomy of an Edge Function</h3>
- <p className="p">
- Asynchronous tasks within minutes using Supabase Functions with simple
- authenticated access to the rest of the Supabase Ecosystem.
- </p>
- </div>
- <div className="flex flex-col gap-3">
- {featureHighlights.map((feat, i) => {
- const active = currentSelection == feat.highlightLines
- return (
- <button
- key={`featureHighlighted-${i}`}
- className={cn(
- 'bg-background hover:bg-surface-100 group rounded-md border px-6 py-4 text-left transition-all hover:border',
- active ? '!bg-surface-100 border-foreground-lighter' : ''
- )}
- onClick={() => setCurrentSelection(feat.highlightLines)}
- >
- <div
- className={cn(
- 'transition-colors ',
- active
- ? ' text-foreground'
- : ' text-foreground-light group-hover:text-foreground'
- )}
- >
- {feat.title}
- </div>
- <div
- className={cn(
- 'text-sm transition-colors ',
- active
- ? ' text-foreground-light'
- : ' text-foreground-light group-hover:text-foreground-light '
- )}
- >
- {feat.description}
- </div>
- </button>
- )
- })}
- </div>
- </div>
- <div className="overflow-hidden lg:col-span-7">
- <ScrollableCodeBlock
- lang="ts"
- highlightLines={currentSelection}
- showToolbar
- hideCopy
- >
- {`import { serve } from 'https://deno.land/[email protected]/http/server.ts'
-import Stripe from 'https://esm.sh/stripe?target=deno&no-check'
-import { Customer } from 'types'
-
-serve(async (req) => {
- try {
- // create a supabase client with Auth context of the user that called the function
- const supabaseClient = createClient(
- Deno.env.get('SUPABASE_URL') ?? '',
- Deno.env.get('SUPABASE_ANON_KEY') ?? '',
- { global: { headers: { Authorization: req.headers.get('Authorization')! } } }
- )
- // create a stripe client
- const stripe = Stripe(Deno.env.get('STRIPE_SECRET_KEY'))
-
- // get the current logged in user
- const {data: { user },} = supabase.auth.getUser()
-
- // Retrieve user metadata that only the user is allowed to select
- const { data, error } = await supabaseClient
- .from<Customer>('user_profiles')
- .select('address, tax, billing_email, phone')
-
- if (error) throw error
-
- const customer = await stripe.customers.create({
- description: 'My First Stripe Customer (created by a Supabase edge function)',
- phone: data.phone,
- address: data.address,
- email: user.email,
- })
-
- return new Response(JSON.stringify(customer), { status: 200 })
- } catch (error) {
- return new Response(JSON.stringify(error), { status: 400 })
- }
-})`}
- </ScrollableCodeBlock>
- </div>
- </div>
- </div>
- </SectionContainer>
-
- <SectionContainer className="-mb-16">
- <FunctionsUsecases
- // @ts-ignore
- content={UseCaseExamples}
- title="Use functions for every server side function"
- text={[
- <p key={0}>
- Edge Functions are perfect for running code for sensitive use cases or interacting
- with 3rd party services.
- </p>,
- ]}
- footer={[
- <div className="grid grid-cols-12" key={0}>
- <div className="col-span-12 mt-0 flex lg:col-span-6 xl:col-span-12 xl:mb-8">
- <p className="text-foreground-light m-0">Libraries coming soon:</p>
- <div className="ml-1 space-x-1">
- <Badge>Python</Badge>
- <Badge>Dart</Badge>
- <Badge>C#</Badge>
- <Badge>Kotlin</Badge>
- </div>
- </div>
- <div
- className="col-span-12 hidden lg:col-span-6 xl:col-span-10 xl:block"
- key={1}
- ></div>
- </div>,
- ]}
- documentation_link={'/docs/guides/functions'}
- />
- </SectionContainer>
-
- <CTABanner />
- </DefaultLayout>
- </>
- )
-}
-
-export default Database
diff --git a/apps/www/pages/edge-functions/index.tsx b/apps/www/pages/edge-functions/index.tsx
deleted file mode 100644
index 561ca2a0547..00000000000
--- a/apps/www/pages/edge-functions/index.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-import EdgeFunctions from './edge-functions'
-
-export default EdgeFunctions
diff --git a/apps/www/pages/launch-week/8/index.tsx b/apps/www/pages/launch-week/8/index.tsx
index e054c7c8ab0..2d983a7475e 100644
--- a/apps/www/pages/launch-week/8/index.tsx
+++ b/apps/www/pages/launch-week/8/index.tsx
@@ -1,4 +1,4 @@
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { useState, useEffect } from 'react'
import { GetServerSideProps } from 'next'
diff --git a/apps/www/pages/open-source/index.tsx b/apps/www/pages/open-source/index.tsx
index c73bcdc86a1..950377ef813 100644
--- a/apps/www/pages/open-source/index.tsx
+++ b/apps/www/pages/open-source/index.tsx
@@ -12,7 +12,7 @@ import Sponsorships from '~/components/OpenSource/Sponsorships'
import pageData from '~/data/open-source'
// Import Swiper styles if swiper used on page
-import 'swiper/swiper.min.css'
+import 'swiper/css'
const OpenSource = () => {
const router = useRouter()
diff --git a/apps/www/pages/partners/[slug].tsx b/apps/www/pages/partners/[slug].tsx
index 2c8febf51bf..f1ae62b2a49 100644
--- a/apps/www/pages/partners/[slug].tsx
+++ b/apps/www/pages/partners/[slug].tsx
@@ -1,5 +1,4 @@
import { GetStaticPaths, GetStaticProps } from 'next'
-import 'swiper/swiper.min.css'
import supabase from '~/lib/supabaseMisc'
import Error404 from '../404'
diff --git a/apps/www/pages/partners/experts/[slug].tsx b/apps/www/pages/partners/experts/[slug].tsx
index 5941c8d5548..09d189a1cf9 100644
--- a/apps/www/pages/partners/experts/[slug].tsx
+++ b/apps/www/pages/partners/experts/[slug].tsx
@@ -5,7 +5,7 @@ import { NextSeo } from 'next-seo'
import Image from 'next/image'
import Link from 'next/link'
import { Swiper, SwiperSlide } from 'swiper/react'
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { IconChevronLeft, IconExternalLink } from 'ui'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
diff --git a/apps/www/pages/partners/integrations/[slug].tsx b/apps/www/pages/partners/integrations/[slug].tsx
index ac3e6c3ec1f..0f3b84cad0a 100644
--- a/apps/www/pages/partners/integrations/[slug].tsx
+++ b/apps/www/pages/partners/integrations/[slug].tsx
@@ -10,7 +10,7 @@ import { NextSeo } from 'next-seo'
import { type Dispatch, type SetStateAction, useState } from 'react'
import remarkGfm from 'remark-gfm'
import { Swiper, SwiperSlide } from 'swiper/react'
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { useBreakpoint } from 'common'
import codeHikeTheme from 'config/code-hike.theme.json' assert { type: 'json' }
diff --git a/apps/www/pages/realtime/Realtime.tsx b/apps/www/pages/realtime/Realtime.tsx
index 31a0c9e0268..32ca1237518 100644
--- a/apps/www/pages/realtime/Realtime.tsx
+++ b/apps/www/pages/realtime/Realtime.tsx
@@ -11,9 +11,11 @@ import SectionContainer from '~/components/Layouts/SectionContainer'
import APISection from '~/components/Sections/APISection'
import ProductHeader from '~/components/Sections/ProductHeader'
import RealtimeStyles from './Realtime.module.css'
+import ProductsNav from '~/components/Products/ProductsNav'
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { ThemeImage } from 'ui-patterns/ThemeImage'
+import { PRODUCT_NAMES } from 'shared-data/products'
const Cursor = ({ className = '', color = 'none' }) => {
return (
@@ -58,6 +60,7 @@ function RealtimePage() {
}}
/>
<DefaultLayout>
+ <ProductsNav activePage={PRODUCT_NAMES.REALTIME} />
<ProductHeader
icon={Solutions['realtime']?.icon}
title={Solutions['realtime']?.name}
diff --git a/apps/www/pages/storage/Storage.tsx b/apps/www/pages/storage/Storage.tsx
index a574d6853b0..ffc166b805b 100644
--- a/apps/www/pages/storage/Storage.tsx
+++ b/apps/www/pages/storage/Storage.tsx
@@ -17,6 +17,8 @@ import ProductIcon from '~/components/ProductIcon'
import APISection from '~/components/Sections/APISection'
import ProductHeader from '~/components/Sections/ProductHeader'
import { ThemeImage } from 'ui-patterns/ThemeImage'
+import ProductsNav from '~/components/Products/ProductsNav'
+import { PRODUCT_NAMES } from 'shared-data/products'
function StoragePage() {
// base path for images
@@ -43,6 +45,7 @@ function StoragePage() {
}}
/>
<DefaultLayout>
+ <ProductsNav activePage={PRODUCT_NAMES.STORAGE} />
<ProductHeader
icon={Solutions['storage'].icon}
title={Solutions['storage'].name}
diff --git a/apps/www/pages/vector/Vector.tsx b/apps/www/pages/vector/Vector.tsx
index c53d70aefbe..0f87c5dbf81 100644
--- a/apps/www/pages/vector/Vector.tsx
+++ b/apps/www/pages/vector/Vector.tsx
@@ -1,4 +1,4 @@
-import 'swiper/swiper.min.css'
+import 'swiper/css'
import { NextSeo } from 'next-seo'
import dynamic from 'next/dynamic'
@@ -8,6 +8,8 @@ import DefaultLayout from '~/components/Layouts/Default'
import { useBreakpoint } from 'common'
import { PRODUCT_SHORTNAMES } from '~/lib/constants'
import vectorPageData from '~/data/products/vector/pageData'
+import ProductsNav from '~/components/Products/ProductsNav'
+import { PRODUCT_NAMES } from 'shared-data/products'
const ProductHeaderCentered = dynamic(() => import('~/components/Sections/ProductHeaderCentered'))
const HighlightCards = dynamic(() => import('~/components/Sections/HighlightCards'))
@@ -45,6 +47,7 @@ function VectorPage() {
}}
/>
<DefaultLayout className="!bg-alternative">
+ <ProductsNav activePage={PRODUCT_NAMES.VECTOR} />
<ProductHeaderCentered {...pageData.heroSection} />
<HighlightCards {...(pageData.highlightsSection as any)} />
<CenteredTitleImage {...pageData.integrations} />
diff --git a/apps/www/public/images/product/functions/globe-light.svg b/apps/www/public/images/product/functions/globe-light.svg
new file mode 100644
index 00000000000..c976db09c9c
--- /dev/null
+++ b/apps/www/public/images/product/functions/globe-light.svg
@@ -0,0 +1,23 @@
+<svg width="1015" height="679" viewBox="0 0 1015 679" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_1015_5349" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1109" height="679">
+<rect width="1108.46" height="678.381" fill="url(#paint0_linear_1015_5349)"/>
+</mask>
+<g mask="url(#mask0_1015_5349)">
+<path opacity="0.6" d="M284.212 934.142C280.085 931.625 287.602 910.243 305.952 872.103C324.301 833.964 352.861 780.429 388.746 716.858C424.631 653.288 466.583 581.947 510.388 510.018C554.212 438.055 598.338 368.056 638.316 306.983C678.328 245.929 712.797 195.99 738.253 162.201C763.727 128.377 779.293 111.913 783.42 114.429M223.942 890.748C206.799 876.243 204.265 845.057 216.571 800.328C228.912 755.618 255.695 698.895 294.208 635.931C332.721 572.966 381.657 505.952 436.047 441.654C490.456 377.32 548.395 317.956 604.05 269.496C659.74 221.056 711.177 185.21 753.226 165.621C795.275 146.032 826.45 143.356 843.612 157.827M165.144 831.521C140.432 801.853 133.219 758.546 144.163 705.919C155.106 653.291 183.898 593.193 227.587 531.665C271.276 470.137 328.344 409.347 393.061 355.408C457.777 301.47 527.862 256.307 596.229 224.428C664.631 192.568 728.912 175.084 782.685 173.773C836.439 172.497 877.751 187.397 902.43 217.046M108.278 746.185C84.1919 700.022 80.1842 644.392 96.6797 584.921C113.175 525.45 149.591 464.24 202.217 407.406C254.877 350.59 321.902 300.18 396.587 261.209C471.273 222.239 551.007 196.178 627.719 185.507C704.466 174.855 775.499 180.074 833.689 200.575C891.879 221.075 935.197 256.224 959.283 302.388M63.2587 618.573C51.0729 557.773 60.8435 493.669 91.5878 432.724C122.332 371.778 172.956 316.122 238.399 271.391C303.842 226.659 381.771 194.386 464.363 177.817C546.956 161.249 631.302 161.015 708.931 177.084C786.56 193.153 854.718 224.982 906.566 269.36C958.414 313.737 992.137 369.159 1004.32 429.959M61.6666 438.31C73.7976 371.655 107.536 310.171 159.503 260.022C211.436 209.854 279.764 172.788 357.63 152.518C435.477 132.281 520.09 129.545 602.963 144.663C685.855 159.747 764.079 192.136 829.76 238.535C895.442 284.935 946.351 343.703 977.257 408.969C1008.16 474.236 1018.08 543.656 1005.95 610.311M145.542 242.236C206.679 158.103 306.195 107.095 422.246 100.482C538.297 93.8692 661.331 132.188 764.297 206.972C867.262 281.755 941.754 386.946 971.341 499.316C1000.91 611.719 983.211 722.13 922.108 806.282M293.978 108.588C379.356 59.3404 486.517 55.8759 591.871 99.0185C697.226 142.161 792.142 228.286 855.726 338.559C919.33 448.797 946.407 574.1 930.978 686.894C915.549 799.688 858.929 890.731 773.551 939.978M439.48 53.7409C524.234 36.7562 615.444 70.0234 693.07 146.277C770.695 222.53 828.331 335.428 853.355 460.221C878.38 585.013 868.671 711.448 826.435 811.692C784.199 911.935 712.848 977.82 628.093 994.805M555.09 44.8675C623.422 47.9132 686.725 101.346 731.061 193.385C775.398 285.423 797.1 408.595 791.491 535.735C785.829 662.89 753.288 783.609 700.958 871.375C648.628 959.141 580.862 1006.76 512.531 1003.71M645.119 57.4993C689.588 68.0899 720.485 127.468 731.049 222.491C741.613 317.514 730.965 440.464 701.419 564.283C671.892 688.067 625.89 802.614 573.578 882.664C521.265 962.714 466.897 1001.74 422.447 991.113M718.855 81.4982C737.224 89.1837 735.308 143.186 713.586 231.644C691.863 320.102 652.105 435.78 603.026 553.199C553.948 670.618 499.6 780.216 451.876 857.828C404.204 935.425 367.102 974.739 348.732 967.054M369.476 975.209C322.633 958.135 277.147 932.876 237.891 902.139M544.474 1004.07C470.56 1005.74 384.012 981.709 304.334 937.463C224.655 893.217 158.558 832.439 120.849 768.829M658.841 987.629C564.847 1013 433.568 987.668 313.518 921.004C193.468 854.339 102.566 756.296 74.4161 663.095M753.898 950.718C704.348 976.293 637.105 984.632 561.094 974.627C485.083 964.622 403.798 936.776 328.102 894.742C252.405 852.707 185.78 798.462 137.125 739.195C88.451 679.961 59.9831 618.474 55.4986 562.894M834.454 898.345C786.032 937.256 711.598 954.582 623.226 947.505C534.855 940.428 437.749 909.367 347.703 859.363C257.656 809.36 179.957 743.351 127.234 672.078C74.511 600.805 49.8703 528.462 57.3034 466.789M901.137 833.101C857.568 884.949 779.486 911.837 681.878 908.614C584.251 905.425 473.891 872.349 371.966 815.75C270.042 759.151 183.626 682.956 129.31 601.771C74.9953 520.585 56.5431 440.091 77.5038 375.734M953.355 757.266C929.888 799.525 887.463 830.224 830.34 846.384C773.183 862.524 703.376 863.51 627.868 849.203C552.36 834.896 473.851 805.852 400.18 764.942C326.509 724.032 260.353 672.743 208.293 616.211C156.233 559.678 120.134 499.882 103.654 442.851C87.1399 385.801 90.8256 333.545 114.273 291.319M953.355 757.266C891.57 868.527 788.086 950.704 665.71 985.694C543.334 1020.68 412.103 1005.62 300.807 943.814C189.545 882.03 107.368 778.545 72.359 656.203C37.369 533.827 52.4358 402.597 114.239 291.3C176.023 180.039 279.508 97.8617 401.85 62.8527C524.226 27.8627 655.457 42.9295 766.753 104.733C878.015 166.517 960.191 270.001 995.201 392.343C1030.19 514.72 1015.14 646.004 953.355 757.266ZM990.124 672.851C974.107 722.078 935.765 759.58 879.502 781.067C823.257 802.52 751.414 807.092 672.207 794.189C592.98 781.321 509.601 751.504 431.673 708.23C353.71 664.937 284.358 609.941 231.553 549.492C178.749 489.043 144.598 425.657 133.11 366.592C121.588 307.508 133.188 255.155 166.491 215.484M1010.24 581.792C1003.58 636.891 971.662 680.7 918.684 707.515C865.686 734.364 794.057 742.917 713.229 732.124C632.401 721.331 546.116 691.651 465.682 646.986C385.248 602.321 314.442 544.766 262.552 481.86C210.662 418.955 180.058 353.631 174.833 294.451C169.607 235.27 189.923 185.017 233.155 150.275M1012.13 485.691C1016.94 545.223 993.958 594.851 946.686 627.08C899.414 659.31 830.418 672.424 750.067 664.411C669.716 656.398 582.42 627.73 501.334 582.702C420.248 537.675 349.731 478.709 300.488 414.758C251.211 350.788 225.869 285.287 228.238 228.123C230.607 170.958 260.622 125.238 313.662 97.8285M993.212 385.49C1012 447.754 1001.16 502.688 962.593 540.603C924.021 578.517 860.21 596.936 782.442 592.603C704.708 588.289 618.053 561.459 537.859 516.927C457.666 472.395 389.117 413.04 344.329 349.317C299.575 285.613 281.477 221.709 293.271 168.925C305.065 116.141 345.989 77.8714 408.753 60.9367M946.711 279.718C983.745 342.279 990.263 402.448 964.795 447.099C939.326 491.75 883.959 517.284 810.803 518.072C737.628 518.895 652.572 494.929 574.232 451.426C495.892 407.924 430.586 348.392 392.602 285.843C354.618 223.293 347.005 162.831 371.444 117.608C395.883 72.385 450.402 46.1115 523.085 44.4766M829.684 146.461C882.115 187.524 920.325 235.916 937.318 282.722C954.276 329.508 948.853 371.547 921.985 401.004C895.118 430.46 848.685 445.325 791.242 442.891C733.799 440.457 669.278 420.843 609.648 387.73C549.983 354.598 499.26 310.217 466.829 262.742C434.397 215.268 422.469 167.996 433.271 129.618C444.072 91.2397 476.856 64.3944 525.57 54.0759C574.25 43.7383 635.561 50.6109 698.133 73.4103M894.319 323.837C878.23 352.811 842.706 369.466 795.622 370.135C748.504 370.784 693.679 355.386 643.181 327.344C592.648 299.283 550.595 260.884 526.273 220.564C501.917 180.224 497.291 141.319 513.399 112.31C529.489 83.336 565.013 66.6812 612.096 66.0124C659.214 65.3626 714.039 80.7606 764.538 108.803C815.036 136.845 857.123 175.263 881.445 215.583C905.767 255.904 910.408 294.863 894.319 323.837ZM844.944 269.425C833.983 289.164 809.816 300.492 777.771 300.933C745.726 301.374 708.37 290.916 674.006 271.833C639.642 252.751 610.998 226.604 594.451 199.135C577.886 171.701 574.727 145.198 585.688 125.458C596.649 105.719 620.816 94.3906 652.861 93.9496C684.906 93.5087 722.263 103.967 756.626 123.049C790.99 142.132 819.634 168.279 836.181 195.748C852.746 223.182 855.906 249.685 844.944 269.425ZM787.916 221.273C776.364 242.076 737.618 242.614 701.366 222.483C665.114 202.352 645.088 169.178 656.64 148.374C668.192 127.571 706.939 127.033 743.191 147.164C779.443 167.295 799.468 200.469 787.916 221.273Z" stroke="#B2B2B2" stroke-width="1.39595"/>
+<path d="M370.959 -86.196C445.718 -61.1233 503.129 -2.39663 533.355 44.4572C268.571 45.0287 54.0444 259.625 53.5867 524.437C-0.277672 503.261 -39.8209 473.121 -64.9804 436.382C-90.2599 399.468 -101.045 355.852 -97.2083 307.885C-89.5332 211.924 -23.3326 98.5279 102.442 -13.2713C202.961 -102.622 295.778 -111.41 370.959 -86.196Z" fill="url(#paint1_radial_1015_5349)" fill-opacity="0.08" stroke="url(#paint2_radial_1015_5349)" stroke-width="1.15887"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_1015_5349" x1="446.14" y1="-76.7441" x2="689.505" y2="372.509" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<radialGradient id="paint1_radial_1015_5349" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(298.542 248.772) rotate(-132.571) scale(228.667 229.067)">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint2_radial_1015_5349" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(236.37 188.573) rotate(-113.962) scale(136.073 280.182)">
+<stop stop-color="#D9D9D9"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/product/functions/globe.svg b/apps/www/public/images/product/functions/globe.svg
new file mode 100644
index 00000000000..771730d5552
--- /dev/null
+++ b/apps/www/public/images/product/functions/globe.svg
@@ -0,0 +1,23 @@
+<svg width="1015" height="679" viewBox="0 0 1015 679" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_1015_5349" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1109" height="679">
+<rect width="1108.46" height="678.381" fill="url(#paint0_linear_1015_5349)"/>
+</mask>
+<g mask="url(#mask0_1015_5349)">
+<path opacity="0.6" d="M284.212 934.142C280.085 931.625 287.602 910.243 305.952 872.103C324.301 833.964 352.861 780.429 388.746 716.858C424.631 653.288 466.583 581.947 510.388 510.018C554.212 438.055 598.338 368.056 638.316 306.983C678.328 245.929 712.797 195.99 738.253 162.201C763.727 128.377 779.293 111.913 783.42 114.429M223.942 890.748C206.799 876.243 204.265 845.057 216.571 800.328C228.912 755.618 255.695 698.895 294.208 635.931C332.721 572.966 381.657 505.952 436.047 441.654C490.456 377.32 548.395 317.956 604.05 269.496C659.74 221.056 711.177 185.21 753.226 165.621C795.275 146.032 826.45 143.356 843.612 157.827M165.144 831.521C140.432 801.853 133.219 758.546 144.163 705.919C155.106 653.291 183.898 593.193 227.587 531.665C271.276 470.137 328.344 409.347 393.061 355.408C457.777 301.47 527.862 256.307 596.229 224.428C664.631 192.568 728.912 175.084 782.685 173.773C836.439 172.497 877.751 187.397 902.43 217.046M108.278 746.185C84.1919 700.022 80.1842 644.392 96.6797 584.921C113.175 525.45 149.591 464.241 202.217 407.406C254.877 350.59 321.902 300.18 396.587 261.209C471.273 222.239 551.007 196.178 627.719 185.507C704.466 174.855 775.499 180.074 833.689 200.575C891.879 221.075 935.197 256.224 959.283 302.388M63.2587 618.573C51.0729 557.773 60.8435 493.669 91.5878 432.724C122.332 371.778 172.956 316.122 238.399 271.391C303.842 226.659 381.771 194.386 464.363 177.817C546.956 161.249 631.302 161.015 708.931 177.084C786.56 193.153 854.718 224.982 906.566 269.36C958.414 313.737 992.137 369.159 1004.32 429.959M61.6666 438.31C73.7976 371.655 107.536 310.171 159.503 260.022C211.436 209.854 279.764 172.788 357.63 152.518C435.477 132.281 520.09 129.545 602.963 144.663C685.855 159.747 764.079 192.136 829.76 238.535C895.442 284.935 946.351 343.703 977.257 408.969C1008.16 474.236 1018.08 543.656 1005.95 610.311M145.542 242.236C206.679 158.103 306.195 107.095 422.246 100.482C538.297 93.8692 661.331 132.188 764.297 206.972C867.262 281.755 941.754 386.946 971.341 499.316C1000.91 611.719 983.211 722.13 922.108 806.282M293.978 108.588C379.356 59.3404 486.517 55.8759 591.871 99.0185C697.226 142.161 792.142 228.286 855.727 338.559C919.331 448.797 946.407 574.1 930.978 686.894C915.549 799.688 858.929 890.731 773.551 939.978M439.48 53.7409C524.234 36.7562 615.444 70.0234 693.07 146.277C770.695 222.53 828.331 335.428 853.355 460.221C878.38 585.013 868.671 711.448 826.435 811.692C784.199 911.935 712.848 977.82 628.093 994.804M555.09 44.8675C623.422 47.9132 686.725 101.346 731.062 193.385C775.398 285.423 797.1 408.595 791.491 535.735C785.829 662.89 753.288 783.609 700.958 871.375C648.628 959.141 580.862 1006.76 512.531 1003.71M645.119 57.4993C689.588 68.0899 720.485 127.468 731.049 222.491C741.613 317.514 730.965 440.464 701.419 564.283C671.892 688.067 625.89 802.614 573.578 882.664C521.265 962.714 466.897 1001.74 422.447 991.113M718.855 81.4982C737.224 89.1837 735.308 143.186 713.586 231.644C691.863 320.102 652.105 435.78 603.026 553.199C553.948 670.618 499.6 780.216 451.876 857.828C404.204 935.425 367.102 974.739 348.732 967.054M369.476 975.209C322.633 958.135 277.147 932.876 237.891 902.139M544.475 1004.07C470.56 1005.74 384.012 981.709 304.334 937.463C224.655 893.217 158.558 832.439 120.849 768.829M658.841 987.629C564.847 1013 433.568 987.668 313.518 921.004C193.468 854.339 102.566 756.296 74.4161 663.095M753.898 950.718C704.348 976.293 637.105 984.632 561.094 974.627C485.083 964.622 403.798 936.776 328.102 894.742C252.405 852.707 185.78 798.462 137.125 739.195C88.451 679.961 59.9831 618.474 55.4986 562.894M834.454 898.345C786.032 937.256 711.598 954.582 623.226 947.505C534.855 940.428 437.749 909.367 347.703 859.363C257.656 809.36 179.957 743.351 127.234 672.078C74.511 600.805 49.8703 528.462 57.3034 466.789M901.137 833.101C857.568 884.949 779.486 911.837 681.878 908.614C584.251 905.425 473.891 872.349 371.966 815.75C270.042 759.151 183.626 682.956 129.31 601.771C74.9953 520.585 56.5431 440.091 77.5038 375.734M953.355 757.266C929.888 799.525 887.463 830.224 830.34 846.384C773.183 862.524 703.376 863.51 627.868 849.203C552.36 834.896 473.851 805.852 400.18 764.942C326.509 724.032 260.353 672.743 208.293 616.211C156.233 559.678 120.134 499.882 103.654 442.851C87.1399 385.801 90.8256 333.545 114.273 291.319M953.355 757.266C891.57 868.527 788.086 950.704 665.71 985.694C543.334 1020.68 412.103 1005.62 300.807 943.814C189.545 882.03 107.368 778.545 72.359 656.203C37.369 533.827 52.4358 402.597 114.239 291.3C176.023 180.039 279.508 97.8617 401.85 62.8527C524.226 27.8627 655.457 42.9295 766.753 104.733C878.015 166.517 960.192 270.001 995.201 392.343C1030.19 514.72 1015.14 646.004 953.355 757.266ZM990.124 672.851C974.108 722.078 935.765 759.58 879.502 781.067C823.257 802.52 751.414 807.092 672.207 794.189C592.98 781.321 509.601 751.504 431.673 708.23C353.71 664.937 284.358 609.941 231.553 549.492C178.749 489.043 144.598 425.657 133.11 366.592C121.588 307.508 133.188 255.155 166.491 215.484M1010.24 581.792C1003.58 636.89 971.663 680.7 918.684 707.515C865.686 734.364 794.057 742.917 713.229 732.124C632.401 721.331 546.116 691.651 465.682 646.986C385.248 602.321 314.442 544.766 262.552 481.86C210.662 418.955 180.058 353.631 174.833 294.451C169.608 235.27 189.923 185.017 233.155 150.275M1012.13 485.691C1016.94 545.223 993.958 594.851 946.686 627.08C899.414 659.31 830.418 672.424 750.067 664.411C669.716 656.398 582.42 627.73 501.334 582.702C420.248 537.675 349.731 478.709 300.488 414.758C251.211 350.788 225.869 285.287 228.238 228.123C230.607 170.958 260.622 125.238 313.662 97.8285M993.212 385.49C1012 447.754 1001.16 502.688 962.593 540.603C924.022 578.517 860.21 596.936 782.442 592.603C704.708 588.289 618.053 561.459 537.859 516.927C457.666 472.395 389.117 413.04 344.329 349.317C299.575 285.613 281.477 221.709 293.271 168.925C305.065 116.141 345.989 77.8714 408.753 60.9367M946.711 279.718C983.745 342.279 990.263 402.448 964.795 447.099C939.326 491.75 883.959 517.284 810.803 518.072C737.628 518.895 652.572 494.929 574.232 451.426C495.892 407.924 430.586 348.392 392.602 285.843C354.618 223.293 347.005 162.831 371.444 117.608C395.883 72.385 450.402 46.1115 523.085 44.4766M829.684 146.461C882.115 187.524 920.325 235.916 937.318 282.722C954.276 329.508 948.853 371.547 921.985 401.004C895.118 430.46 848.685 445.325 791.242 442.891C733.799 440.457 669.278 420.843 609.648 387.73C549.983 354.598 499.26 310.217 466.829 262.742C434.397 215.268 422.469 167.996 433.271 129.618C444.072 91.2397 476.856 64.3944 525.57 54.0759C574.25 43.7383 635.561 50.6109 698.133 73.4103M894.319 323.837C878.23 352.811 842.706 369.466 795.622 370.135C748.504 370.784 693.679 355.386 643.181 327.344C592.648 299.283 550.595 260.884 526.273 220.564C501.917 180.224 497.291 141.319 513.399 112.31C529.489 83.336 565.013 66.6812 612.096 66.0124C659.214 65.3626 714.039 80.7606 764.538 108.803C815.036 136.845 857.123 175.263 881.445 215.583C905.767 255.904 910.409 294.863 894.319 323.837ZM844.944 269.425C833.983 289.164 809.816 300.492 777.771 300.933C745.726 301.374 708.37 290.916 674.006 271.833C639.642 252.751 610.998 226.604 594.451 199.135C577.886 171.701 574.727 145.198 585.688 125.458C596.649 105.719 620.817 94.3906 652.862 93.9496C684.907 93.5087 722.263 103.967 756.626 123.05C790.99 142.132 819.634 168.279 836.181 195.748C852.746 223.182 855.906 249.685 844.944 269.425ZM787.916 221.273C776.364 242.076 737.618 242.614 701.366 222.483C665.114 202.352 645.088 169.178 656.64 148.374C668.192 127.571 706.939 127.033 743.191 147.164C779.443 167.295 799.468 200.469 787.916 221.273Z" stroke="#707070" stroke-width="1.39595"/>
+<path d="M533.355 44.4572C268.571 45.0287 54.0444 259.625 53.5867 524.437C-0.277672 503.261 -39.8209 473.121 -64.9804 436.382C-90.2599 399.468 -101.045 355.852 -97.2083 307.885C-89.5332 211.924 -23.3326 98.5279 102.442 -13.2713C202.961 -102.622 295.778 -111.41 370.959 -86.196C445.718 -61.1233 503.129 -2.39663 533.355 44.4572Z" fill="url(#paint1_radial_1015_5349)" fill-opacity="0.08" stroke="url(#paint2_radial_1015_5349)" stroke-width="1.15887"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_1015_5349" x1="446.14" y1="-76.7441" x2="689.505" y2="372.509" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<radialGradient id="paint1_radial_1015_5349" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(298.542 248.772) rotate(-132.571) scale(228.667 229.067)">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint2_radial_1015_5349" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(236.37 188.573) rotate(-113.962) scale(136.073 280.182)">
+<stop stop-color="#D9D9D9"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/product/functions/grid-gradient-dark.svg b/apps/www/public/images/product/functions/grid-gradient-dark.svg
new file mode 100644
index 00000000000..5a3100fa794
--- /dev/null
+++ b/apps/www/public/images/product/functions/grid-gradient-dark.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="445" height="208" fill="none"><g clip-path="url(#a)"><mask id="c" width="445" height="332" x="0" y="-62" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="url(#b)" d="M0-62h445v331.691H0z"/></mask><g mask="url(#c)"><path stroke="#2E2E2E" stroke-width=".489" d="m1.168 332.218 445.58-.001M1.168 318.852h445.58M1.168 305.487h445.58M1.168 292.122h445.58M1.168 278.757h445.58M1.168 265.392h445.58M1.168 252.026h445.58M1.168 238.661h445.58M1.168 225.296h445.58M1.168 211.931h445.58M1.168 198.566h445.58M1.168 185.2h445.58M1.168 171.835h445.58M1.168 158.47h445.58M1.168 145.105h445.58M1.168 131.74h445.58M1.168 118.375h445.58M1.168 105.009h445.58M1.168 91.644h445.58M1.168 78.28h445.58M1.168 64.914h445.58M1.168 51.549h445.58M1.168 38.183h445.58M1.168 24.818h445.58M1.168 11.453h445.58M1.168-1.912h445.58M1.168-15.277h445.58M1.168-28.642h445.58M1.168-42.009h445.58M11.198-104.21V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5"/></g></g><defs><linearGradient id="b" x1="222.5" x2="222.5" y1="-62" y2="148.014" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#232323" stop-opacity="0"/></linearGradient><clipPath id="a"><path fill="#fff" d="M0 0h445v208H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/apps/www/public/images/product/functions/grid-gradient-light.svg b/apps/www/public/images/product/functions/grid-gradient-light.svg
new file mode 100644
index 00000000000..daf17f557d5
--- /dev/null
+++ b/apps/www/public/images/product/functions/grid-gradient-light.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="445" height="208" fill="none"><g clip-path="url(#a)"><mask id="c" width="445" height="332" x="0" y="-62" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="url(#b)" d="M0-62h445v331.691H0z"/></mask><g mask="url(#c)"><path stroke="#EDEDED" stroke-width=".489" d="m1.168 332.218 445.58-.001M1.168 318.852h445.58M1.168 305.487h445.58M1.168 292.122h445.58M1.168 278.757h445.58M1.168 265.392h445.58M1.168 252.026h445.58M1.168 238.661h445.58M1.168 225.296h445.58M1.168 211.931h445.58M1.168 198.566h445.58M1.168 185.2h445.58M1.168 171.835h445.58M1.168 158.47h445.58M1.168 145.105h445.58M1.168 131.74h445.58M1.168 118.375h445.58M1.168 105.009h445.58M1.168 91.644h445.58M1.168 78.28h445.58M1.168 64.914h445.58M1.168 51.549h445.58M1.168 38.183h445.58M1.168 24.818h445.58M1.168 11.453h445.58M1.168-1.912h445.58M1.168-15.277h445.58M1.168-28.642h445.58M1.168-42.009h445.58M11.198-104.21V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5m13.637-436.71V332.5m13.636-436.71V332.5m13.637-436.71V332.5"/></g></g><defs><linearGradient id="b" x1="222.5" x2="222.5" y1="-62" y2="148.014" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#232323" stop-opacity="0"/></linearGradient><clipPath id="a"><path fill="#fff" d="M0 0h445v208H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/apps/www/public/images/product/functions/lines-gradient-dark.svg b/apps/www/public/images/product/functions/lines-gradient-dark.svg
new file mode 100644
index 00000000000..57e34589305
--- /dev/null
+++ b/apps/www/public/images/product/functions/lines-gradient-dark.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="446" height="209" fill="none"><mask id="b" width="480" height="365" x="-17" y="-77" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="url(#a)" d="M-17-77h479.145v364.396H-17z"/></mask><g mask="url(#b)"><path stroke="#2E2E2E" stroke-width=".5" d="M-27.117-59.46h499.379m-499.38 14.285h499.38m-499.38 14.286h499.38m-499.38 14.286h499.38M-27.118-2.317h499.38m-499.38 14.286h499.38m-499.38 14.286h499.38M-27.118 40.54h499.38m-499.38 14.286h499.38M-27.116 69.113l499.379 1.763m-499.38 14.286h499.379m-499.38 14.286h499.38m-499.38 14.286h499.38m-499.38 14.285h499.38m-499.38 14.286h499.38"/></g><defs><linearGradient id="a" x1="222.572" x2="222.572" y1="-77" y2="153.722" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#232323" stop-opacity="0"/></linearGradient></defs></svg>
\ No newline at end of file
diff --git a/apps/www/public/images/product/functions/lines-gradient-light.svg b/apps/www/public/images/product/functions/lines-gradient-light.svg
new file mode 100644
index 00000000000..6d42e5756f0
--- /dev/null
+++ b/apps/www/public/images/product/functions/lines-gradient-light.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="446" height="209" fill="none"><mask id="b" width="480" height="365" x="-17" y="-77" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="url(#a)" d="M-17-77h479.145v364.396H-17z"/></mask><g mask="url(#b)"><path stroke="#EDEDED" stroke-width=".5" d="M-27.117-59.46h499.379m-499.38 14.285h499.38m-499.38 14.286h499.38m-499.38 14.286h499.38M-27.118-2.317h499.38m-499.38 14.286h499.38m-499.38 14.286h499.38M-27.118 40.54h499.38m-499.38 14.286h499.38M-27.116 69.113l499.379 1.763m-499.38 14.286h499.379m-499.38 14.286h499.38m-499.38 14.286h499.38m-499.38 14.285h499.38m-499.38 14.286h499.38"/></g><defs><linearGradient id="a" x1="222.572" x2="222.572" y1="-77" y2="153.722" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#232323" stop-opacity="0"/></linearGradient></defs></svg>
\ No newline at end of file
diff --git a/apps/www/tailwind.config.js b/apps/www/tailwind.config.js
index 2822e495903..b92deaf424f 100644
--- a/apps/www/tailwind.config.js
+++ b/apps/www/tailwind.config.js
@@ -4,6 +4,7 @@ module.exports = config({
content: [
'./_blog/*.mdx',
'./components/**/*.tsx',
+ './data/**/*.tsx',
'./layouts/**/*.tsx',
'./lib/mdx/mdxComponents.tsx',
'./pages/**/*.{tsx,mdx}',
@@ -18,10 +19,8 @@ module.exports = config({
'100%': { backgroundColor: 'transparent' },
},
slideIn: {
- '0%, 100%': { transform: 'translate3d(0,0,0)' },
- },
- slideIn: {
- '0%, 100%': { transform: 'translate3d(0,0,0)' },
+ '0%': { transform: 'translate3d(0,-100%,0)' },
+ '100%': { transform: 'translate3d(0,0,0)' },
},
spinner: {
'0%': {
@@ -47,6 +46,11 @@ module.exports = config({
spinner: 'spinner 1s both infinite',
marquee: 'marquee 35s linear infinite',
'pulse-radar': 'pulse-radar 3s linear infinite',
+ 'slide-in': 'slideIn 250ms ease-in both',
+ },
+ transitionDelay: {
+ 1200: '1200ms',
+ 1500: '1500ms',
},
},
},
diff --git a/apps/www/types/common.ts b/apps/www/types/common.ts
new file mode 100644
index 00000000000..0f26adca5c8
--- /dev/null
+++ b/apps/www/types/common.ts
@@ -0,0 +1,8 @@
+import { ButtonProps } from 'ui'
+
+export interface CTA {
+ label: string
+ href: string
+ type?: ButtonProps['type']
+ target?: HTMLAnchorElement['target']
+}
diff --git a/package-lock.json b/package-lock.json
index 455cfb81d37..77776fde6e1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3428,7 +3428,7 @@
"remark-gfm": "^3.0.1",
"remark-html": "^16.0.1",
"shared-data": "*",
- "swiper": "^6.5.0",
+ "swiper": "^11.0.7",
"three": "^0.136.0",
"typed.js": "^2.0.16",
"typescript": "^5.4.3",
@@ -22692,13 +22692,6 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
- "node_modules/dom7": {
- "version": "3.0.0",
- "license": "MIT",
- "dependencies": {
- "ssr-window": "^3.0.0-alpha.1"
- }
- },
"node_modules/domain-browser": {
"version": "4.23.0",
"resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-4.23.0.tgz",
@@ -41995,10 +41988,6 @@
"resolved": "https://registry.npmjs.org/sse.js/-/sse.js-2.2.0.tgz",
"integrity": "sha512-v1ciaikunC99FKS23rS973HYU0DnnvugtX13UggNvrgRUSungaGeLmKlm57t0dI2E1TcCqzc2Pj2njBDXFIpKQ=="
},
- "node_modules/ssr-window": {
- "version": "3.0.0",
- "license": "MIT"
- },
"node_modules/ssri": {
"version": "8.0.1",
"license": "ISC",
@@ -43251,23 +43240,19 @@
}
},
"node_modules/swiper": {
- "version": "6.8.4",
+ "version": "11.0.7",
+ "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.0.7.tgz",
+ "integrity": "sha512-cDfglW1B6uSmB6eB6pNmzDTNLmZtu5bWWa1vak0RU7fOI9qHjMzl7gVBvYSl34b0RU2N11HxxETJqQ5LeqI1cA==",
"funding": [
{
"type": "patreon",
- "url": "https://www.patreon.com/vladimirkharlampidi"
+ "url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
}
],
- "hasInstallScript": true,
- "license": "MIT",
- "dependencies": {
- "dom7": "^3.0.0",
- "ssr-window": "^3.0.0"
- },
"engines": {
"node": ">= 4.7.0"
}
diff --git a/packages/config/tailwind.config.js b/packages/config/tailwind.config.js
index f5207f9a090..b28d648faf0 100644
--- a/packages/config/tailwind.config.js
+++ b/packages/config/tailwind.config.js
@@ -242,7 +242,7 @@ const uiConfig = ui({
backgroundColor: 'hsl(var(--background-surface-200))',
border: '1px solid ' + 'hsl(var(--background-surface-300))',
borderRadius: theme('borderRadius.lg'),
- wordBreak: 'break-all',
+ // wordBreak: 'break-all',
},
a: {
position: 'relative',
diff --git a/packages/icons/README.md b/packages/icons/README.md
index bb6e71ae47c..2e6956831c3 100644
--- a/packages/icons/README.md
+++ b/packages/icons/README.md
@@ -24,7 +24,7 @@ Add new icons into ./src/raw-icons
Make sure there are no inline stroke/border/fill colors (see below)
-run this in ./internal/build-icons
+run this in ./packages/build-icons
```bash
npm run build
diff --git a/packages/icons/src/icons/index.ts b/packages/icons/src/icons/index.ts
index 080ce9b415c..55051580381 100644
--- a/packages/icons/src/icons/index.ts
+++ b/packages/icons/src/icons/index.ts
@@ -1,20 +1,19 @@
-export { default as RESTApi } from './REST-api';
-export { default as ExampleTemplate } from './_example-template';
-export { default as ApiDocs } from './api-docs';
-export { default as Auth } from './auth';
-export { default as Database } from './database';
-export { default as EdgeFunctions } from './edge-functions';
-export { default as Home } from './home';
-export { default as InsertCode } from './insert-code';
-export { default as Integrations } from './integrations';
-export { default as Logs } from './logs';
-export { default as Postgres } from './postgres';
-export { default as Realtime } from './realtime';
-export { default as ReplaceCode } from './replace-code';
-export { default as Reports } from './reports';
-export { default as Settings } from './settings';
-export { default as SqlEditor } from './sql-editor';
-export { default as Storage } from './storage';
-export { default as TableEditor } from './table-editor';
-export { default as User } from './user';
-
+export { default as RESTApi } from './REST-api'
+export { default as ExampleTemplate } from './_example-template'
+export { default as ApiDocs } from './api-docs'
+export { default as Auth } from './auth'
+export { default as Database } from './database'
+export { default as EdgeFunctions } from './edge-functions'
+export { default as Home } from './home'
+export { default as InsertCode } from './insert-code'
+export { default as Integrations } from './integrations'
+export { default as Logs } from './logs'
+export { default as Postgres } from './postgres'
+export { default as Realtime } from './realtime'
+export { default as ReplaceCode } from './replace-code'
+export { default as Reports } from './reports'
+export { default as Settings } from './settings'
+export { default as SqlEditor } from './sql-editor'
+export { default as Storage } from './storage'
+export { default as TableEditor } from './table-editor'
+export { default as User } from './user'
diff --git a/packages/shared-data/products.ts b/packages/shared-data/products.ts
index df1c14208ba..0dbcf7f030f 100644
--- a/packages/shared-data/products.ts
+++ b/packages/shared-data/products.ts
@@ -31,12 +31,12 @@ interface Icon {
'24': string
}
-interface ProductProps {
+export interface ProductProps {
name: PRODUCT_NAMES
icon: Icon
}
-type Products = {
+export type Products = {
[product in PRODUCT]: ProductProps
}
diff --git a/packages/ui-patterns/GlassPanel/index.tsx b/packages/ui-patterns/GlassPanel/index.tsx
index a13bd20077a..e2b0fd526ad 100644
--- a/packages/ui-patterns/GlassPanel/index.tsx
+++ b/packages/ui-patterns/GlassPanel/index.tsx
@@ -56,6 +56,7 @@ export const GlassPanel = ({
src={logoImage}
alt={title}
fill
+ sizes="100%"
className={cn('object-contain object-left', className)}
/>
</div>