Skip to content

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

Add interaction to Deploy Globally highlight

Francesco Sansalvadore7c2a945a177f
diff --git a/apps/www/components/Sections/CustomerQuotesSection.tsx b/apps/www/components/Sections/CustomerQuotesSection.tsx
index 39995df3ec1..1a9c4f4719e 100644
--- a/apps/www/components/Sections/CustomerQuotesSection.tsx
+++ b/apps/www/components/Sections/CustomerQuotesSection.tsx
@@ -44,10 +44,10 @@ const CustomerQuotesSection = (props: Props) => {
</div>
</div>
<div className="border-t pt-4">
- <p className="text-scale-1200 font-medium">{card.author}</p>
- <p className="text-scale-900 text-sm">{card.role}</p>
+ <p className="text-scale-1100 text-base">{card.quote}</p>
+ <p className="text-scale-900 mt-4">{card.author}</p>
+ <blockquote className="text-scale-900 text-sm">{card.role}</blockquote>
</div>
- <p className="text-scale-900 mt-1 text-base">{card.quote}</p>
</div>
{card.url && (
@@ -74,7 +74,7 @@ const CustomerQuotesSection = (props: Props) => {
<div className="col-span-12 text-center relative z-10">
<h3 className="text-3xl md:text-4xl heading-gradient">{props.title}</h3>
</div>
- <div className="relative mx-auto grid grid-cols-1 lg:grid-cols-3 gap-4 xl:gap-8 pt-16 pb-0">
+ <div className="relative mx-auto max-w-4xl grid grid-cols-1 lg:grid-cols-2 gap-4 xl:gap-8 pt-16 pb-0">
{props.customers.map((customer) => (
<Link href={`${basePath}${customer.url}`}>
<a className="h-full flex">
@@ -82,7 +82,7 @@ const CustomerQuotesSection = (props: Props) => {
</a>
</Link>
))}
- <div className="w-full h-full flex flex-col justify-stretch gap-4 xl:gap-8">
+ {/* <div className="w-full h-full flex flex-col justify-stretch gap-4 xl:gap-8">
{props.secondaryLinks.map((link) => (
<Link href={`${basePath}${link.url}`}>
<a className="w-full h-auto lg:h-full bg-scale-100 dark:bg-scale-200 hover:border-scale-600 hover:dark:border-scale-700 border-scale-300 dark:border-scale-400 rounded-2xl border p-6 drop-shadow-sm flex flex-col justify-center items-center py-16">
@@ -98,7 +98,7 @@ const CustomerQuotesSection = (props: Props) => {
</a>
</Link>
))}
- </div>
+ </div> */}
</div>
</SectionContainer>
</div>
diff --git a/apps/www/components/Sections/HighlightCards.tsx b/apps/www/components/Sections/HighlightCards.tsx
index 9b1771f3344..7cc38cda347 100644
--- a/apps/www/components/Sections/HighlightCards.tsx
+++ b/apps/www/components/Sections/HighlightCards.tsx
@@ -1,4 +1,4 @@
-import React, { useRef } from 'react'
+import React, { useRef, useState } from 'react'
import { LazyMotion, domAnimation, m, useInView } from 'framer-motion'
import SectionContainer from '~/components/Layouts/SectionContainer'
import InteractiveShimmerCard from '~/components/InteractiveShimmerCard'
@@ -28,16 +28,25 @@ const HighlightCards = ({ highlights }: { highlights: Highlight[] }) => {
const HighlightCard = ({ highlight, index }: { highlight: Highlight; index: number }) => {
const ref = useRef(null)
+ const [isHovered, setIsHovered] = useState(false)
const isInView = useInView(ref, { once: true })
const initial = INITIAL_BOTTOM
const animate = getAnimation({ delay: 0.4 + index * 0.1 })
+ const Img: any = highlight.image
+
return (
- <m.div ref={ref} initial={initial} animate={isInView ? animate : initial}>
+ <m.div
+ ref={ref}
+ initial={initial}
+ onMouseEnter={() => setIsHovered(true)}
+ onMouseLeave={() => setIsHovered(false)}
+ animate={isInView ? animate : initial}
+ >
<InteractiveShimmerCard innerClassName="flex flex-col !bg-scale-200">
<div className="relative w-full aspect-[1.35/1] mb-4">
- {highlight.image && highlight.image}
+ {highlight.image && <Img isHovered={isHovered} />}
{highlight.svg && highlight.svg}
</div>
<div className="p-8">
diff --git a/apps/www/components/products/vector/DeployGlobally.tsx b/apps/www/components/products/vector/DeployGlobally.tsx
index e1e7ca18962..78e41c7fb88 100644
--- a/apps/www/components/products/vector/DeployGlobally.tsx
+++ b/apps/www/components/products/vector/DeployGlobally.tsx
@@ -1,6 +1,76 @@
import React from 'react'
-const DeployGlobally = () => {
+function getRandomNumber(min: number, max: number) {
+ // Calculating the range
+ var range = max - min
+
+ // Generating a random number within the range
+ var randomNumber = Math.random() * range + min
+
+ // Rounding the random number to the nearest integer
+ return Math.round(randomNumber)
+}
+
+const DeployGlobally = ({ isHovered }: { isHovered: boolean }) => {
+ const ref = React.useRef<any>()
+ const states = ['off', 'medium', 'high']
+ const indices = [
+ 3, 11, 14, 23, 27, 35, 42, 48, 55, 62, 67, 71, 81, 83, 91, 98, 103, 107, 110, 115,
+ ]
+ const transitionDuration = 250
+
+ React.useEffect(() => {
+ if (!isHovered) return
+ const timeoutIds: any = []
+ const circles = [...ref.current?.querySelectorAll('circle')]
+
+ const interval = setInterval(() => {
+ circles?.map((circle, index: any) => {
+ const isMatch = indices.includes(index)
+
+ if (!isMatch) {
+ return
+ }
+
+ const nextState = states[Math.floor(Math.random() * states.length)]
+ const currentState = circle.dataset.state
+
+ const pulse =
+ Math.random() > 0.2 &&
+ ((currentState === 'off' && nextState === 'high') ||
+ (currentState === 'off' && nextState === 'medium') ||
+ (currentState === 'medium' && nextState === 'high'))
+
+ if (pulse) {
+ const delay = getRandomNumber(50, 150)
+
+ timeoutIds.push(
+ setTimeout(() => {
+ circle.style.opacity = '0.3'
+ }, delay)
+ )
+
+ timeoutIds.push(
+ setTimeout(() => {
+ circle.style.opacity = '1'
+ }, transitionDuration + delay)
+ )
+ }
+
+ if (currentState === 'high' && nextState === 'medium' && pulse) {
+ circle.dataset.state = 'off'
+ } else {
+ circle.dataset.state = nextState
+ }
+ })
+ }, 1000)
+
+ return () => {
+ clearInterval(interval)
+ timeoutIds.forEach(clearTimeout)
+ }
+ }, [isHovered])
+
return (
<>
<div
@@ -10,6 +80,7 @@ const DeployGlobally = () => {
}}
/>
<svg
+ ref={ref}
width="100%"
height="100%"
viewBox="0 0 284 210"
diff --git a/apps/www/components/products/vector/SecureAndScalableImg.tsx b/apps/www/components/products/vector/SecureAndScalableImg.tsx
index 9db34d08ecf..1af8c820e75 100644
--- a/apps/www/components/products/vector/SecureAndScalableImg.tsx
+++ b/apps/www/components/products/vector/SecureAndScalableImg.tsx
@@ -21,77 +21,77 @@ const SecureAndScalableImg = () => {
<path
d="M211.509 48.2196V47.8885L211.187 47.8092L142.339 30.8193L142.237 30.7943L142.136 30.8193L73.2874 47.8092L72.9659 47.8885V48.2196V69.9239V70.0165C72.9659 99.0198 72.9659 113.623 76.9463 126.852C80.7771 139.584 87.2689 151.357 95.992 161.391C105.056 171.818 117.405 179.611 141.933 195.089L141.992 195.126L142.208 195.299L142.463 195.138L142.541 195.089C167.069 179.611 179.419 171.818 188.483 161.391C197.206 151.357 203.698 139.584 207.529 126.852C211.509 113.623 211.509 99.0197 211.509 70.0163V69.9239V48.2196Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter1_b_4346_100010)">
<path
d="M218.65 41.5002V41.1691L218.328 41.0897L142.339 22.3377L142.238 22.3127L142.136 22.3377L66.1468 41.0897L65.8253 41.1691V41.5002V65.4556V65.5482C65.8253 97.5687 65.8253 113.68 70.2167 128.276C74.4429 142.322 81.6051 155.311 91.2288 166.381C101.229 177.884 114.854 186.482 141.934 203.57L142.012 203.62L142.238 203.762L142.463 203.62L142.542 203.57C169.621 186.482 183.247 177.884 193.246 166.381C202.87 155.311 210.032 142.322 214.259 128.276C218.65 113.68 218.65 97.5687 218.65 65.5481V65.4556V41.5002Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter2_b_4346_100010)">
<path
d="M225.791 34.7807V34.4496L225.47 34.3702L142.339 13.856L142.238 13.831L142.137 13.856L59.0061 34.3702L58.6846 34.4496V34.7807V60.9872V61.0799C58.6846 96.1177 58.6846 113.738 63.487 129.699C68.1088 145.06 75.9413 159.265 86.4657 171.371C97.4013 183.95 112.303 193.354 141.934 212.052L142.012 212.102L142.238 212.244L142.464 212.102L142.542 212.052C172.173 193.354 187.075 183.95 198.01 171.371C208.535 159.265 216.367 145.06 220.989 129.699C225.791 113.738 225.791 96.1178 225.791 61.0803V60.9875V60.9872V34.7807Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter3_b_4346_100010)">
<path
d="M232.932 28.0613V27.7302L232.611 27.6508L142.339 5.37444L142.238 5.34944L142.137 5.37444L51.8655 27.6508L51.544 27.7302V28.0613V56.5189V56.6117C51.544 94.6666 51.544 113.795 56.7574 131.123C61.7747 147.799 70.2774 163.218 81.7025 176.361C93.574 190.017 109.751 200.225 141.934 220.534L142.013 220.583L142.238 220.726L142.464 220.583L142.542 220.534C174.725 200.225 190.902 190.017 202.774 176.361C214.199 163.218 222.702 147.799 227.719 131.123C232.932 113.795 232.932 94.6667 232.932 56.612V56.5192V56.5189V28.0613Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter4_b_4346_100010)">
<path
d="M240.832 20.6283V20.2971L240.511 20.2178L142.34 -4.00789L142.239 -4.03288L142.138 -4.00789L43.9671 20.2178L43.6456 20.2971V20.6283V51.576V51.6689C43.6456 93.0615 43.6456 113.859 49.3136 132.697C54.7684 150.827 64.0126 167.592 76.434 181.88C89.3407 196.727 106.929 207.826 141.935 229.916L142.013 229.965L142.26 230.121L142.479 229.956L142.543 229.916C177.548 207.826 195.137 196.727 208.044 181.88C220.465 167.592 229.709 150.827 235.164 132.697C240.832 113.859 240.832 93.0616 240.832 51.6693V51.5764V51.5761V20.6283Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter5_b_4346_100010)">
<path
d="M248.943 12.9968V12.6657L248.622 12.5863L142.341 -13.6407L142.24 -13.6657L142.138 -13.6407L35.8577 12.5863L35.5362 12.6657V12.9968V46.5012V46.5941C35.5362 91.4135 35.5362 113.925 41.671 134.314C47.575 153.937 57.5805 172.082 71.0248 187.547C84.9943 203.617 104.032 215.63 141.935 239.548L142.014 239.598L142.022 239.603L142.03 239.608L142.03 239.608L142.271 239.746L142.48 239.589L142.543 239.549C180.447 215.63 199.485 203.617 213.454 187.547C226.899 172.082 236.904 153.937 242.808 134.314C248.943 113.924 248.943 91.4134 248.943 46.594V46.5013V12.9968Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter6_b_4346_100010)">
<path
d="M257.054 5.36522V5.03408L256.733 4.95474L142.342 -23.2736L142.24 -23.2986L142.139 -23.2736L27.7483 4.95474L27.4268 5.03408V5.36522V41.4264V41.5193C27.4268 89.7655 27.4268 113.99 34.0283 135.931C40.3817 157.047 51.1484 176.573 65.6156 193.214C80.6481 210.506 101.135 223.434 141.936 249.182L142.015 249.231L142.24 249.374L142.466 249.231L142.544 249.182C183.346 223.434 203.833 210.507 218.865 193.214C233.332 176.573 244.099 157.047 250.453 135.931C257.054 113.99 257.054 89.7656 257.054 41.5197V41.4265V41.4264V5.36522Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter7_b_4346_100010)">
<path
d="M265.758 -2.82475V-3.15589L265.437 -3.23522L142.342 -33.6114L142.241 -33.6364L142.14 -33.6114L19.0452 -3.23522L18.7237 -3.15589V-2.82475V35.9802V36.0731C18.7237 87.9969 18.7237 114.06 25.8261 137.666C32.6615 160.384 44.2453 181.391 59.8103 199.296C75.9834 217.9 98.025 231.809 141.937 259.519L142.015 259.569L142.241 259.711L142.467 259.569L142.544 259.52C186.457 231.81 208.498 217.9 224.672 199.296C240.237 181.391 251.82 160.384 258.656 137.666C265.758 114.06 265.758 87.997 265.758 36.0735V35.9805V35.9802V-2.82475Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter8_b_4346_100010)">
<path
d="M274.857 -11.3869V-11.7181L274.535 -11.7974L142.342 -44.419L142.24 -44.444L142.139 -44.419L9.94558 -11.7974L9.62409 -11.7181V-11.3869V30.2864V30.3794C9.62409 86.1479 9.62408 114.133 17.2502 139.48C24.5896 163.873 37.0275 186.429 53.7401 205.654C71.1057 225.63 94.773 240.565 141.936 270.327L142.015 270.376L142.022 270.381L142.03 270.386L142.031 270.386L142.251 270.512L142.466 270.377L142.544 270.328C189.708 240.565 213.375 225.63 230.741 205.654C247.454 186.429 259.891 163.873 267.231 139.48C274.857 114.133 274.857 86.1478 274.857 30.3791V30.2865V-11.3869Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter9_b_4346_100010)">
<path
d="M284.529 -20.488V-20.8191L284.207 -20.8985L142.342 -55.9068L142.24 -55.9318L142.139 -55.9068L0.273707 -20.8985L-0.0477876 -20.8191V-20.488V24.2344V24.3274C-0.0477898 84.1826 -0.0477909 114.212 8.135 141.408C16.0101 167.582 29.3558 191.785 47.2884 212.413C65.9216 233.847 91.317 249.872 141.936 281.815L142.015 281.864L142.24 282.007L142.466 281.864L142.544 281.815C193.164 249.872 218.559 233.847 237.193 212.413C255.125 191.785 268.471 167.582 276.346 141.408C284.529 114.212 284.529 84.1828 284.529 24.3281V24.2351V24.2344V-20.488Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter10_b_4346_100010)">
<path
d="M294.824 -30.1753V-30.5064L294.502 -30.5858L142.342 -68.1346L142.24 -68.1596L142.139 -68.1346L-10.0212 -30.5858L-10.3427 -30.5064V-30.1753V17.7925V17.8856C-10.3427 82.0907 -10.3427 114.295 -1.56741 143.461C6.87794 171.53 21.19 197.485 40.421 219.606C60.4035 242.593 87.6384 259.779 141.937 294.043L142.015 294.092L142.27 294.253L142.486 294.08L142.544 294.043C196.843 259.779 224.077 242.593 244.06 219.606C263.291 197.485 277.603 171.53 286.048 143.46C294.824 114.295 294.824 82.0907 294.824 17.8856V17.7926V-30.1753Z"
stroke="#494949"
- stroke-width="0.845575"
+ strokeWidth="0.845575"
/>
</g>
<g filter="url(#filter11_f_4346_100010)">
@@ -106,8 +106,8 @@ const SecureAndScalableImg = () => {
<path
d="M90.7324 115.461H193.732"
stroke="#F3F3F3"
- stroke-opacity="0.1"
- stroke-width="0.845575"
+ strokeOpacity="0.1"
+ strokeWidth="0.845575"
/>
<path
d="M97.577 128.16H96.9094C96.8596 127.911 96.7697 127.681 96.6395 127.471C96.5116 127.258 96.3506 127.072 96.1565 126.913C95.9624 126.755 95.7422 126.631 95.496 126.544C95.2498 126.456 94.9835 126.413 94.697 126.413C94.2377 126.413 93.8187 126.532 93.4399 126.771C93.0635 127.01 92.7616 127.362 92.5344 127.826C92.3095 128.288 92.197 128.853 92.197 129.523C92.197 130.198 92.3095 130.766 92.5344 131.228C92.7616 131.689 93.0635 132.04 93.4399 132.279C93.8187 132.516 94.2377 132.634 94.697 132.634C94.9835 132.634 95.2498 132.59 95.496 132.503C95.7422 132.415 95.9624 132.293 96.1565 132.137C96.3506 131.978 96.5116 131.792 96.6395 131.579C96.7697 131.366 96.8596 131.136 96.9094 130.887H97.577C97.5178 131.221 97.4065 131.532 97.2432 131.821C97.0822 132.107 96.8762 132.358 96.6253 132.574C96.3767 132.789 96.0902 132.957 95.7659 133.078C95.4416 133.199 95.0853 133.259 94.697 133.259C94.0862 133.259 93.5441 133.106 93.0706 132.801C92.5971 132.493 92.2254 132.06 91.9555 131.501C91.688 130.943 91.5542 130.283 91.5542 129.523C91.5542 128.763 91.688 128.104 91.9555 127.545C92.2254 126.987 92.5971 126.555 93.0706 126.249C93.5441 125.941 94.0862 125.788 94.697 125.788C95.0853 125.788 95.4416 125.848 95.7659 125.969C96.0902 126.087 96.3767 126.255 96.6253 126.473C96.8762 126.688 97.0822 126.939 97.2432 127.226C97.4065 127.512 97.5178 127.823 97.577 128.16ZM101.211 133.273C100.702 133.273 100.261 133.155 99.8896 132.918C99.518 132.679 99.2303 132.349 99.0267 131.927C98.8255 131.504 98.7249 131.016 98.7249 130.464C98.7249 129.915 98.8255 129.427 99.0267 129.001C99.2303 128.573 99.5109 128.238 99.8683 127.996C100.228 127.752 100.644 127.631 101.115 127.631C101.411 127.631 101.696 127.685 101.971 127.794C102.245 127.9 102.491 128.065 102.709 128.288C102.929 128.508 103.103 128.786 103.231 129.122C103.359 129.456 103.423 129.851 103.423 130.308V130.621H99.1617V130.063H102.777C102.777 129.713 102.706 129.398 102.564 129.118C102.424 128.837 102.229 128.614 101.978 128.451C101.729 128.288 101.441 128.206 101.115 128.206C100.769 128.206 100.465 128.298 100.202 128.483C99.9394 128.667 99.7334 128.911 99.5843 129.214C99.4375 129.517 99.3629 129.849 99.3605 130.209V130.542C99.3605 130.976 99.4351 131.355 99.5843 131.679C99.7358 132.001 99.95 132.251 100.227 132.428C100.504 132.606 100.832 132.694 101.211 132.694C101.469 132.694 101.695 132.654 101.889 132.574C102.085 132.493 102.25 132.386 102.383 132.251C102.517 132.113 102.619 131.963 102.688 131.8L103.288 131.995C103.205 132.225 103.069 132.436 102.88 132.631C102.693 132.825 102.458 132.981 102.177 133.099C101.897 133.215 101.575 133.273 101.211 133.273ZM104.816 133.16V127.705H105.43V128.543H105.476C105.585 128.269 105.775 128.047 106.045 127.879C106.317 127.709 106.625 127.623 106.968 127.623C107.02 127.623 107.078 127.625 107.142 127.627C107.206 127.629 107.259 127.632 107.302 127.634V128.277C107.273 128.272 107.224 128.265 107.153 128.256C107.082 128.246 107.005 128.241 106.922 128.241C106.638 128.241 106.384 128.302 106.162 128.422C105.942 128.541 105.768 128.705 105.64 128.916C105.512 129.127 105.448 129.367 105.448 129.637V133.16H104.816ZM110.871 127.705V128.256H108.268V127.705H110.871ZM109.081 126.398H109.717V131.736C109.717 131.963 109.756 132.142 109.834 132.272C109.912 132.4 110.014 132.491 110.139 132.545C110.265 132.597 110.398 132.623 110.54 132.623C110.623 132.623 110.694 132.619 110.753 132.609C110.813 132.597 110.865 132.586 110.91 132.574L111.045 133.145C110.983 133.169 110.907 133.19 110.817 133.209C110.727 133.231 110.616 133.241 110.484 133.241C110.252 133.241 110.028 133.19 109.812 133.089C109.599 132.987 109.424 132.835 109.287 132.634C109.15 132.433 109.081 132.183 109.081 131.885V126.398ZM112.313 133.16V127.705H112.949V133.16H112.313ZM112.636 126.768C112.506 126.768 112.395 126.724 112.303 126.636C112.21 126.546 112.164 126.439 112.164 126.313C112.164 126.188 112.21 126.081 112.303 125.993C112.395 125.904 112.506 125.859 112.636 125.859C112.767 125.859 112.878 125.904 112.97 125.993C113.063 126.081 113.109 126.188 113.109 126.313C113.109 126.439 113.063 126.546 112.97 126.636C112.878 126.724 112.767 126.768 112.636 126.768ZM116.865 127.705V128.256H114.184V127.705H116.865ZM115.022 133.16V126.906C115.022 126.613 115.089 126.365 115.224 126.164C115.362 125.963 115.54 125.81 115.761 125.706C115.981 125.602 116.214 125.55 116.46 125.55C116.626 125.55 116.763 125.564 116.872 125.592C116.983 125.618 117.071 125.644 117.135 125.67L116.95 126.224C116.903 126.21 116.845 126.194 116.776 126.175C116.708 126.156 116.621 126.146 116.517 126.146C116.242 126.146 116.03 126.223 115.881 126.377C115.732 126.531 115.658 126.751 115.658 127.038L115.654 133.16H115.022ZM118.134 133.16V127.705H118.769V133.16H118.134ZM118.457 126.768C118.327 126.768 118.215 126.724 118.123 126.636C118.031 126.546 117.984 126.439 117.984 126.313C117.984 126.188 118.031 126.081 118.123 125.993C118.215 125.904 118.327 125.859 118.457 125.859C118.587 125.859 118.698 125.904 118.791 125.993C118.883 126.081 118.929 126.188 118.929 126.313C118.929 126.439 118.883 126.546 118.791 126.636C118.698 126.724 118.587 126.768 118.457 126.768ZM122.646 133.273C122.137 133.273 121.697 133.155 121.325 132.918C120.954 132.679 120.666 132.349 120.462 131.927C120.261 131.504 120.16 131.016 120.16 130.464C120.16 129.915 120.261 129.427 120.462 129.001C120.666 128.573 120.946 128.238 121.304 127.996C121.664 127.752 122.079 127.631 122.55 127.631C122.846 127.631 123.132 127.685 123.406 127.794C123.681 127.9 123.927 128.065 124.145 128.288C124.365 128.508 124.539 128.786 124.667 129.122C124.795 129.456 124.859 129.851 124.859 130.308V130.621H120.597V130.063H124.212C124.212 129.713 124.141 129.398 123.999 129.118C123.86 128.837 123.664 128.614 123.413 128.451C123.165 128.288 122.877 128.206 122.55 128.206C122.205 128.206 121.9 128.298 121.638 128.483C121.375 128.667 121.169 128.911 121.02 129.214C120.873 129.517 120.798 129.849 120.796 130.209V130.542C120.796 130.976 120.871 131.355 121.02 131.679C121.171 132.001 121.386 132.251 121.663 132.428C121.94 132.606 122.267 132.694 122.646 132.694C122.904 132.694 123.13 132.654 123.324 132.574C123.521 132.493 123.686 132.386 123.818 132.251C123.953 132.113 124.055 131.963 124.123 131.8L124.724 131.995C124.641 132.225 124.505 132.436 124.315 132.631C124.128 132.825 123.894 132.981 123.612 133.099C123.333 133.215 123.011 133.273 122.646 133.273ZM128.215 133.273C127.768 133.273 127.376 133.155 127.04 132.918C126.704 132.681 126.441 132.351 126.252 131.927C126.064 131.504 125.971 131.01 125.971 130.447C125.971 129.886 126.064 129.394 126.252 128.973C126.441 128.549 126.705 128.22 127.043 127.986C127.382 127.749 127.776 127.631 128.226 127.631C128.557 127.631 128.833 127.69 129.053 127.808C129.274 127.924 129.45 128.069 129.582 128.241C129.715 128.414 129.818 128.582 129.891 128.746H129.948V125.887H130.584V133.16H129.966V132.148H129.891C129.818 132.313 129.714 132.484 129.579 132.659C129.444 132.832 129.265 132.977 129.043 133.096C128.823 133.214 128.547 133.273 128.215 133.273ZM128.29 132.694C128.643 132.694 128.943 132.599 129.192 132.407C129.44 132.213 129.63 131.946 129.76 131.608C129.893 131.267 129.959 130.876 129.959 130.436C129.959 130 129.894 129.616 129.764 129.282C129.633 128.946 129.444 128.683 129.195 128.493C128.947 128.302 128.645 128.206 128.29 128.206C127.925 128.206 127.618 128.305 127.367 128.504C127.118 128.701 126.929 128.967 126.798 129.303C126.671 129.639 126.607 130.017 126.607 130.436C126.607 130.86 126.672 131.242 126.802 131.583C126.932 131.924 127.122 132.195 127.37 132.396C127.621 132.595 127.928 132.694 128.29 132.694Z"
@@ -122,8 +122,8 @@ const SecureAndScalableImg = () => {
fill="#112B25"
/>
<path
- fill-rule="evenodd"
- clip-rule="evenodd"
+ fillRule="evenodd"
+ clipRule="evenodd"
d="M185.468 125.487C185.538 125.452 185.621 125.452 185.691 125.487L185.841 125.561C186.662 125.966 187.565 126.177 188.481 126.177C188.62 126.177 188.733 126.29 188.733 126.429L188.733 129.096C188.733 130.228 188.153 131.28 187.196 131.884L185.714 132.819C185.632 132.871 185.527 132.871 185.445 132.819L183.963 131.884C183.006 131.28 182.426 130.228 182.426 129.096V126.429C182.426 126.362 182.452 126.298 182.5 126.251C182.547 126.204 182.611 126.177 182.678 126.177C183.594 126.177 184.497 125.966 185.318 125.561L185.468 125.487ZM185.58 125.995L185.541 126.014C184.726 126.416 183.837 126.641 182.93 126.677V129.096C182.93 130.055 183.422 130.946 184.232 131.457L185.58 132.308L186.927 131.457C187.737 130.946 188.229 130.055 188.229 129.096L188.229 126.677C187.322 126.641 186.433 126.416 185.618 126.014L185.58 125.995ZM187.405 127.617C187.503 127.715 187.503 127.875 187.405 127.973L185.41 129.968C185.312 130.066 185.152 130.066 185.053 129.968L183.971 128.885C183.872 128.787 183.872 128.627 183.971 128.528C184.069 128.43 184.229 128.43 184.327 128.528L185.232 129.433L187.048 127.617C187.147 127.518 187.306 127.518 187.405 127.617Z"
fill="#1DF7C3"
/>
@@ -146,7 +146,7 @@ const SecureAndScalableImg = () => {
<path
d="M196.33 62.5736V62.182L195.949 62.0882L142.355 48.8626L142.235 48.833L142.115 48.8626L88.5208 62.0882L88.1406 62.182V62.5736V79.469V79.578C88.1406 102.12 88.1406 113.511 91.2464 123.833C94.2354 133.768 99.3007 142.954 106.107 150.783C113.179 158.918 122.812 164.997 141.876 177.027L141.968 177.085L142.217 177.242L142.475 177.101L142.475 177.101L142.489 177.094L142.502 177.085L142.594 177.027C161.658 164.997 171.291 158.918 178.363 150.783C185.17 142.954 190.235 133.768 193.224 123.833C196.33 113.511 196.33 102.12 196.33 79.5781V79.4692V79.469V62.5736Z"
stroke="url(#paint3_linear_4346_100010)"
- shape-rendering="crispEdges"
+ shapeRendering="crispEdges"
/>
</g>
</g>
@@ -158,9 +158,9 @@ const SecureAndScalableImg = () => {
width="161.435"
height="187.505"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -181,9 +181,9 @@ const SecureAndScalableImg = () => {
width="175.716"
height="204.431"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -204,9 +204,9 @@ const SecureAndScalableImg = () => {
width="189.999"
height="221.395"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -227,9 +227,9 @@ const SecureAndScalableImg = () => {
width="204.281"
height="238.358"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -250,9 +250,9 @@ const SecureAndScalableImg = () => {
width="220.079"
height="257.149"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -273,9 +273,9 @@ const SecureAndScalableImg = () => {
width="236.298"
height="276.398"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -296,9 +296,9 @@ const SecureAndScalableImg = () => {
width="252.519"
height="295.654"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -319,9 +319,9 @@ const SecureAndScalableImg = () => {
width="269.927"
height="316.329"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -342,9 +342,9 @@ const SecureAndScalableImg = () => {
width="288.124"
height="337.931"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -365,9 +365,9 @@ const SecureAndScalableImg = () => {
width="307.468"
height="360.92"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -388,9 +388,9 @@ const SecureAndScalableImg = () => {
width="328.058"
height="385.413"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="5.51156" />
<feComposite
in2="SourceAlpha"
@@ -411,9 +411,9 @@ const SecureAndScalableImg = () => {
width="585.914"
height="584.903"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
<feGaussianBlur stdDeviation="104.006" result="effect1_foregroundBlur_4346_100010" />
</filter>
@@ -424,9 +424,9 @@ const SecureAndScalableImg = () => {
width="145.765"
height="72.1617"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feGaussianBlur in="BackgroundImageFix" stdDeviation="1.69115" />
<feComposite
in2="SourceAlpha"
@@ -447,9 +447,9 @@ const SecureAndScalableImg = () => {
width="114.189"
height="134.421"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
<feGaussianBlur stdDeviation="1.5" result="effect1_foregroundBlur_4346_100010" />
</filter>
@@ -460,9 +460,9 @@ const SecureAndScalableImg = () => {
width="123.189"
height="143.504"
filterUnits="userSpaceOnUse"
- color-interpolation-filters="sRGB"
+ colorInterpolationFilters="sRGB"
>
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
@@ -493,8 +493,8 @@ const SecureAndScalableImg = () => {
y2="130.92"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="white" />
- <stop offset="1" stop-color="white" stop-opacity="0" />
+ <stop stopColor="white" />
+ <stop offset="1" stopColor="white" stopOpacity="0" />
</linearGradient>
<linearGradient
id="paint1_linear_4346_100010"
@@ -504,8 +504,8 @@ const SecureAndScalableImg = () => {
y2="154.929"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#1DF7C3" stop-opacity="0.86" />
- <stop offset="1" stop-color="#161616" stop-opacity="0" />
+ <stop stopColor="#1DF7C3" stopOpacity="0.86" />
+ <stop offset="1" stopColor="#161616" stopOpacity="0" />
</linearGradient>
<radialGradient
id="paint2_radial_4346_100010"
@@ -515,8 +515,8 @@ const SecureAndScalableImg = () => {
gradientUnits="userSpaceOnUse"
gradientTransform="translate(144.452 41.3258) rotate(90) scale(84.0463 63.1218)"
>
- <stop stop-color="#3AFFE5" />
- <stop offset="1" stop-color="#38BBAA" stop-opacity="0" />
+ <stop stopColor="#3AFFE5" />
+ <stop offset="1" stopColor="#38BBAA" stopOpacity="0" />
</radialGradient>
<linearGradient
id="paint3_linear_4346_100010"
@@ -526,8 +526,8 @@ const SecureAndScalableImg = () => {
y2="79.0792"
gradientUnits="userSpaceOnUse"
>
- <stop stop-color="#1CF7C3" />
- <stop offset="1" stop-color="#3DCB8C" stop-opacity="0" />
+ <stop stopColor="#1CF7C3" />
+ <stop offset="1" stopColor="#3DCB8C" stopOpacity="0" />
</linearGradient>
<clipPath id="clip0_4346_100010">
<rect width="283" height="210" fill="white" transform="translate(0.232422)" />
diff --git a/apps/www/data/products/vector/pageData.tsx b/apps/www/data/products/vector/pageData.tsx
index 432bff75608..8ceb4b88b2d 100644
--- a/apps/www/data/products/vector/pageData.tsx
+++ b/apps/www/data/products/vector/pageData.tsx
@@ -37,14 +37,14 @@ export default {
paragraph:
// 'Every Supabase project is a dedicated Postgres instance. Use pgvector to store, query, and index your vector embeddings at scale.',
'Use pgvector to store, query, and index your vector embeddings at scale in a Postgres instance.',
- image: <PGvectorImg />,
+ image: PGvectorImg,
},
{
title: 'Connect with OpenAI',
paragraph:
'Easily connect to any LLM or embeddings API, including Hugging Face, SageMaker and more.',
// image: '/images/product/vector/highlight-openai.png',
- image: <OpenAIImage />,
+ image: OpenAIImage,
},
{
title: 'Secure and Scalable',
@@ -57,13 +57,13 @@ export default {
compliant, and comes with an advanced permissions system.
</>
),
- image: <SecureAndScalableImg />,
+ image: SecureAndScalableImg,
},
{
title: 'Deploy Globally',
paragraph:
'Choose from 12 Fully Managed datacenters, or Self-Host on your own cloud or servers.',
- image: <DeployGlobally />,
+ image: DeployGlobally,
},
],
},