-
Notifications
You must be signed in to change notification settings - Fork 988
feat: docusaurus homepage #5688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,180 @@ | ||||||||||||||||||
| const siteConfigData = { | ||||||||||||||||||
| homepage: { | ||||||||||||||||||
| SummaryLinkData: { | ||||||||||||||||||
| gettingStarted: 'getting-started', | ||||||||||||||||||
| readyToRun: 'https://github.com/prisma/prisma-examples', | ||||||||||||||||||
| slack: 'https://slack.prisma.io/', | ||||||||||||||||||
| discord: 'https://pris.ly/discord', | ||||||||||||||||||
| git: 'https://github.com/prisma', | ||||||||||||||||||
| buttons: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| text: 'Getting started', | ||||||||||||||||||
| url: 'getting-started', | ||||||||||||||||||
| special: true, | ||||||||||||||||||
| icon: 'DoubleArrow', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| text: 'Example projects', | ||||||||||||||||||
| url: 'https://github.com/prisma/prisma-examples', | ||||||||||||||||||
| special: false, | ||||||||||||||||||
| icon: null, | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| }, | ||||||||||||||||||
| ORMPlatformLinkData: { | ||||||||||||||||||
| porm: { | ||||||||||||||||||
| title: 'Build with Prisma ORM', | ||||||||||||||||||
| icon: 'database', | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Open source Node.js and TypeScript ORM with an intuitive data model, automated migrations, type-safety, and auto-completion.', | ||||||||||||||||||
| links: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'getting-started', | ||||||||||||||||||
| title: 'Getting started', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'https://github.com/prisma/prisma-examples', | ||||||||||||||||||
| title: 'Example projects', | ||||||||||||||||||
| external: true, | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| }, | ||||||||||||||||||
| pdp: { | ||||||||||||||||||
| title: 'Grow as your app evolves', | ||||||||||||||||||
| icon: 'triangle', | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Expand your application capabilities with global database caching, connection pooling and real-time database events.', | ||||||||||||||||||
| links: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'accelerate', | ||||||||||||||||||
| title: 'Prisma Accelerate', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'pulse', | ||||||||||||||||||
| title: 'Prisma Pulse', | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| }, | ||||||||||||||||||
| }, | ||||||||||||||||||
| GeneralLinkData: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `What is Prisma ORM`, | ||||||||||||||||||
| description: 'An overview of what Prisma ORM is and how it works.', | ||||||||||||||||||
| url: 'orm/overview/introduction/what-is-prisma', | ||||||||||||||||||
| icon: 'fa-regular fa-question', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `CRUD`, | ||||||||||||||||||
| description: 'How to perform CRUD operations with your generated Prisma Client API. ', | ||||||||||||||||||
| url: 'orm/prisma-client/queries/crud', | ||||||||||||||||||
| icon: 'fa-solid fa-arrow-right-arrow-left', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `Prisma ORM in your stack`, | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Use Prisma ORM to build a GraphQL or REST API, or as part of a fullstack application.', | ||||||||||||||||||
| url: 'orm/overview/prisma-in-your-stack', | ||||||||||||||||||
| icon: 'fa-solid fa-server', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `Preview features`, | ||||||||||||||||||
| description: 'Available preview features and how to enable them.', | ||||||||||||||||||
| url: 'orm/reference/preview-features', | ||||||||||||||||||
| icon: 'fa-solid fa-eye', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `Adopting Prisma ORM`, | ||||||||||||||||||
| description: 'Migrate to Prisma ORM from other ORMs.', | ||||||||||||||||||
| url: 'orm/more/migrating-to-prisma', | ||||||||||||||||||
| icon: 'fa-solid fa-download', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| title: `Deployment guides`, | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Deploy Node.js applications with Prisma Client to platforms like Vercel, AWS Lambda, Netlify and Heroku.', | ||||||||||||||||||
| url: 'orm/prisma-client/deployment', | ||||||||||||||||||
| icon: 'fa-solid fa-book', | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| CommunityLinksData: [ | ||||||||||||||||||
| // { | ||||||||||||||||||
| // id: 'slack', | ||||||||||||||||||
| // title: 'Slack', | ||||||||||||||||||
| // description: 'Engage with a vibrant community of developers and companies adopting Prisma', | ||||||||||||||||||
| // icon: 'fa-brands fa-slack', | ||||||||||||||||||
| // link: 'https://slack.prisma.io/', | ||||||||||||||||||
| // linkText: 'Join our channel', | ||||||||||||||||||
| // }, | ||||||||||||||||||
|
Comment on lines
+100
to
+107
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||
| { | ||||||||||||||||||
| id: 'discord', | ||||||||||||||||||
| title: 'Discord', | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Chat in real-time, hang out, and share ideas with community members and our team.', | ||||||||||||||||||
| icon: 'fa-brands fa-discord', | ||||||||||||||||||
| link: 'https://pris.ly/discord', | ||||||||||||||||||
| linkText: 'Join our server', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| id: 'github', | ||||||||||||||||||
| title: 'GitHub', | ||||||||||||||||||
| description: | ||||||||||||||||||
| 'Browse the Prisma ORM source code, send feedback, or join the discussion on GitHub.', | ||||||||||||||||||
| icon: 'fa-brands fa-github', | ||||||||||||||||||
| link: 'https://github.com/prisma', | ||||||||||||||||||
| linkText: 'Contribute in GitHub', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| id: 'X', | ||||||||||||||||||
| title: 'X', | ||||||||||||||||||
| description: 'Stay up-to-date, join the discussion, and connect with the community on X.', | ||||||||||||||||||
| icon: 'fa-brands fa-x-twitter', | ||||||||||||||||||
| link: 'https://twitter.com/prisma', | ||||||||||||||||||
| linkText: 'Follow us on X', | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| CardLinks: { | ||||||||||||||||||
| components: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/prisma-schema', | ||||||||||||||||||
| title: 'Prisma Schema', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/tools/prisma-cli', | ||||||||||||||||||
| title: 'Prisma CLI', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/prisma-client', | ||||||||||||||||||
| title: 'Prisma Client', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/tools/prisma-studio', | ||||||||||||||||||
| title: 'Prisma Studio', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/prisma-migrate', | ||||||||||||||||||
| title: 'Prisma Migrate', | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| reference: [ | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/reference/prisma-client-reference', | ||||||||||||||||||
| title: 'Prisma Client API reference', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/reference/prisma-schema-reference', | ||||||||||||||||||
| title: 'Prisma schema reference', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/reference/error-reference', | ||||||||||||||||||
| title: 'Error message reference', | ||||||||||||||||||
| }, | ||||||||||||||||||
| { | ||||||||||||||||||
| url: 'orm/reference/prisma-cli-reference', | ||||||||||||||||||
| title: 'Prisma CLI reference', | ||||||||||||||||||
| }, | ||||||||||||||||||
| ], | ||||||||||||||||||
| }, | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
| export default siteConfigData | ||||||||||||||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import * as React from 'react' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason why we need these as TSX components rather than just svgs? |
||
|
|
||
| // Placeholder | ||
|
|
||
| export default () => ( | ||
| <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <rect width="24" height="24" rx="4" fill="#ffffff" /> | ||
| <g transform="matrix(0.07049173,0,0,0.07049173,3.536058,1.2116248)"> | ||
| <g> | ||
| <path | ||
| fill="#000000" | ||
| d="m 190.61,201.94 v 0 a 162.57,162.57 0 0 0 -56,-166.1 146.63,146.63 0 0 1 101.51,-16.48 l 4,-16 A 163.49,163.49 0 0 0 207.33,0 161.75,161.75 0 0 0 120.07,25.37 161.81,161.81 0 0 0 32.8,0 163.66,163.66 0 0 0 0,3.31 l 4,16.05 a 147,147 0 0 1 28.8,-2.84 145.37,145.37 0 0 1 72.68,19.32 162.63,162.63 0 0 0 9.91,261 l 4.67,3.21 4.67,-3.21 a 162.73,162.73 0 0 0 65.88,-94.85 z M 111.8,273.2 A 146.09,146.09 0 0 1 67.87,119 163.18,163.18 0 0 0 98.59,156.21 40,40 0 0 1 111.8,186 Z m 8.26,-120.72 a 146.6,146.6 0 0 1 -29.28,-29.06 40.43,40.43 0 0 1 -0.06,-48.84 146.58,146.58 0 0 1 29.34,-29.15 146.32,146.32 0 0 1 29.7,29.63 40,40 0 0 1 -0.06,47.88 146.86,146.86 0 0 1 -29.64,29.54 z m 8.26,120.72 V 186 A 40,40 0 0 1 141.53,156.21 163.18,163.18 0 0 0 172.25,119 146.09,146.09 0 0 1 128.32,273.2 Z" | ||
| /> | ||
| </g> | ||
| </g> | ||
| </svg> | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| import React from 'react' | ||
|
|
||
| export default () => ( | ||
| <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <g clip-path="url(#clip0_2102_1891)"> | ||
| <path | ||
| d="M25.2258 21.5402C26.2183 18.3253 26.0479 14.9486 24.7351 11.8093C23.4222 8.66988 21.0219 5.89909 17.8175 3.82433C20.7435 2.46814 24.0611 1.75703 27.4365 1.76255C28.7161 1.762 29.9927 1.86315 31.2479 2.06455L31.7759 0.354184C30.3478 0.118731 28.8941 7.90121e-05 27.4365 3.20929e-05C23.3454 -0.00632924 19.3382 0.933124 15.8897 2.70696C12.4409 0.933402 8.43369 -0.00602158 4.34283 3.20929e-05C2.88411 8.11828e-05 1.42914 0.118732 0 0.354184L0.527951 2.06455C1.78416 1.863 3.06197 1.76185 4.34283 1.76255C7.71879 1.75687 11.0372 2.46697 13.9651 3.82159C11.3466 5.51684 9.25661 7.68249 7.86237 10.1454C6.46815 12.6082 5.80836 15.2999 5.9358 18.0051C6.06325 20.7102 6.97438 23.3538 8.59633 25.7243C10.2182 28.0948 12.5059 30.1265 15.2765 31.6569L15.8964 32L16.5129 31.6569C20.8544 29.2558 23.9559 25.6573 25.2326 21.5402H25.2258ZM14.7963 29.1393C11.9431 27.1532 9.87256 24.5382 8.83954 21.6159C7.80651 18.6938 7.85602 15.5918 8.98198 12.6919C10.0855 14.1697 11.4549 15.5076 13.0455 16.6617C13.5974 17.0626 14.0386 17.5526 14.3401 18.0998C14.6417 18.647 14.7972 19.2392 14.7963 19.8381V29.1393ZM15.8897 16.2635C14.4238 15.3872 13.1188 14.3484 12.0134 13.1778C11.3057 12.428 10.9225 11.5118 10.9225 10.5698C10.9225 9.62755 11.3057 8.71141 12.0134 7.96156C13.1178 6.78135 14.4253 5.734 15.8964 4.85109C17.3839 5.74586 18.7041 6.80819 19.8169 8.0055C20.5015 8.74286 20.8715 9.63914 20.8715 10.5601C20.8715 11.4811 20.5015 12.3773 19.8169 13.1146C18.6998 14.3093 17.3775 15.3695 15.8897 16.2635ZM16.9796 29.1393V19.8381C16.9791 19.2391 17.1351 18.6466 17.4373 18.0993C17.7395 17.5521 18.1812 17.0622 18.7338 16.6617C20.324 15.5082 21.6924 14.1702 22.7938 12.6919C23.381 14.2023 23.6785 15.7762 23.676 17.359C23.6731 19.5947 23.0735 21.8038 21.9181 23.8365C20.7627 25.8691 19.0785 27.6776 16.9796 29.1393Z" | ||
| fill="url(#paint0_linear_2102_1891)" | ||
| /> | ||
| </g> | ||
| <defs> | ||
| <linearGradient | ||
| id="paint0_linear_2102_1891" | ||
| x1="0" | ||
| y1="9.06666" | ||
| x2="31.7759" | ||
| y2="9.06666" | ||
| gradientUnits="userSpaceOnUse" | ||
| > | ||
| <stop stop-color="#0037A5" /> | ||
| <stop offset="0.503789" stop-color="#6933FF" /> | ||
| <stop offset="1" stop-color="#00FCED" /> | ||
| </linearGradient> | ||
| <clipPath id="clip0_2102_1891"> | ||
| <rect width="32" height="32" fill="white" /> | ||
| </clipPath> | ||
| </defs> | ||
| </svg> | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| import React from 'react' | ||
|
|
||
| export default () => ( | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| id="Layer_1" | ||
| data-name="Layer 1" | ||
| viewBox="0 0 309.88 252.72" | ||
| width={32} | ||
| > | ||
| <path | ||
| fill="#003545" | ||
| d="M61.74,214.91,73,258.46h-8.5L57,227.09,42.86,258.46H35.68L21.62,227.27,13.9,258.46H5.58l11.16-43.55H24.1l15.2,33.72,15.14-33.72Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M105.11,231.74v-5.07h8.21v31.79h-8.21v-5.12c-2.17,3.68-6.63,5.79-12.06,5.79-11.35,0-17.68-8-17.68-17.2,0-8.87,6-16,16.47-16C97.81,226,102.76,228,105.11,231.74Zm-21,10.62c0,5.85,3.68,10.86,10.8,10.86,6.87,0,10.61-4.89,10.61-10.68s-3.86-10.74-11-10.74C87.68,231.8,84.12,236.74,84.12,242.36Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M131.83,258.46h-8.2V226.67h8.2v7.12A12.58,12.58,0,0,1,143.29,226a14.84,14.84,0,0,1,5.13.84l-1.75,6a18,18,0,0,0-4.34-.6c-5.92,0-10.5,4.46-10.5,11Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M152.52,218.28a4.17,4.17,0,0,1,4.4-4.28,4.33,4.33,0,0,1,4.47,4.41,4.15,4.15,0,0,1-4.47,4.22A4.22,4.22,0,0,1,152.52,218.28Zm.36,8.39h8.21V249.9c0,1.44.3,2.47,1.5,2.47a8.85,8.85,0,0,0,1.57-.18l1.27,6a14.36,14.36,0,0,1-5.43,1c-3.44,0-7.12-1-7.12-8.81Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M197.76,231.74v-5.07H206v31.79h-8.21v-5.12c-2.17,3.68-6.63,5.79-12.06,5.79-11.34,0-17.68-8-17.68-17.2,0-8.87,6-16,16.47-16C190.46,226,195.41,228,197.76,231.74Zm-21,10.62c0,5.85,3.68,10.86,10.8,10.86,6.88,0,10.62-4.89,10.62-10.68s-3.87-10.74-11-10.74C180.33,231.8,176.77,236.74,176.77,242.36Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M218.57,214.91h19.67c16.53,0,24.79,9.11,24.67,21.77.12,13.16-9,21.78-23.22,21.78H218.57Zm5.43,3.86v35.89h15c13.15,0,18.16-8.87,18.16-18.1,0-10.43-6.27-17.79-18.16-17.79Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M296.45,258.46h-25V214.91H294c8.62,0,16.83,1.62,16.71,11.28,0,6.81-4.23,8.69-8.69,9.41,6.33.54,10.14,4.58,10.14,11.1C312.2,256.47,303.63,258.46,296.45,258.46Zm-1.87-24.55c8.63,0,10.56-3.32,10.56-7.54,0-6.34-3.86-7.78-10.56-7.78H276.66v15.32Zm.24,3.68H276.66v17.19H295.6c5.31,0,10.92-1.75,10.92-8.44C306.52,238.62,300.07,237.59,294.82,237.59Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| <path | ||
| fill="#003545" | ||
| d="M314.08,7.35a4.18,4.18,0,0,0-2.84-.95c-2.83,0-6.49,1.92-8.46,2.95l-.78.4a26.86,26.86,0,0,1-10.57,2.66c-3.76.12-7,.34-11.22.78-25,2.57-36.15,21.73-46.89,40.26C227.47,63.53,221.43,74,213.15,82a54.4,54.4,0,0,1-5.45,4.63C199.13,93,188.37,97.55,180,100.77c-8.06,3.08-16.86,5.85-25.36,8.53-7.79,2.45-15.14,4.77-21.9,7.28-3.05,1.13-5.64,2-7.93,2.76-6.16,2-10.6,3.53-17.09,8-2.53,1.73-5.07,3.6-6.79,5a71.62,71.62,0,0,0-13.55,14.27A84.25,84.25,0,0,1,76,160.27c-1.37,1.34-3.8,2-7.44,2-4.26,0-9.43-.88-14.9-1.81-5.64-1-11.47-1.95-16.47-1.95-4.06,0-7.17.66-9.49,2,0,0-3.91,2.28-5.56,5.23l1.62.73a33.21,33.21,0,0,1,6.92,5,34.72,34.72,0,0,0,7.2,5.12A6.18,6.18,0,0,1,40.1,178c-.68,1-1.68,2.29-2.73,3.67-5.77,7.55-9.14,12.32-7.21,14.92a6.07,6.07,0,0,0,3,.68c12.58,0,19.34-3.27,27.89-7.41,2.48-1.2,5-2.43,8-3.7,5-2.17,10.38-5.63,16.09-9.29C92.61,172,100.42,167,108,164.59a62.3,62.3,0,0,1,19.23-2.7c8,0,16.42,1.07,24.54,2.11,6.05.78,12.32,1.58,18.47,1.95,2.39.14,4.6.21,6.75.21a78.21,78.21,0,0,0,8.61-.45l.69-.24c4.31-2.65,6.33-8.34,8.29-13.84,1.26-3.54,2.32-6.72,4-8.74a2.55,2.55,0,0,1,.32-.27.4.4,0,0,1,.49.08s0,.05,0,.16c-1,21.51-9.66,35.17-18.42,47.31l-5.85,6.27s8.19,0,12.85-1.8c17-5.08,29.83-16.28,39.17-34.14a145.7,145.7,0,0,0,6.17-14.09c.16-.4,1.63-1.14,1.49.93-.05.61-.09,1.29-.14,2h0c0,.42,0,.85-.08,1.28-.24,3-.95,9.34-.95,9.34l5.25-2.81c12.66-8,22.42-24.14,29.82-49.25,3.08-10.46,5.34-20.85,7.33-30,2.38-11,4.43-20.43,6.78-24.09,3.69-5.74,9.32-9.62,14.77-13.39.74-.51,1.49-1,2.22-1.54,6.85-4.81,13.66-10.36,15.16-20.71l0-.23C316.05,10.22,315.13,8.25,314.08,7.35Z" | ||
| transform="translate(-5.58 -6.4)" | ||
| ></path> | ||
| </svg> | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| import React from 'react' | ||
|
|
||
| export default () => ( | ||
| <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <g clip-path="url(#clip0_2102_1891)"> | ||
| <path | ||
| d="M25.2258 21.5402C26.2183 18.3253 26.0479 14.9486 24.7351 11.8093C23.4222 8.66988 21.0219 5.89909 17.8175 3.82433C20.7435 2.46814 24.0611 1.75703 27.4365 1.76255C28.7161 1.762 29.9927 1.86315 31.2479 2.06455L31.7759 0.354184C30.3478 0.118731 28.8941 7.90121e-05 27.4365 3.20929e-05C23.3454 -0.00632924 19.3382 0.933124 15.8897 2.70696C12.4409 0.933402 8.43369 -0.00602158 4.34283 3.20929e-05C2.88411 8.11828e-05 1.42914 0.118732 0 0.354184L0.527951 2.06455C1.78416 1.863 3.06197 1.76185 4.34283 1.76255C7.71879 1.75687 11.0372 2.46697 13.9651 3.82159C11.3466 5.51684 9.25661 7.68249 7.86237 10.1454C6.46815 12.6082 5.80836 15.2999 5.9358 18.0051C6.06325 20.7102 6.97438 23.3538 8.59633 25.7243C10.2182 28.0948 12.5059 30.1265 15.2765 31.6569L15.8964 32L16.5129 31.6569C20.8544 29.2558 23.9559 25.6573 25.2326 21.5402H25.2258ZM14.7963 29.1393C11.9431 27.1532 9.87256 24.5382 8.83954 21.6159C7.80651 18.6938 7.85602 15.5918 8.98198 12.6919C10.0855 14.1697 11.4549 15.5076 13.0455 16.6617C13.5974 17.0626 14.0386 17.5526 14.3401 18.0998C14.6417 18.647 14.7972 19.2392 14.7963 19.8381V29.1393ZM15.8897 16.2635C14.4238 15.3872 13.1188 14.3484 12.0134 13.1778C11.3057 12.428 10.9225 11.5118 10.9225 10.5698C10.9225 9.62755 11.3057 8.71141 12.0134 7.96156C13.1178 6.78135 14.4253 5.734 15.8964 4.85109C17.3839 5.74586 18.7041 6.80819 19.8169 8.0055C20.5015 8.74286 20.8715 9.63914 20.8715 10.5601C20.8715 11.4811 20.5015 12.3773 19.8169 13.1146C18.6998 14.3093 17.3775 15.3695 15.8897 16.2635ZM16.9796 29.1393V19.8381C16.9791 19.2391 17.1351 18.6466 17.4373 18.0993C17.7395 17.5521 18.1812 17.0622 18.7338 16.6617C20.324 15.5082 21.6924 14.1702 22.7938 12.6919C23.381 14.2023 23.6785 15.7762 23.676 17.359C23.6731 19.5947 23.0735 21.8038 21.9181 23.8365C20.7627 25.8691 19.0785 27.6776 16.9796 29.1393Z" | ||
| fill="url(#paint0_linear_2102_1891)" | ||
| /> | ||
| </g> | ||
| <defs> | ||
| <linearGradient | ||
| id="paint0_linear_2102_1891" | ||
| x1="0" | ||
| y1="9.06666" | ||
| x2="31.7759" | ||
| y2="9.06666" | ||
| gradientUnits="userSpaceOnUse" | ||
| > | ||
| <stop stop-color="#0037A5" /> | ||
| <stop offset="0.503789" stop-color="#6933FF" /> | ||
| <stop offset="1" stop-color="#00FCED" /> | ||
| </linearGradient> | ||
| <clipPath id="clip0_2102_1891"> | ||
| <rect width="32" height="32" fill="white" /> | ||
| </clipPath> | ||
| </defs> | ||
| </svg> | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import React from 'react' | ||
|
|
||
| export default () => ( | ||
| <svg width="15" height="32" viewBox="0 0 15 32" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <path | ||
| fillRule="evenodd" | ||
| clipRule="evenodd" | ||
| d="M8.88795 2.83463C10.2488 4.2257 12.9549 6.99194 14.2726 12.7401C14.4458 13.7185 14.5366 14.7095 14.5443 15.7027C14.5707 17.8182 14.1477 19.9156 13.3025 21.8593C12.4573 23.803 11.2088 25.5497 9.63774 26.9864L9.59973 27.0207C9.26491 27.3281 8.91095 27.6145 8.53994 27.8782L8.48964 27.9113C8.18549 29.2608 7.95635 30.6257 7.80323 32H7.15372C7.00852 30.4623 6.81283 28.9884 6.7377 28.4225C6.71797 28.2739 6.70655 28.1879 6.70655 28.1798L6.61265 28.1147C5.77645 27.5157 -0.363168 22.8193 0.0169244 14.9414C0.424965 6.49106 5.43324 2.33828 6.41254 1.57911C7.04193 0.913875 7.06764 0.663029 7.11683 0C7.12357 0.01589 7.12983 0.0320177 7.1355 0.0466186C7.14205 0.0634952 7.14781 0.0783319 7.15261 0.0884039C7.15261 0.0884039 7.62996 1.26307 8.10619 1.92389C8.20443 2.13593 8.48813 2.42593 8.88795 2.83463ZM7.45109 12.6152C7.07659 12.6152 7.07659 23.6657 7.07659 23.6657C7.07659 24.5255 7.59977 26.8107 8.11178 26.8704C8.11178 26.8704 7.73839 12.6152 7.45109 12.6152Z" | ||
| fill="#00684A" | ||
| /> | ||
| </svg> | ||
| ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way we can do away with this file? I know it's a bit of extra work but doing something like this feels a bit better to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To have content + logic on the same file? sure!