The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: docs cover animation
Francesco Sansalvadorecc846f4c8c9d
diff --git a/apps/docs/components/DocsCoverLogo copy.tsx b/apps/docs/components/DocsCoverLogo copy.tsxnew file mode 100644index 00000000000..4d0304ac7f3--- /dev/null+++ b/apps/docs/components/DocsCoverLogo copy.tsx@@ -0,0 +1,489 @@+import React from 'react'+import { motion } from 'framer-motion'++const DocsCoverLogo = () => {+ const pathMotionConfig = {+ initial: { pathLength: 0 },+ animate: { pathLength: 1 },+ transition: {+ duration: 0.8,+ ease: 'easeInOut',+ },+ }+ const logoMotionConfig = {+ initial: { fillOpacity: 0 },+ animate: { fillOpacity: 1 },+ transition: {+ duration: 0.5,+ delay: 0.2,+ ease: 'easeInOut',+ },+ }++ return (+ <div>+ <motion.svg+ width="126"+ height="115"+ viewBox="0 0 126 115"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M62.9805 3.01953V112.81"+ stroke="url(#paint0_radial_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M63.1301 96.1996C84.4207 96.1996 101.68 78.9402 101.68 57.6496C101.68 36.359 84.4207 19.0996 63.1301 19.0996C41.8395 19.0996 24.5801 36.359 24.5801 57.6496C24.5801 78.9402 41.8395 96.1996 63.1301 96.1996Z"+ stroke="var(--colors-scale11)"+ stroke-opacity="0.1"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M17.3902 29.9209C24.835 29.9209 30.8702 23.8857 30.8702 16.4409C30.8702 8.99614 24.835 2.96094 17.3902 2.96094C9.94536 2.96094 3.91016 8.99614 3.91016 16.4409C3.91016 23.8857 9.94536 29.9209 17.3902 29.9209Z"+ stroke="url(#paint1_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M17.3902 112.341C24.835 112.341 30.8702 106.306 30.8702 98.8609C30.8702 91.4161 24.835 85.3809 17.3902 85.3809C9.94536 85.3809 3.91016 91.4161 3.91016 98.8609C3.91016 106.306 9.94536 112.341 17.3902 112.341Z"+ stroke="url(#paint2_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M108.871 29.9209C116.315 29.9209 122.351 23.8857 122.351 16.4409C122.351 8.99614 116.315 2.96094 108.871 2.96094C101.426 2.96094 95.3906 8.99614 95.3906 16.4409C95.3906 23.8857 101.426 29.9209 108.871 29.9209Z"+ stroke="url(#paint3_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M108.871 112.341C116.315 112.341 122.351 106.306 122.351 98.8609C122.351 91.4161 116.315 85.3809 108.871 85.3809C101.426 85.3809 95.3906 91.4161 95.3906 98.8609C95.3906 106.306 101.426 112.341 108.871 112.341Z"+ stroke="url(#paint4_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M105.153 114H20.8469C9.88395 114 1 105.263 1 94.4818V20.5182C1 9.73681 9.88395 1 20.8469 1H105.153C116.116 1 125 9.73681 125 20.5182V94.4918C125 105.263 116.116 114 105.153 114Z"+ stroke="url(#paint5_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M108.87 112.46H17.39C9.86 112.46 3.75 106.35 3.75 98.8198V16.4798C3.75 8.94984 9.86 2.83984 17.39 2.83984H108.87C116.4 2.83984 122.51 8.94984 122.51 16.4798V98.8198C122.51 106.36 116.41 112.46 108.87 112.46Z"+ stroke="url(#paint6_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M30.8809 15.9609V99.0209"+ stroke="url(#paint7_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M63.1309 3.00977V112.29"+ stroke="url(#paint8_radial_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M75.4108 2.91992L7.30078 89.9399"+ stroke="url(#paint9_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M120.349 23.7305L50.2891 112.33"+ stroke="url(#paint10_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M95.3906 15.9609V99.0209"+ stroke="url(#paint11_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M109.52 29.8691H16.75"+ stroke="url(#paint12_radial_0_1)"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M3.88086 48.2109H122.381"+ stroke="url(#paint13_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M3.88086 66.4395H122.381"+ stroke="url(#paint14_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M109.52 85.4297H16.75"+ stroke="var(--colors-scale11)"+ stroke-opacity="0.1"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M63.7832 2.84453L63.7832 112.637"+ stroke="url(#paint15_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <g filter="url(#filter0_d_0_1)">+ <motion.path+ initial={logoMotionConfig.initial}+ animate={logoMotionConfig.animate}+ transition={logoMotionConfig.transition as any}+ d="M63.38 87.5074C63.421 90.238 67.5503 91.4097 69.2501 89.2711L94.9 56.9962C97.9274 53.1868 95.2121 47.5687 90.3435 47.5687H63.9863L64.0274 26.7706C63.9865 24.04 60.0179 22.8681 58.3181 25.0069L33.2921 57.2817C30.2646 61.0912 32.9799 66.7092 37.8487 66.7092H63.0847L63.38 87.5074Z"+ fill="url(#paint16_linear_0_1)"+ fill-opacity="0.79"+ shape-rendering="crispEdges"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M63.4383 47.5676L63.9863 48.1166H90.3435C94.7544 48.1166 97.2124 53.2057 94.471 56.6553L68.8211 88.9302C68.1485 89.7764 66.9498 90.0131 65.8473 89.6894C64.746 89.3661 63.9437 88.5488 63.9279 87.4991L63.6326 66.7015L63.0847 66.1613H37.8487C33.4376 66.1613 30.9795 61.0723 33.7211 57.6226L33.7211 57.6227L33.7251 57.6175L58.7471 25.3478C58.7477 25.347 58.7484 25.3462 58.749 25.3454C59.4255 24.4965 60.5849 24.2683 61.6358 24.5871C62.6842 24.9051 63.4614 25.7139 63.4795 26.7744L63.4383 47.5676Z"+ stroke="url(#paint17_linear_0_1)"+ stroke-width="1.09591"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ shape-rendering="crispEdges"+ />+ </g>+ <defs>+ <filter+ id="filter0_d_0_1"+ x="27.6359"+ y="23.9023"+ width="72.9196"+ height="75.2399"+ filterUnits="userSpaceOnUse"+ color-interpolation-filters="sRGB"+ >+ <feFlood flood-opacity="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 dy="4.38364" />+ <feGaussianBlur stdDeviation="2.19182" />+ <feComposite in2="hardAlpha" operator="out" />+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_0_1" />+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_0_1" result="shape" />+ </filter>+ <radialGradient+ id="paint0_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(63.4805 57.9145) rotate(90) scale(54.895 0.5)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint1_linear_0_1"+ x1="20"+ y1="30"+ x2="10"+ y2="6.5"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint2_linear_0_1"+ x1="22.5"+ y1="85"+ x2="17"+ y2="103"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint3_linear_0_1"+ x1="111.48"+ y1="30"+ x2="116.5"+ y2="7.5"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint4_linear_0_1"+ x1="102.5"+ y1="85"+ x2="108.48"+ y2="103"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint5_linear_0_1"+ x1="61.2055"+ y1="114.331"+ x2="61.2055"+ y2="-3.47366"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0" />+ <stop offset="0.489583" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint6_linear_0_1"+ x1="61.4113"+ y1="112.781"+ x2="61.4113"+ y2="-1.5"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0" />+ <stop offset="0.489583" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint7_linear_0_1"+ x1="30.8809"+ y1="15.6861"+ x2="30.8809"+ y2="100.038"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <radialGradient+ id="paint8_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(63.6309 57.6498) rotate(90) scale(54.64 0.5)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint9_linear_0_1"+ x1="4"+ y1="93.5"+ x2="69.8982"+ y2="3.65884"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.3" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint10_linear_0_1"+ x1="116"+ y1="27"+ x2="50"+ y2="109"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.3" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint11_linear_0_1"+ x1="95.3906"+ y1="15.6861"+ x2="95.3906"+ y2="100.038"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <radialGradient+ id="paint12_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(63.135 30.3691) rotate(90) scale(0.5 131.885)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint13_linear_0_1"+ x1="4"+ y1="47.7718"+ x2="122"+ y2="47.7718"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ </linearGradient>+ <linearGradient+ id="paint14_linear_0_1"+ x1="4"+ y1="66.0003"+ x2="122"+ y2="66.0003"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ </linearGradient>+ <linearGradient+ id="paint15_linear_0_1"+ x1="63.7832"+ y1="113"+ x2="63.7832"+ y2="1.5"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <linearGradient+ id="paint16_linear_0_1"+ x1="78.0606"+ y1="23.9023"+ x2="63.9941"+ y2="103.532"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="#212121" />+ <stop offset="1" stop-color="white" stop-opacity="0.12" />+ </linearGradient>+ <linearGradient+ id="paint17_linear_0_1"+ x1="96.1709"+ y1="41.8866"+ x2="52.0239"+ y2="88.4504"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="#868585" />+ <stop offset="0.208333" stop-color="#838383" />+ <stop offset="1" stop-color="#5A5A5A" />+ </linearGradient>+ </defs>+ </motion.svg>+ </div>+ )+}++export default DocsCoverLogodiff --git a/apps/docs/components/DocsCoverLogo.tsx b/apps/docs/components/DocsCoverLogo.tsxnew file mode 100644index 00000000000..08175f1b060--- /dev/null+++ b/apps/docs/components/DocsCoverLogo.tsx@@ -0,0 +1,490 @@+import React from 'react'+import { motion } from 'framer-motion'++const DocsCoverLogo = () => {+ const pathMotionConfig = {+ initial: { pathLength: 0 },+ animate: { pathLength: 1 },+ transition: {+ duration: 1,+ delay: 0.2,+ ease: [0.5, 0.11, 0.13, 1],+ },+ }+ const logoMotionConfig = {+ initial: { fillOpacity: 0 },+ animate: { fillOpacity: 1 },+ transition: {+ duration: 1,+ delay: 0.5,+ ease: [0.25, 0.25, 0, 1],+ },+ }++ return (+ <div className="w-[60px] md:w-[150px] [&_svg]">+ <motion.svg+ width="100%"+ height="100%"+ viewBox="0 0 250 228"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M124.951 5.03906V224.602"+ stroke="url(#paint0_radial_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M125.25 191.383C167.828 191.383 202.344 156.867 202.344 114.289C202.344 71.7115 167.828 37.1953 125.25 37.1953C82.6724 37.1953 48.1562 71.7115 48.1562 114.289C48.1562 156.867 82.6724 191.383 125.25 191.383Z"+ stroke="var(--colors-scale11)"+ stroke-opacity="0.1"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M33.7782 58.8377C48.6666 58.8377 60.7361 46.7682 60.7361 31.8798C60.7361 16.9913 48.6666 4.92188 33.7782 4.92188C18.8898 4.92188 6.82031 16.9913 6.82031 31.8798C6.82031 46.7682 18.8898 58.8377 33.7782 58.8377Z"+ stroke="url(#paint1_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M33.7782 223.664C48.6666 223.664 60.7361 211.594 60.7361 196.706C60.7361 181.817 48.6666 169.748 33.7782 169.748C18.8898 169.748 6.82031 181.817 6.82031 196.706C6.82031 211.594 18.8898 223.664 33.7782 223.664Z"+ stroke="url(#paint2_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M216.724 58.8377C231.612 58.8377 243.681 46.7682 243.681 31.8798C243.681 16.9913 231.612 4.92188 216.724 4.92188C201.835 4.92188 189.766 16.9913 189.766 31.8798C189.766 46.7682 201.835 58.8377 216.724 58.8377Z"+ stroke="url(#paint3_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M216.724 223.664C231.612 223.664 243.681 211.594 243.681 196.706C243.681 181.817 231.612 169.748 216.724 169.748C201.835 169.748 189.766 181.817 189.766 196.706C189.766 211.594 201.835 223.664 216.724 223.664Z"+ stroke="url(#paint4_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M209.29 226.982H40.6907C18.7665 226.982 1 209.51 1 187.949V40.0333C1 18.4722 18.7665 1 40.6907 1H209.29C231.214 1 248.981 18.4722 248.981 40.0333V187.969C248.981 209.51 231.214 226.982 209.29 226.982Z"+ stroke="url(#paint5_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M216.724 223.903H33.7779C18.719 223.903 6.5 211.684 6.5 196.625V31.9576C6.5 16.8987 18.719 4.67969 33.7779 4.67969H216.724C231.782 4.67969 244.001 16.8987 244.001 31.9576V196.625C244.001 211.704 231.802 223.903 216.724 223.903Z"+ stroke="url(#paint6_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M60.7578 30.9199V197.027"+ stroke="url(#paint7_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M125.252 5.01953V223.562"+ stroke="url(#paint8_radial_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M149.809 4.83984L13.5996 178.866"+ stroke="url(#paint9_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M239.679 46.457L99.5703 223.643"+ stroke="url(#paint10_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M189.766 30.9199V197.027"+ stroke="url(#paint11_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M218.024 58.7344H32.498"+ stroke="url(#paint12_radial_0_1)"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M6.76172 95.4141H243.743"+ stroke="url(#paint13_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M6.76172 131.869H243.743"+ stroke="url(#paint14_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M218.024 169.846H32.498"+ stroke="var(--colors-scale11)"+ stroke-opacity="0.1"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M126.559 4.6867L126.559 224.254"+ stroke="url(#paint15_linear_0_1)"+ stroke-opacity="0.5"+ stroke-width="0.7"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ />+ <g filter="url(#filter0_d_0_1)">+ <motion.path+ initial={logoMotionConfig.initial}+ animate={logoMotionConfig.animate}+ transition={logoMotionConfig.transition as any}+ d="M125.751 174.003C125.833 179.464 134.091 181.807 137.49 177.53L188.786 112.985C194.84 105.367 189.41 94.1317 179.674 94.1317H126.964L127.046 52.5389C126.964 47.078 119.027 44.7344 115.628 49.0116L65.5801 113.556C59.5255 121.175 64.9558 132.41 74.6925 132.41H125.161L125.751 174.003Z"+ fill="url(#paint16_linear_0_1)"+ fill-opacity="0.79"+ shape-rendering="crispEdges"+ />+ <motion.path+ initial={pathMotionConfig.initial}+ animate={pathMotionConfig.animate}+ transition={pathMotionConfig.transition as any}+ d="M126.964 94.6797L126.416 94.1306L126.498 52.5425C126.459 50.117 124.68 48.3327 122.422 47.6478C120.162 46.9621 117.586 47.432 116.059 49.3499C116.059 49.3508 116.058 49.3516 116.057 49.3525L66.0131 113.892L66.0091 113.897C60.2405 121.156 65.4135 131.862 74.6925 131.862H125.161L125.709 132.402L126.299 173.995L126.299 173.995M126.964 94.6797L125.751 174.003L126.299 173.995M126.964 94.6797H179.674C188.953 94.6797 194.126 105.386 188.357 112.644L137.061 177.189C135.539 179.104 132.883 179.583 130.531 178.892C128.18 178.202 126.336 176.41 126.299 173.995M126.964 94.6797L126.299 173.995"+ stroke="url(#paint17_linear_0_1)"+ stroke-width="1.09591"+ stroke-miterlimit="10"+ stroke-linejoin="bevel"+ shape-rendering="crispEdges"+ />+ </g>+ <defs>+ <filter+ id="filter0_d_0_1"+ x="58.6515"+ y="46.8027"+ width="137.062"+ height="141.703"+ filterUnits="userSpaceOnUse"+ color-interpolation-filters="sRGB"+ >+ <feFlood flood-opacity="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 dy="4.38364" />+ <feGaussianBlur stdDeviation="2.19182" />+ <feComposite in2="hardAlpha" operator="out" />+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_0_1" />+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_0_1" result="shape" />+ </filter>+ <radialGradient+ id="paint0_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(125.451 114.82) rotate(90) scale(109.781 0.5)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint1_linear_0_1"+ x1="38.9975"+ y1="58.9958"+ x2="18.999"+ y2="11.9994"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint2_linear_0_1"+ x1="43.9971"+ y1="168.986"+ x2="32.998"+ y2="204.984"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint3_linear_0_1"+ x1="221.943"+ y1="58.9958"+ x2="231.981"+ y2="13.9993"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint4_linear_0_1"+ x1="203.983"+ y1="168.986"+ x2="215.943"+ y2="204.984"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint5_linear_0_1"+ x1="121.402"+ y1="227.645"+ x2="121.402"+ y2="-7.94661"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0" />+ <stop offset="0.489583" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint6_linear_0_1"+ x1="121.814"+ y1="224.545"+ x2="121.814"+ y2="-3.99932"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0" />+ <stop offset="0.489583" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint7_linear_0_1"+ x1="60.7578"+ y1="30.3703"+ x2="60.7578"+ y2="199.061"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <radialGradient+ id="paint8_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(125.752 114.291) rotate(90) scale(109.271 0.5)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint9_linear_0_1"+ x1="6.99856"+ y1="0"+ x2="200"+ y2="6.31757"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.2" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint10_linear_0_1"+ x1="200"+ y1="100"+ x2="0"+ y2="200"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.2" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </linearGradient>+ <linearGradient+ id="paint11_linear_0_1"+ x1="189.766"+ y1="30.3703"+ x2="189.766"+ y2="199.061"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <radialGradient+ id="paint12_radial_0_1"+ cx="0"+ cy="0"+ r="1"+ gradientUnits="userSpaceOnUse"+ gradientTransform="translate(125.261 59.2344) rotate(90) scale(0.5 263.749)"+ >+ <stop stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0" />+ </radialGradient>+ <linearGradient+ id="paint13_linear_0_1"+ x1="6.99998"+ y1="94.9749"+ x2="242.982"+ y2="94.9749"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ </linearGradient>+ <linearGradient+ id="paint14_linear_0_1"+ x1="6.99998"+ y1="131.43"+ x2="242.982"+ y2="131.43"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.5" />+ </linearGradient>+ <linearGradient+ id="paint15_linear_0_1"+ x1="126.559"+ y1="224.98"+ x2="126.559"+ y2="1.99785"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ <stop offset="0.505208" stop-color="var(--colors-scale11)" stop-opacity="0.5" />+ <stop offset="1" stop-color="var(--colors-scale10)" stop-opacity="0.1" />+ </linearGradient>+ <linearGradient+ id="paint16_linear_0_1"+ x1="155.11"+ y1="46.8027"+ x2="126.979"+ y2="206.049"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="#212121" />+ <stop offset="1" stop-color="white" stop-opacity="0.12" />+ </linearGradient>+ <linearGradient+ id="paint17_linear_0_1"+ x1="191.328"+ y1="82.7684"+ x2="103.041"+ y2="175.889"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="#868585" />+ <stop offset="0.208333" stop-color="#838383" />+ <stop offset="1" stop-color="#5A5A5A" />+ </linearGradient>+ </defs>+ </motion.svg>+ </div>+ )+}++export default DocsCoverLogodiff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsxindex 373d46f405d..6f113ae0065 100644--- a/apps/docs/components/HomePageCover.tsx+++ b/apps/docs/components/HomePageCover.tsx@@ -2,6 +2,7 @@ import Image from 'next/image'import Link from 'next/link'import { IconBackground, IconPanel, IconPlay } from 'ui'import { useBreakpoint } from 'common'+import DocsCoverLogo from './DocsCoverLogo'const HomePageCover = (props) => {const isXs = useBreakpoint(639)@@ -108,12 +109,8 @@ const HomePageCover = (props) => {return (<div className="w-full bg-scale-100 border-b prose dark:prose-dar max-w-none mb-16 md:mb-12 xl:mb-0"><div className="max-w-7xl px-5 mx-auto py-8 sm:pb-16 xl:pt-16 flex flex-col xl:flex-row justify-between gap-12 sm:gap-4 xl:gap-12">- <div className="flex flex-col sm:flex-row gap-2 sm:gap-8 items-start sm:items-center w-full max-w-xl">- <Image- src="/docs/img/icons/supabase-docs2.svg"- width={isXs ? '60' : '200'}- height={isXs ? '80' : '300'}- />+ <div className="flex flex-col sm:flex-row gap-4 sm:gap-8 items-start sm:items-center w-full max-w-xl">+ <DocsCoverLogo /><div className="flex flex-col"><h1 className="m-0 mb-3 text-2xl sm:text-3xl">{props.meta?.title}</h1><p className="m-0 text-scale-1100">diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex a4d4a7133da..28ce0d084d8 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -61,6 +61,7 @@"clsx": "^1.2.1","common": "*","config": "*",+ "framer-motion": "^6.5.1","github-slugger": "^2.0.0","gray-matter": "^4.0.3","isbot": "^3.6.5",diff --git a/package-lock.json b/package-lock.jsonindex d3c3ed3179d..8a78a4a716c 100644--- a/package-lock.json+++ b/package-lock.json@@ -55,6 +55,7 @@"clsx": "^1.2.1","common": "*","config": "*",+ "framer-motion": "^6.5.1","github-slugger": "^2.0.0","gray-matter": "^4.0.3","isbot": "^3.6.5",@@ -51546,6 +51547,7 @@"dotenv": "^16.0.3","ejs": "^3.1.8","eslint": "8.9.0",+ "framer-motion": "6.5.1","github-slugger": "^2.0.0","globby": "^12.0.2","gray-matter": "^4.0.3",@@ -70213,4 +70215,4 @@"integrity": "sha512-Bq0B+ixT/DMyG8kgX2xWcI5jUvCwqrMxSFam7m0lAf78nf04hv6lNCsyLYdyYTrCVMqNDY/206K7eExYCeSyUQ=="}}-}\ No newline at end of file+}