Products.tsx 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. // import Button from 'ui'
  2. import { Link } from '@nextui-org/react'
  3. import SectionContainer from './SectionContainer'
  4. import ExampleCard from './ExampleCard'
  5. const Examples = [
  6. {
  7. type: 'example',
  8. tags: ['Next.js', 'Stripe', 'Vercel'],
  9. products: [],
  10. title: 'Agent Hub',
  11. description:
  12. 'View, download, or upload AIOS agents',
  13. author: 'Vercel',
  14. author_url: 'https://github.com/vercel',
  15. author_img: 'https://avatars.githubusercontent.com/u/14985020',
  16. repo_name: 'vercel/nextjs-subscription-payments',
  17. repo_url: 'https://my.aios.foundation/agents',
  18. vercel_deploy_url:
  19. 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments&env=NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,STRIPE_SECRET_KEY&envDescription=Enter%20your%20Stripe%20API%20keys.&envLink=https%3A%2F%2Fdashboard.stripe.com%2Fapikeys&project-name=nextjs-subscription-payments&repository-name=nextjs-subscription-payments&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments%2Ftree%2Fmain',
  20. demo_url: 'https://subscription-payments.vercel.app/',
  21. },
  22. {
  23. type: 'example',
  24. tags: ['Next.js', 'Vercel'],
  25. products: [],
  26. title: 'Agent Chat',
  27. description:
  28. 'Use and converse with AIOS agents',
  29. author: 'Supabase',
  30. author_url: 'https://github.com/supabase',
  31. author_img: 'https://avatars.githubusercontent.com/u/54469796',
  32. repo_name: 'vercel/next.js/examples/with-supabase',
  33. repo_url: 'https://my.aios.foundation/chat',
  34. vercel_deploy_url:
  35. 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&project-name=nextjs-with-supabase&repository-name=nextjs-with-supabase&demo-title=nextjs-with-supabase&demo-description=This%20starter%20configures%20Supabase%20Auth%20to%20use%20cookies%2C%20making%20the%20user%27s%20session%20available%20throughout%20the%20entire%20Next.js%20app%20-%20Client%20Components%2C%20Server%20Components%2C%20Route%20Handlers%2C%20Server%20Actions%20and%20Middleware.&demo-url=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2F&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&demo-image=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2Fopengraph-image.png&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6',
  36. demo_url: 'https://demo-nextjs-with-supabase.vercel.app/',
  37. },
  38. {
  39. type: 'example',
  40. tags: ['Next.js', 'OpenAI', 'Vercel'],
  41. products: [],
  42. title: 'AI Chatbot',
  43. description:
  44. 'An open-source AI chatbot app template built with Next.js, the Vercel AI SDK, OpenAI, and Supabase.',
  45. author: 'Supabase',
  46. author_url: 'https://github.com/supabase',
  47. author_img: 'https://avatars.githubusercontent.com/u/54469796',
  48. repo_name: 'supabase-community/vercel-ai-chatbot',
  49. repo_url: 'https://github.com/supabase-community/vercel-ai-chatbot',
  50. vercel_deploy_url:
  51. 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsupabase-community%2Fvercel-ai-chatbot&env=OPENAI_API_KEY&envDescription=You%20must%20first%20activate%20a%20Billing%20Account%20here%3A%20https%3A%2F%2Fplatform.openai.com%2Faccount%2Fbilling%2Foverview&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=vercel-ai-chatbot-with-supabase&repository-name=vercel-ai-chatbot-with-supabase&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6&external-id=https%3A%2F%2Fgithub.com%2Fsupabase-community%2Fvercel-ai-chatbot%2Ftree%2Fmain',
  52. demo_url: '',
  53. },
  54. {
  55. type: 'example',
  56. tags: ['LangChain', 'Next.js'],
  57. products: [],
  58. title: 'LangChain + Next.js Starter',
  59. description:
  60. 'Starter template and example use-cases for LangChain projects in Next.js, including chat, agents, and retrieval.',
  61. author: 'Supabase',
  62. author_url: 'https://github.com/supabase',
  63. author_img: 'https://avatars.githubusercontent.com/u/54469796',
  64. repo_name: 'langchain-ai/langchain-nextjs-template',
  65. repo_url: 'https://github.com/langchain-ai/langchain-nextjs-template',
  66. vercel_deploy_url:
  67. 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flangchain-ai%2Flangchain-nextjs-template',
  68. demo_url: 'https://langchain-nextjs-template.vercel.app/',
  69. },
  70. {
  71. type: 'example',
  72. tags: ['Flutter'],
  73. products: [],
  74. title: 'Flutter User Management',
  75. description:
  76. 'Get started with Supabase and Flutter by building a user management app with auth, file storage, and database.',
  77. author: 'Supabase Community',
  78. author_url: 'https://github.com/supabase-community',
  79. author_img: 'https://avatars.githubusercontent.com/u/87650496',
  80. repo_name: 'supabase/examples/user-management/flutter-user-management',
  81. repo_url:
  82. 'https://github.com/supabase/supabase/tree/master/examples/user-management/flutter-user-management',
  83. vercel_deploy_url: '',
  84. demo_url: '',
  85. },
  86. {
  87. type: 'example',
  88. tags: ['Expo'],
  89. products: [],
  90. title: 'Expo React Native Starter',
  91. description:
  92. 'An extended version of create-t3-turbo implementing authentication on both the web and mobile applications.',
  93. author: 'Supabase Community',
  94. author_url: 'https://github.com/supabase-community',
  95. author_img: 'https://avatars.githubusercontent.com/u/87650496',
  96. repo_name: 'supabase-community/create-t3-turbo',
  97. repo_url: 'https://github.com/supabase-community/create-t3-turbo',
  98. vercel_deploy_url: '',
  99. demo_url: 'https://create-t3-turbo.vercel.app/',
  100. },
  101. {
  102. type: 'example',
  103. tags: ['Svelte'],
  104. products: [],
  105. title: 'Svelte kanban board',
  106. description: 'A Trello clone using Supabase as the storage system.',
  107. author: 'joshnuss',
  108. author_url: 'https://github.com/joshnuss',
  109. author_img: 'https://avatars.githubusercontent.com/u/4437',
  110. repo_name: 'supabase-kanban',
  111. repo_url: 'https://github.com/joshnuss/supabase-kanban',
  112. vercel_deploy_url: '',
  113. demo_url: 'https://supabase-kanban.vercel.app/',
  114. },
  115. {
  116. type: 'example',
  117. tags: ['Next.js'],
  118. products: [],
  119. title: 'Next.js Realtime chat app',
  120. description: 'Next.js Slack clone app using Supabase realtime subscriptions',
  121. author: 'supabase',
  122. author_url: 'https://github.com/supabase',
  123. author_img: 'https://avatars.githubusercontent.com/u/54469796',
  124. repo_name: 'nextjs-slack-clone',
  125. repo_url:
  126. 'https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone',
  127. vercel_deploy_url: '',
  128. demo_url: '',
  129. },
  130. {
  131. type: 'example',
  132. tags: ['Next.js'],
  133. products: [],
  134. title: 'Next.js Subscription and Auth',
  135. description: 'The all-in-one starter kit for high-performance SaaS applications.',
  136. author: 'Vercel',
  137. author_url: 'https://github.com/vercel',
  138. author_img: 'https://avatars.githubusercontent.com/u/14985020',
  139. repo_name: 'nextjs-subscription-payments',
  140. repo_url: 'https://github.com/vercel/nextjs-subscription-payments',
  141. vercel_deploy_url:
  142. 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments&env=NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,STRIPE_SECRET_KEY&envDescription=Enter%20your%20Stripe%20API%20keys.&envLink=https%3A%2F%2Fdashboard.stripe.com%2Fapikeys&project-name=nextjs-subscription-payments&repository-name=nextjs-subscription-payments&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments%2Ftree%2Fmain',
  143. demo_url: 'https://subscription-payments.vercel.app/',
  144. },
  145. {
  146. type: 'example',
  147. tags: ['Expo', 'React'],
  148. products: [],
  149. title: 'Expo React Native Starter',
  150. description: 'Template bottom tabs with auth flow (Typescript)',
  151. author: 'codingki',
  152. author_url: 'https://github.com/codingki',
  153. author_img: 'https://avatars.githubusercontent.com/u/39829726',
  154. repo_name: 'react-native-expo-template',
  155. repo_url:
  156. 'https://github.com/codingki/react-native-expo-template/tree/master/template-typescript-bottom-tabs-supabase-auth-flow',
  157. vercel_deploy_url: '',
  158. demo_url: '',
  159. },
  160. {
  161. type: 'example',
  162. tags: ['NestJs'],
  163. products: [],
  164. title: 'NestJS example',
  165. description: 'NestJS example using Supabase Auth',
  166. author: 'hiro1107',
  167. author_url: 'https://github.com/hiro1107',
  168. author_img: 'https://avatars.githubusercontent.com/u/1423067',
  169. repo_name: 'nestjs-supabase-auth',
  170. repo_url: 'https://github.com/hiro1107/nestjs-supabase-auth',
  171. vercel_deploy_url: '',
  172. demo_url: '',
  173. },
  174. // {
  175. // type: 'example',
  176. // tags: ['Supabase'],
  177. // products: [PRODUCT_NAMES.FUNCTIONS],
  178. // title: 'With supabase-js',
  179. // description: 'Use the Supabase client inside your Edge Function.',
  180. // repo_url: 'https://supabase.com/docs/guides/functions/auth',
  181. // },
  182. ]
  183. const BuiltWithSupabase = () => {
  184. return (
  185. <SectionContainer id="examples" className="xl:pt-32">
  186. <div className="text-center">
  187. <div className=" text-5xl">Start building in seconds</div>
  188. <div className="text-2xl pt-6">
  189. Try out our many features
  190. </div>
  191. </div>
  192. <div className="mt-16 grid grid-cols-12 gap-5">
  193. {Examples.slice(0, 2).map((example: any, i: number) => {
  194. return (
  195. <div
  196. className={`col-span-12 lg:col-span-6 xl:col-span-6 ${i > 2 && `sm:hidden lg:block`}`}
  197. key={i}
  198. >
  199. <ExampleCard {...example} showProducts />
  200. </div>
  201. )
  202. })}
  203. </div>
  204. </SectionContainer>
  205. )
  206. }
  207. export default BuiltWithSupabase