Files
triggerdotdev--trigger.dev/docs/snippets/card-supabase.mdx
T
Dan 382ce8daff Added overview pages for guides and examples, and improved examples (#1314)
* Added introduction page for guides

* New intro page for examples

* Fixed links

* Updated examples intro to include all of the new ones

* Improved FFmpeg example

* Improved the react pdf example

* Added Supabase overview page

* Updated card-supabase snippet

* Added sharp payload instructions

* Added vercel payload instructions

* Added dall-e payload instructions

* Added openai payload instructions

* Added resend payload instructions

* Made the prompts more consistent

* Minor tweaks and moved bun

* Updated links and added bun logo

---------

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2024-09-18 11:08:55 +01:00

35 lines
5.9 KiB
Plaintext

<Card
icon={
<svg width="187" height="37" viewBox="0 0 187 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_14306_73387)">
<path d="M48.6289 21.4438C48.8213 23.243 50.4578 26.3272 55.2072 26.3272C59.3465 26.3272 61.3364 23.6928 61.3364 21.1226C61.3364 18.8094 59.7638 16.9138 56.6513 16.2712L54.4048 15.7894C53.5385 15.6287 52.961 15.1468 52.961 14.3758C52.961 13.4762 53.8594 12.8015 54.9826 12.8015C56.7795 12.8015 57.4533 13.9902 57.5818 14.922L61.1437 14.1188C60.9513 12.416 59.4429 9.55667 54.9505 9.55667C51.549 9.55667 49.0461 11.902 49.0461 14.7291C49.0461 16.9459 50.4257 18.7773 53.4743 19.4519L55.5602 19.9338C56.7795 20.1908 57.2609 20.7692 57.2609 21.476C57.2609 22.3113 56.5871 23.0502 55.175 23.0502C53.314 23.0502 52.3831 21.8936 52.2871 20.6406L48.6289 21.4438Z" fill="white"/>
<path d="M74.9758 25.8453H79.0513C78.987 25.2991 78.8907 24.2068 78.8907 22.9859V10.0385H74.6225V19.227C74.6225 21.0583 73.5317 22.3434 71.6385 22.3434C69.649 22.3434 68.7503 20.9298 68.7503 19.1628V10.0385H64.4824V20.0302C64.4824 23.4679 66.6644 26.263 70.4832 26.263C72.1515 26.263 73.9814 25.6204 74.8477 24.1425C74.8477 24.7851 74.9116 25.524 74.9758 25.8453Z" fill="white"/>
<path d="M87.7128 31.9496V24.3033C88.4827 25.3634 90.0875 26.2309 92.2697 26.2309C96.73 26.2309 99.714 22.6968 99.714 17.9098C99.714 13.2193 97.0509 9.68521 92.43 9.68521C90.0557 9.68521 88.2907 10.7454 87.5847 11.9663V10.0386H83.4453V31.9496H87.7128ZM95.5104 17.942C95.5104 20.7693 93.7778 22.4077 91.5955 22.4077C89.4139 22.4077 87.6489 20.7371 87.6489 17.942C87.6489 15.1469 89.4139 13.5084 91.5955 13.5084C93.7778 13.5084 95.5104 15.1469 95.5104 17.942Z" fill="white"/>
<path d="M102.131 21.5402C102.131 24.0141 104.184 26.2951 107.554 26.2951C109.896 26.2951 111.404 25.2027 112.206 23.9498C112.206 24.5602 112.271 25.4276 112.367 25.8453H116.282C116.185 25.2991 116.09 24.1747 116.09 23.3394V15.5645C116.09 12.3838 114.228 9.55667 109.223 9.55667C104.987 9.55667 102.708 12.2875 102.452 14.7613L106.238 15.5645C106.367 14.183 107.393 12.9943 109.254 12.9943C111.052 12.9943 111.918 13.926 111.918 15.0504C111.918 15.5966 111.63 16.0464 110.731 16.1749L106.848 16.7532C104.217 17.1388 102.131 18.713 102.131 21.5402ZM108.452 23.1145C107.073 23.1145 106.398 22.2149 106.398 21.2832C106.398 20.0624 107.265 19.4519 108.356 19.2913L111.918 18.7451V19.4519C111.918 22.2471 110.249 23.1145 108.452 23.1145Z" fill="white"/>
<path d="M124.53 25.8454V23.9177C125.364 25.2671 127.033 26.2309 129.215 26.2309C133.708 26.2309 136.66 22.6647 136.66 17.8777C136.66 13.1871 133.997 9.62095 129.376 9.62095C127.033 9.62095 125.3 10.649 124.594 11.7734V2.58499H120.391V25.8454H124.53ZM132.392 17.9098C132.392 20.8013 130.659 22.4077 128.477 22.4077C126.327 22.4077 124.53 20.7692 124.53 17.9098C124.53 15.0183 126.327 13.4441 128.477 13.4441C130.659 13.4441 132.392 15.0183 132.392 17.9098Z" fill="white"/>
<path d="M139.078 21.5402C139.078 24.0141 141.132 26.2951 144.501 26.2951C146.843 26.2951 148.352 25.2027 149.154 23.9498C149.154 24.5602 149.218 25.4276 149.314 25.8453H153.229C153.133 25.2991 153.037 24.1747 153.037 23.3394V15.5645C153.037 12.3838 151.176 9.55667 146.17 9.55667C141.934 9.55667 139.656 12.2875 139.399 14.7613L143.185 15.5645C143.314 14.183 144.341 12.9943 146.201 12.9943C147.999 12.9943 148.865 13.926 148.865 15.0504C148.865 15.5966 148.576 16.0464 147.678 16.1749L143.795 16.7532C141.164 17.1388 139.078 18.713 139.078 21.5402ZM145.4 23.1145C144.02 23.1145 143.346 22.2149 143.346 21.2832C143.346 20.0624 144.212 19.4519 145.303 19.2913L148.865 18.7451V19.4519C148.865 22.2471 147.197 23.1145 145.4 23.1145Z" fill="white"/>
<path d="M155.99 21.4438C156.182 23.243 157.819 26.3272 162.568 26.3272C166.708 26.3272 168.697 23.6928 168.697 21.1226C168.697 18.8094 167.125 16.9138 164.012 16.2712L161.766 15.7894C160.9 15.6287 160.322 15.1468 160.322 14.3758C160.322 13.4762 161.22 12.8015 162.344 12.8015C164.141 12.8015 164.815 13.9902 164.943 14.922L168.505 14.1188C168.312 12.416 166.804 9.55667 162.312 9.55667C158.91 9.55667 156.407 11.902 156.407 14.7291C156.407 16.9459 157.787 18.7773 160.836 19.4519L162.921 19.9338C164.141 20.1908 164.622 20.7692 164.622 21.476C164.622 22.3113 163.948 23.0502 162.536 23.0502C160.675 23.0502 159.745 21.8936 159.648 20.6406L155.99 21.4438Z" fill="white"/>
<path d="M175.179 16.1428C175.275 14.6971 176.495 13.0264 178.709 13.0264C181.147 13.0264 182.175 14.5685 182.239 16.1428H175.179ZM182.656 20.2551C182.143 21.6687 181.051 22.6647 179.062 22.6647C176.944 22.6647 175.179 21.1547 175.083 19.0664H186.378C186.378 19.0021 186.442 18.3596 186.442 17.7491C186.442 12.673 183.522 9.55667 178.645 9.55667C174.602 9.55667 170.879 12.8336 170.879 17.8777C170.879 23.2108 174.697 26.3272 179.03 26.3272C182.913 26.3272 185.416 24.0461 186.218 21.3153L182.656 20.2551Z" fill="white"/>
<path d="M20.4625 35.4236C19.544 36.5803 17.6817 35.9466 17.6596 34.4697L17.3359 12.8683H31.8607C34.4915 12.8683 35.9588 15.9069 34.3229 17.9673L20.4625 35.4236Z" fill="url(#paint0_linear_14306_73387)"/>
<path d="M20.4625 35.4236C19.544 36.5803 17.6817 35.9466 17.6596 34.4697L17.3359 12.8683H31.8607C34.4915 12.8683 35.9588 15.9069 34.3229 17.9673L20.4625 35.4236Z" fill="url(#paint1_linear_14306_73387)" fillOpacity="0.2"/>
<path d="M14.5559 0.665201C15.4744 -0.491583 17.3367 0.142251 17.3588 1.61917L17.5007 23.2205H3.15769C0.526788 23.2205 -0.940513 20.1819 0.695459 18.1215L14.5559 0.665201Z" fill="#3ECF8E"/>
</g>
<defs>
<linearGradient id="paint0_linear_14306_73387" x1="17.3359" y1="17.6579" x2="30.245" y2="23.0719" gradientUnits="userSpaceOnUse">
<stop stopColor="#249361"/>
<stop offset="1" stopColor="#3ECF8E"/>
</linearGradient>
<linearGradient id="paint1_linear_14306_73387" x1="11.6127" y1="9.82176" x2="17.4999" y2="20.9041" gradientUnits="userSpaceOnUse">
<stop/>
<stop offset="1" stopOpacity="0"/>
</linearGradient>
<clipPath id="clip0_14306_73387">
<rect width="186.619" height="36.296" fill="white"/>
</clipPath>
</defs>
</svg>
}
href="/guides/frameworks/supabase-guides-overview"
/>