The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
database card animation
Francesco Sansalvadore6a1e0eb0fdee
diff --git a/apps/www/components/Products/DatabaseVisual.tsx b/apps/www/components/Products/DatabaseVisual.tsxnew file mode 100644index 00000000000..74e4cbc5922--- /dev/null+++ b/apps/www/components/Products/DatabaseVisual.tsx@@ -0,0 +1,382 @@+import React, { useEffect, useRef, useState } from 'react'++const DatabaseVisual = () => {+ const containerRef = useRef(null)+ const ref = useRef(null)+ const [isActive, setIsActive] = useState(false)+ const [gradientPos, setGradientPos] = useState({ x: 0, y: 0 })++ const handleGlow = (event: any) => {+ if (!ref.current || !containerRef.current) return null++ const svgElement = ref.current as SVGElement+ const containerRefElement = containerRef.current as HTMLDivElement++ const { x: elX, y: elY, width, height } = svgElement.getBoundingClientRect()+ const {+ x: contX,+ y: contY,+ width: containerWidth,+ height: containerHeight,+ } = containerRefElement.getBoundingClientRect()+ const x = event.clientX - elX+ const y = event.clientY - elY+ const xCont = event.clientX - contX+ const yCont = event.clientY - contY++ setIsActive(+ xCont > -3 && xCont < containerWidth + 3 && yCont > -3 && yCont < containerHeight + 3+ )+ setGradientPos({ x, y })+ }++ useEffect(() => {+ if (typeof window === 'undefined') return++ window.addEventListener('mousemove', handleGlow)+ return () => {+ window.removeEventListener('mousemove', handleGlow)+ }+ }, [])++ return (+ <div className="absolute inset-0 z-0" ref={containerRef}>+ <div className="absolute w-full lg:w-auto h-full lg:aspect-square flex items-end lg:items-center justify-center lg:justify-end right-0 left-0 lg:left-auto top-20 md:top-24 lg:top-0 lg:bottom-0 my-auto">+ <svg+ ref={ref}+ width="390"+ height="430"+ viewBox="0 0 390 430"+ fill="none"+ className="scale-75 lg:scale-100"+ xmlns="http://www.w3.org/2000/svg"+ >+ <g clipPath="url(#clip0_467_4905)">+ <path+ d="M0.183357 -10.5469L0.183377 446.906M14.1834 -10.5469L14.1834 446.906M28.1834 -10.5469L28.1834 446.906M42.1834 -10.5469L42.1834 446.906M56.1834 -10.5469L56.1835 446.906M70.1835 -10.5469L70.1835 446.906M84.1835 -10.5469L84.1835 446.906M98.1835 -10.5469L98.1835 446.906M112.184 -10.5469L112.184 446.906M126.184 -10.5469L126.184 446.906M140.184 -10.5469L140.184 446.906M154.184 -10.5469L154.184 446.906M168.184 -10.5469L168.184 446.906M182.184 -10.5469L182.184 446.906M196.184 -10.5469L196.184 446.906M210.184 -10.5469L210.184 446.906M224.184 -10.5469L224.184 446.906M238.184 -10.5469L238.184 446.906M252.184 -10.5469L252.184 446.906M266.184 -10.5469L266.184 446.906M280.184 -10.5469L280.184 446.906M294.184 -10.5469L294.184 446.906M308.184 -10.5469L308.184 446.906M322.184 -10.5469L322.184 446.906M336.184 -10.5469L336.184 446.906M350.184 -10.5469L350.184 446.906M364.184 -10.5469L364.184 446.906M378.184 -10.5469L378.184 446.906M392.184 -10.5469L392.184 446.906M457.341 -0.25H-0.11253M457.341 13.75H-0.11253M457.341 27.75H-0.112531M457.341 41.7501H-0.112532M457.341 55.7501H-0.112532M457.341 69.7501H-0.112533M457.341 83.7501H-0.112534M457.341 97.7501H-0.112534M457.341 111.75H-0.112535M457.341 125.75H-0.112535M457.341 139.75H-0.112536M457.341 153.75H-0.112537M457.341 167.75H-0.112537M457.341 181.75H-0.112538M457.341 195.75H-0.112538M457.341 209.75H-0.112539M457.341 223.75H-0.11254M457.341 237.75H-0.11254M457.341 251.75H-0.112541M457.341 265.75H-0.112541M457.341 279.75H-0.112542M457.341 293.75H-0.112543M457.341 307.75H-0.112543M457.341 321.75H-0.112544M457.341 335.751H-0.112545M457.341 349.751H-0.112545M457.341 363.751H-0.112546M457.341 377.751H-0.112546M457.341 391.751H-0.112547M457.341 405.751H-0.112548M457.341 419.751H-0.112548M457.341 433.751H-0.112549"+ stroke="#282828"+ />+ <g filter="url(#filter0_f_467_4905)">+ <ellipse cx="0.312866" cy="214.736" rx="78.8492" ry="311.736" fill="#1C1C1C" />+ </g>+ <g filter="url(#filter1_f_467_4905)">+ <ellipse cx="390.849" cy="214.736" rx="78.8492" ry="311.736" fill="#1C1C1C" />+ </g>+ <g filter="url(#filter2_f_467_4905)">+ <ellipse+ cx="194.736"+ cy="-0.0142959"+ rx="78.8492"+ ry="311.736"+ transform="rotate(-90 194.736 -0.0142959)"+ fill="#1C1C1C"+ />+ </g>+ <g filter="url(#filter3_f_467_4905)">+ <ellipse+ cx="194.736"+ cy="430.849"+ rx="78.8492"+ ry="311.736"+ transform="rotate(-90 194.736 430.849)"+ fill="#1C1C1C"+ />+ </g>+ <path+ opacity="0.2"+ fillRule="evenodd"+ clipRule="evenodd"+ d="M69.7673 129.848C69.7673 111.898 84.3181 97.3477 102.267 97.3477H290.044C307.993 97.3477 322.544 111.898 322.544 129.848V157.218C322.55 157.466 322.552 157.714 322.552 157.963V289.787C322.552 290.036 322.55 290.284 322.544 290.532V317.727C322.544 335.676 307.993 350.227 290.044 350.227H102.267C84.3181 350.227 69.7673 335.676 69.7673 317.727V232.148C69.5834 229.361 69.49 226.549 69.49 223.716C69.49 220.882 69.5834 218.071 69.7673 215.284V129.848ZM70.7673 232.114V215.317C71.8986 198.244 76.4539 182.107 83.7527 167.586V279.845C76.4539 265.325 71.8986 249.188 70.7673 232.114ZM70.7673 241.736V289.787C70.7673 301.431 77.0854 311.6 86.4804 317.052C84.7263 313.056 83.7527 308.641 83.7527 303.998V282.038C77.2909 269.667 72.8206 256.091 70.7673 241.736ZM84.7527 283.914V303.998C84.7527 308.971 85.905 313.674 87.9571 317.856C91.0513 319.437 94.4415 320.521 98.0224 321.004C97.9003 319.858 97.8377 318.695 97.8377 317.518V303.399C92.8997 297.345 88.5126 290.825 84.7527 283.914ZM98.8377 304.609V317.518C98.8377 318.737 98.907 319.941 99.0419 321.124C100.102 321.232 101.178 321.287 102.267 321.287H115.675C109.555 316.266 103.916 310.68 98.8377 304.609ZM117.261 321.287C110.509 315.856 104.333 309.739 98.8377 303.042V144.39C104.226 137.823 110.269 131.814 116.867 126.463H274.408C281.345 132.088 287.668 138.441 293.262 145.405V302.026C287.562 309.122 281.105 315.583 274.014 321.287H117.261ZM116.91 322.287H102.267C101.224 322.287 100.193 322.238 99.1747 322.142C99.7118 325.793 100.875 329.24 102.552 332.371C106.695 334.375 111.342 335.498 116.253 335.498H137.119C129.948 331.736 123.184 327.305 116.91 322.287ZM139.305 335.498C131.928 331.773 124.97 327.34 118.521 322.287H272.754C266.305 327.34 259.347 331.773 251.97 335.498H139.305ZM139.066 336.498H116.253C111.688 336.498 107.344 335.557 103.402 333.859C108.928 342.947 118.924 349.018 130.338 349.018H180.952C166.042 347.289 151.926 342.961 139.066 336.498ZM210.323 349.018H261.762C273.109 349.018 283.055 343.018 288.6 334.017C284.758 335.616 280.544 336.498 276.124 336.498H252.208C239.349 342.961 225.233 347.289 210.323 349.018ZM249.945 336.498C233.518 344.422 215.097 348.863 195.637 348.863C176.178 348.863 157.757 344.422 141.33 336.498H249.945ZM254.156 335.498H276.124C280.887 335.498 285.403 334.441 289.451 332.548C291.177 329.376 292.373 325.875 292.921 322.162C291.976 322.245 291.019 322.287 290.052 322.287H274.365C268.091 327.305 261.326 331.736 254.156 335.498ZM275.6 321.287H290.052C291.065 321.287 292.067 321.239 293.055 321.146C293.191 319.955 293.262 318.745 293.262 317.518V303.614C287.971 310.07 282.053 315.992 275.6 321.287ZM294.262 302.378V317.518C294.262 318.705 294.198 319.878 294.074 321.033C297.766 320.562 301.259 319.452 304.438 317.818C306.479 313.645 307.624 308.955 307.624 303.998V281.843C303.832 289.134 299.349 296.008 294.262 302.378ZM308.624 279.879V303.998C308.624 308.624 307.657 313.024 305.915 317.007C315.071 311.66 321.286 301.826 321.544 290.52V231.574C320.483 248.846 315.946 265.178 308.624 279.879ZM321.544 215.857V157.23C321.286 145.932 315.08 136.104 305.935 130.754C307.665 134.726 308.624 139.11 308.624 143.719V167.553C315.946 182.254 320.483 198.586 321.544 215.857ZM308.624 169.834C316.42 186.153 320.785 204.424 320.785 223.716C320.785 243.007 316.42 261.279 308.624 277.598V169.834ZM307.624 167.789V279.643C303.87 287.144 299.385 294.216 294.262 300.765V146.667C299.385 153.215 303.87 160.287 307.624 167.789ZM307.624 165.588V143.719C307.624 138.779 306.487 134.105 304.46 129.943C301.283 128.307 297.792 127.194 294.101 126.721C294.207 127.79 294.262 128.875 294.262 129.973V145.054C299.349 151.424 303.832 158.298 307.624 165.588ZM293.262 143.818V129.973C293.262 128.836 293.201 127.713 293.084 126.607C292.086 126.512 291.075 126.463 290.052 126.463H275.986C282.289 131.676 288.077 137.49 293.262 143.818ZM274.762 125.463H290.052C291.032 125.463 292.002 125.506 292.959 125.591C292.445 121.899 291.292 118.412 289.614 115.245C285.525 113.305 280.951 112.219 276.124 112.219H254.696C261.817 115.999 268.533 120.441 274.762 125.463ZM252.772 111.219H276.124C280.615 111.219 284.894 112.13 288.785 113.777C283.278 104.608 273.236 98.4727 261.762 98.4727H210.82C225.764 100.265 239.905 104.671 252.772 111.219ZM180.455 98.4727H130.338C118.796 98.4727 108.704 104.68 103.218 113.938C107.208 112.189 111.617 111.219 116.253 111.219H138.503C151.37 104.671 165.511 100.265 180.455 98.4727ZM140.743 111.219C157.317 103.116 175.946 98.5684 195.637 98.5684C215.329 98.5684 233.958 103.116 250.532 111.219H140.743ZM138.743 112.219H252.532C259.854 115.963 266.759 120.407 273.159 125.463H118.116C124.516 120.407 131.421 115.963 138.743 112.219ZM136.579 112.219H116.253C111.279 112.219 106.574 113.372 102.391 115.425C100.761 118.55 99.6398 121.982 99.1371 125.612C100.167 125.513 101.211 125.463 102.267 125.463H116.513C122.742 120.441 129.458 115.999 136.579 112.219ZM115.289 126.463H102.267C101.169 126.463 100.083 126.519 99.013 126.629C98.8971 127.728 98.8377 128.843 98.8377 129.973V142.822C103.809 136.88 109.318 131.402 115.289 126.463ZM97.8377 144.033V129.973C97.8377 128.885 97.8911 127.81 97.9954 126.75C94.4161 127.235 91.0277 128.322 87.9354 129.905C85.8969 134.076 84.7527 138.764 84.7527 143.719V163.518C88.5126 156.607 92.8997 150.086 97.8377 144.033ZM84.7527 165.64V281.792C88.4796 288.893 92.8686 295.592 97.8377 301.807V145.624C92.8686 151.84 88.4796 158.539 84.7527 165.64ZM83.7527 165.393V143.719C83.7527 139.093 84.7191 134.693 86.4609 130.71C77.0767 136.164 70.7673 146.327 70.7673 157.963V205.696C72.8206 191.34 77.2909 177.764 83.7527 165.393ZM321.544 129.848V149.898C319.252 140.922 313.223 133.44 305.212 129.208C302.016 122.813 296.773 117.619 290.341 114.485C285.993 106.478 278.378 100.503 269.284 98.3477H290.044C307.441 98.3477 321.544 112.451 321.544 129.848ZM87.1844 129.167C90.3196 122.917 95.4117 117.817 101.657 114.673C105.988 106.571 113.651 100.519 122.815 98.3477H102.267C84.8704 98.3477 70.7673 112.451 70.7673 129.848V149.931C73.0602 140.911 79.1253 133.397 87.1844 129.167ZM98.1126 125.726C98.5509 122.368 99.5018 119.171 100.884 116.216C95.7832 119.072 91.5581 123.307 88.7133 128.415C91.6384 127.071 94.7975 126.149 98.1126 125.726ZM303.683 128.451C300.67 127.057 297.409 126.111 293.983 125.698C293.533 122.272 292.549 119.013 291.117 116.009C296.398 118.873 300.768 123.202 303.683 128.451ZM293.947 322.056C293.466 325.503 292.443 328.776 290.969 331.787C296.301 328.933 300.716 324.589 303.658 319.311C300.642 320.703 297.377 321.647 293.947 322.056ZM98.1482 322.029C98.6173 325.407 99.6058 328.619 101.03 331.582C95.8787 328.733 91.6099 324.483 88.7381 319.346C91.6668 320.689 94.8295 321.609 98.1482 322.029ZM123.179 349.227C113.972 347.157 106.243 341.18 101.825 333.128C95.5183 329.999 90.3723 324.881 87.207 318.595C79.1366 314.367 73.0623 306.847 70.7673 297.819V317.727C70.7673 335.124 84.8704 349.227 102.267 349.227H123.179ZM290.171 333.314C285.737 341.271 278.057 347.173 268.92 349.227H290.044C307.441 349.227 321.544 335.124 321.544 317.727V297.852C319.25 306.837 313.212 314.324 305.19 318.554C301.963 324.985 296.665 330.196 290.171 333.314Z"+ fill="#A0A0A0"+ />+ <g filter="url(#filter5_bd_467_4905)">+ <path+ d="M192.144 125.816H138.679C130.173 125.816 122.52 130.986 119.345 138.877L99.0045 189.43C95.9432 197.038 97.6597 205.736 103.382 211.611L113.614 222.117C118.406 227.036 121.088 233.633 121.088 240.501L121.087 254.974C121.087 275.171 137.46 291.543 157.656 291.543C163.816 291.543 168.81 286.55 168.81 280.39L168.811 194.149C168.811 175.52 176.252 157.663 189.479 144.547C192.225 141.824 196.657 141.843 199.379 144.588C202.101 147.333 202.082 151.766 199.337 154.488C188.76 164.976 182.811 179.254 182.811 194.149L182.81 280.39C182.81 294.282 171.548 305.543 157.656 305.543C129.728 305.543 107.087 282.903 107.087 254.974L107.088 240.5C107.088 237.282 105.831 234.191 103.585 231.885L93.353 221.38C83.7626 211.533 80.8857 196.956 86.0164 184.204L106.357 133.651C111.665 120.459 124.458 111.816 138.679 111.816H194.408V111.9H204.747C253.851 111.9 293.657 151.706 293.657 200.81V251.652C293.657 255.518 290.523 258.652 286.657 258.652C282.791 258.652 279.657 255.518 279.657 251.652V200.81C279.657 159.438 246.119 125.9 204.747 125.9H193.23C192.86 125.9 192.498 125.871 192.144 125.816Z"+ fill="url(#paint1_linear_467_4905)"+ fillOpacity="0.07"+ shapeRendering="crispEdges"+ />+ <path+ d="M210.03 283.94C210.03 280.074 206.896 276.94 203.03 276.94C199.164 276.94 196.03 280.074 196.03 283.94V287.053C196.03 314.012 217.884 335.867 244.843 335.867C271.194 335.867 292.668 314.988 293.624 288.871H318.238C322.104 288.871 325.238 285.737 325.238 281.871C325.238 278.005 322.104 274.871 318.238 274.871H291.397C260.653 274.871 231.141 262.788 209.224 241.228C206.468 238.517 202.036 238.553 199.325 241.309C196.614 244.065 196.65 248.497 199.406 251.209C221.131 272.58 249.522 285.632 279.634 288.343C278.955 306.972 263.639 321.867 244.843 321.867C225.616 321.867 210.03 306.28 210.03 287.053V283.94Z"+ fill="url(#paint2_linear_467_4905)"+ fillOpacity="0.07"+ shapeRendering="crispEdges"+ />+ <path+ d="M238.03 202.145C238.03 206.937 241.915 210.822 246.707 210.822C251.499 210.822 255.383 206.937 255.383 202.145C255.383 197.353 251.499 193.469 246.707 193.469C241.915 193.469 238.03 197.353 238.03 202.145Z"+ fill="url(#paint3_linear_467_4905)"+ fillOpacity="0.07"+ shapeRendering="crispEdges"+ />+ <path+ d="M192.144 125.816H138.679C130.173 125.816 122.52 130.986 119.345 138.877L99.0045 189.43C95.9432 197.038 97.6597 205.736 103.382 211.611L113.614 222.117C118.406 227.036 121.088 233.633 121.088 240.501L121.087 254.974C121.087 275.171 137.46 291.543 157.656 291.543C163.816 291.543 168.81 286.55 168.81 280.39L168.811 194.149C168.811 175.52 176.252 157.663 189.479 144.547C192.225 141.824 196.657 141.843 199.379 144.588C202.101 147.333 202.082 151.766 199.337 154.488C188.76 164.976 182.811 179.254 182.811 194.149L182.81 280.39C182.81 294.282 171.548 305.543 157.656 305.543C129.728 305.543 107.087 282.903 107.087 254.974L107.088 240.5C107.088 237.282 105.831 234.191 103.585 231.885L93.353 221.38C83.7626 211.533 80.8857 196.956 86.0164 184.204L106.357 133.651C111.665 120.459 124.458 111.816 138.679 111.816H194.408V111.9H204.747C253.851 111.9 293.657 151.706 293.657 200.81V251.652C293.657 255.518 290.523 258.652 286.657 258.652C282.791 258.652 279.657 255.518 279.657 251.652V200.81C279.657 159.438 246.119 125.9 204.747 125.9H193.23C192.86 125.9 192.498 125.871 192.144 125.816Z"+ stroke="#A0A0A0"+ strokeWidth="0.5"+ shapeRendering="crispEdges"+ />+ <path+ d="M210.03 283.94C210.03 280.074 206.896 276.94 203.03 276.94C199.164 276.94 196.03 280.074 196.03 283.94V287.053C196.03 314.012 217.884 335.867 244.843 335.867C271.194 335.867 292.668 314.988 293.624 288.871H318.238C322.104 288.871 325.238 285.737 325.238 281.871C325.238 278.005 322.104 274.871 318.238 274.871H291.397C260.653 274.871 231.141 262.788 209.224 241.228C206.468 238.517 202.036 238.553 199.325 241.309C196.614 244.065 196.65 248.497 199.406 251.209C221.131 272.58 249.522 285.632 279.634 288.343C278.955 306.972 263.639 321.867 244.843 321.867C225.616 321.867 210.03 306.28 210.03 287.053V283.94Z"+ stroke="#A0A0A0"+ strokeWidth="0.5"+ shapeRendering="crispEdges"+ />+ <path+ d="M238.03 202.145C238.03 206.937 241.915 210.822 246.707 210.822C251.499 210.822 255.383 206.937 255.383 202.145C255.383 197.353 251.499 193.469 246.707 193.469C241.915 193.469 238.03 197.353 238.03 202.145Z"+ stroke="#A0A0A0"+ strokeWidth="0.5"+ shapeRendering="crispEdges"+ />+ </g>+ <g filter="url(#filter6_d_467_4905)">+ <path+ d="M192.144 125.816H138.679C130.173 125.816 122.52 130.986 119.345 138.877L99.0045 189.43C95.9432 197.038 97.6597 205.736 103.382 211.611L113.614 222.117C118.406 227.036 121.088 233.633 121.088 240.501L121.087 254.974C121.087 275.171 137.46 291.543 157.656 291.543C163.816 291.543 168.81 286.55 168.81 280.39L168.811 194.149C168.811 175.52 176.252 157.663 189.479 144.547C192.225 141.824 196.657 141.843 199.379 144.588C202.101 147.333 202.082 151.766 199.337 154.488C188.76 164.976 182.811 179.254 182.811 194.149L182.81 280.39C182.81 294.282 171.548 305.543 157.656 305.543C129.728 305.543 107.087 282.903 107.087 254.974L107.088 240.5C107.088 237.282 105.831 234.191 103.585 231.885L93.353 221.38C83.7626 211.533 80.8857 196.956 86.0164 184.204L106.357 133.651C111.665 120.459 124.458 111.816 138.679 111.816H194.408V111.9H204.747C253.851 111.9 293.657 151.706 293.657 200.81V251.652C293.657 255.518 290.523 258.652 286.657 258.652C282.791 258.652 279.657 255.518 279.657 251.652V200.81C279.657 159.438 246.119 125.9 204.747 125.9H193.23C192.86 125.9 192.498 125.871 192.144 125.816Z"+ stroke="url(#paint4_radial_467_4905)"+ shapeRendering="crispEdges"+ />+ <path+ d="M210.03 283.94C210.03 280.074 206.896 276.94 203.03 276.94C199.164 276.94 196.03 280.074 196.03 283.94V287.053C196.03 314.012 217.884 335.867 244.843 335.867C271.194 335.867 292.668 314.988 293.624 288.871H318.238C322.104 288.871 325.238 285.737 325.238 281.871C325.238 278.005 322.104 274.871 318.238 274.871H291.397C260.653 274.871 231.141 262.788 209.224 241.228C206.468 238.517 202.036 238.553 199.325 241.309C196.614 244.065 196.65 248.497 199.406 251.209C221.131 272.58 249.522 285.632 279.634 288.343C278.955 306.972 263.639 321.867 244.843 321.867C225.616 321.867 210.03 306.28 210.03 287.053V283.94Z"+ stroke="url(#paint5_radial_467_4905)"+ shapeRendering="crispEdges"+ />+ <path+ d="M238.03 202.145C238.03 206.937 241.915 210.822 246.707 210.822C251.499 210.822 255.383 206.937 255.383 202.145C255.383 197.353 251.499 193.469 246.707 193.469C241.915 193.469 238.03 197.353 238.03 202.145Z"+ stroke="url(#paint6_radial_467_4905)"+ shapeRendering="crispEdges"+ />+ </g>+ </g>+ <defs>+ <filter+ id="filter0_f_467_4905"+ x="-194.536"+ y="-213"+ width="389.698"+ height="855.472"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />+ <feGaussianBlur stdDeviation="58" result="effect1_foregroundBlur_467_4905" />+ </filter>+ <filter+ id="filter1_f_467_4905"+ x="196"+ y="-213"+ width="389.698"+ height="855.472"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />+ <feGaussianBlur stdDeviation="58" result="effect1_foregroundBlur_467_4905" />+ </filter>+ <filter+ id="filter2_f_467_4905"+ x="-233"+ y="-194.864"+ width="855.472"+ height="389.699"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />+ <feGaussianBlur stdDeviation="58" result="effect1_foregroundBlur_467_4905" />+ </filter>+ <filter+ id="filter3_f_467_4905"+ x="-233"+ y="236"+ width="855.472"+ height="389.699"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />+ <feGaussianBlur stdDeviation="58" result="effect1_foregroundBlur_467_4905" />+ </filter>+ <filter+ id="filter4_f_467_4905"+ x="161.205"+ y="-19.729"+ width="273.378"+ height="265.128"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />+ <feGaussianBlur stdDeviation="25" result="effect1_foregroundBlur_467_4905" />+ </filter>+ <filter+ id="filter5_bd_467_4905"+ x="51.2566"+ y="79.5664"+ width="306.232"+ height="288.55"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feGaussianBlur in="BackgroundImageFix" stdDeviation="1" />+ <feComposite+ in2="SourceAlpha"+ operator="in"+ result="effect1_backgroundBlur_467_4905"+ />+ <feColorMatrix+ in="SourceAlpha"+ type="matrix"+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"+ result="hardAlpha"+ />+ <feOffset />+ <feGaussianBlur stdDeviation="16" />+ <feComposite in2="hardAlpha" operator="out" />+ <feColorMatrix+ type="matrix"+ values="0 0 0 0 0.0313726 0 0 0 0 0.0470588 0 0 0 0 0.0470588 0 0 0 0.5 0"+ />+ <feBlend+ mode="normal"+ in2="effect1_backgroundBlur_467_4905"+ result="effect2_dropShadow_467_4905"+ />+ <feBlend+ mode="normal"+ in="SourceGraphic"+ in2="effect2_dropShadow_467_4905"+ result="shape"+ />+ </filter>+ <filter+ id="filter6_d_467_4905"+ x="81.0066"+ y="109.316"+ width="246.732"+ height="229.05"+ filterUnits="userSpaceOnUse"+ colorInterpolationFilters="sRGB"+ >+ <feFlood floodOpacity="0" result="BackgroundImageFix" />+ <feColorMatrix+ in="SourceAlpha"+ type="matrix"+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"+ result="hardAlpha"+ />+ <feOffset />+ <feGaussianBlur stdDeviation="1" />+ <feComposite in2="hardAlpha" operator="out" />+ <feColorMatrix+ type="matrix"+ values="0 0 0 0 0.247059 0 0 0 0 0.811765 0 0 0 0 0.556863 0 0 0 1 0"+ />+ <feBlend+ mode="normal"+ in2="BackgroundImageFix"+ result="effect1_dropShadow_467_4905"+ />+ <feBlend+ mode="normal"+ in="SourceGraphic"+ in2="effect1_dropShadow_467_4905"+ result="shape"+ />+ </filter>+ <radialGradient+ id="paint0_radial_467_4905"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(97.8217 68.9936) rotate(90) scale(68.9936 97.8217)"+ >+ <stop stopColor="#85E0B7" />+ <stop offset="1" stopColor="#85E0B7" stopOpacity="0" />+ </radialGradient>+ <linearGradient+ id="paint1_linear_467_4905"+ x1="146.817"+ y1="128.841"+ x2="146.817"+ y2="292.676"+ gradientUnits="userSpaceOnUse"+ >+ <stop stopColor="white" />+ <stop offset="1" stopColor="#7C7C7C" />+ </linearGradient>+ <linearGradient+ id="paint2_linear_467_4905"+ x1="146.817"+ y1="128.841"+ x2="146.817"+ y2="292.676"+ gradientUnits="userSpaceOnUse"+ >+ <stop stopColor="white" />+ <stop offset="1" stopColor="#7C7C7C" />+ </linearGradient>+ <linearGradient+ id="paint3_linear_467_4905"+ x1="146.817"+ y1="128.841"+ x2="146.817"+ y2="292.676"+ gradientUnits="userSpaceOnUse"+ >+ <stop stopColor="white" />+ <stop offset="1" stopColor="#7C7C7C" />+ </linearGradient>+ {isActive && (+ <>+ <radialGradient+ id="paint4_radial_467_4905"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform={`translate(${gradientPos?.x} ${gradientPos.y}) rotate(45) scale(166 180)`}+ >+ <stop stopColor="#3FCF8E" />+ <stop offset="1" stopColor="#7C7C7C" />+ </radialGradient>+ <radialGradient+ id="paint5_radial_467_4905"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform={`translate(${gradientPos?.x} ${gradientPos.y}) rotate(45) scale(166 180)`}+ >+ <stop stopColor="#3FCF8E" />+ <stop offset="1" stopColor="#7C7C7C" />{' '}+ </radialGradient>+ <radialGradient+ id="paint6_radial_467_4905"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform={`translate(${gradientPos?.x} ${gradientPos.y}) rotate(45) scale(166 180)`}+ >+ <stop stopColor="#3FCF8E" />++ <stop offset="1" stopColor="#7C7C7C" />+ </radialGradient>+ </>+ )}+ <clipPath id="clip0_467_4905">+ <rect width="390" height="430" fill="white" />+ </clipPath>+ </defs>+ </svg>+ </div>+ </div>+ )+}++export default DatabaseVisualdiff --git a/apps/www/components/Products/index.tsx b/apps/www/components/Products/index.tsxindex e68d038e285..b5c30f1012b 100644--- a/apps/www/components/Products/index.tsx+++ b/apps/www/components/Products/index.tsx@@ -12,6 +12,7 @@ import ProductCard from './ProductCard'import RealtimeVisual from './RealtimeVisual'import FunctionsVisual from './FunctionsVisual'import StorageVisual from './StorageVisual'+import DatabaseVisual from './DatabaseVisual'const Products = (props: any) => {const router = useRouter()@@ -83,21 +84,7 @@ const Products = (props: any) => {</ul>}onClick={() => sendTelemetryEvent(PRODUCT_SHORTNAMES.DATABASE)}- image={- <div className="absolute inset-0 z-0">- <div className="absolute w-full lg:w-auto h-full lg:aspect-square flex items-end lg:items-center justify-center lg:justify-end right-0 top-auto lg:top-0 bottom-0 my-auto">- <Image- src={`/images/index/products/database${isTablet ? '-mobile' : ''}.svg`}- alt="Supabase Postgres Database"- layout="fill"- objectFit="cover"- objectPosition={isTablet ? 'center' : 'right'}- className="antialiased"- quality={100}- />- </div>- </div>- }+ image={<DatabaseVisual />}className="col-span-6 lg:col-span-12 xl:col-span-6"/><ProductCard