order-detail.tsx 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. import React from "react";
  2. import {
  3. ComputerDesktopSolid,
  4. CurrencyDollarSolid,
  5. SquaresPlusSolid,
  6. } from "@medusajs/icons";
  7. import { IconBadge, Heading, Text } from "@medusajs/ui";
  8. const OrderDetailDefault = () => {
  9. return (
  10. <>
  11. <Text size="small" className="mb-6">
  12. You finished the setup guide 🎉 You now have your first order. Feel free
  13. to play around with the order management functionalities, such as
  14. capturing payment, creating fulfillments, and more.
  15. </Text>
  16. <Heading
  17. level="h2"
  18. className="text-ui-fg-base pt-6 border-t border-ui-border-base border-solid mb-2"
  19. >
  20. Start developing with Medusa
  21. </Heading>
  22. <Text size="small">
  23. Medusa is a completely customizable commerce solution. We've curated
  24. some essential guides to kickstart your development with Medusa.
  25. </Text>
  26. <div className="grid grid-cols-3 gap-4 mt-6 pb-6 mb-6 border-b border-ui-border-base border-solid auto-rows-fr">
  27. <a
  28. href="https://docs.medusajs.com/starters/nextjs-medusa-starter?path=simple-quickstart"
  29. target="_blank"
  30. className="flex"
  31. >
  32. <div className="p-3 rounded-rounded flex items-start bg-ui-bg-subtle shadow-elevation-card-rest hover:shadow-elevation-card-hover">
  33. <div className="mr-4">
  34. <div className="bg-ui-bg-base rounded-lg border border-ui-border-strong p-1 flex justify-center items-center">
  35. <IconBadge>
  36. <CurrencyDollarSolid />
  37. </IconBadge>
  38. </div>
  39. </div>
  40. <div>
  41. <Text
  42. size="xsmall"
  43. weight="plus"
  44. className="mb-1 text-ui-fg-base"
  45. >
  46. Start Selling in 3 Steps
  47. </Text>
  48. <Text size="small">
  49. Go live with a backend, an admin, and a storefront by following
  50. these three steps.
  51. </Text>
  52. </div>
  53. </div>
  54. </a>
  55. <a
  56. href="https://docs.medusajs.com/recipes/?ref=onboarding"
  57. target="_blank"
  58. className="flex"
  59. >
  60. <div className="p-3 rounded-rounded items-start flex bg-ui-bg-subtle shadow-elevation-card-rest hover:shadow-elevation-card-hover">
  61. <div className="mr-4">
  62. <div className="bg-ui-bg-base rounded-lg border border-ui-border-strong p-1 flex justify-center items-center">
  63. <IconBadge>
  64. <ComputerDesktopSolid />
  65. </IconBadge>
  66. </div>
  67. </div>
  68. <div>
  69. <Text
  70. size="xsmall"
  71. weight="plus"
  72. className="mb-1 text-ui-fg-base"
  73. >
  74. Build Custom Use Cases
  75. </Text>
  76. <Text size="small">
  77. Build a marketplace, subscription-based purchases,
  78. or your custom use-cases.
  79. </Text>
  80. </div>
  81. </div>
  82. </a>
  83. <a
  84. href="https://docs.medusajs.com/plugins/overview?ref=onboarding"
  85. target="_blank"
  86. className="flex"
  87. >
  88. <div className="p-3 rounded-rounded flex items-start bg-ui-bg-subtle shadow-elevation-card-rest hover:shadow-elevation-card-hover">
  89. <div className="mr-4">
  90. <div className="bg-ui-bg-base rounded-lg border border-ui-border-strong p-1 flex justify-center items-center">
  91. <IconBadge>
  92. <SquaresPlusSolid />
  93. </IconBadge>
  94. </div>
  95. </div>
  96. <div>
  97. <Text
  98. size="xsmall"
  99. weight="plus"
  100. className="mb-1 text-ui-fg-base"
  101. >
  102. Install Plugins
  103. </Text>
  104. <Text size="small">
  105. Check out available plugins for payment, fulfillment,
  106. search, and more.
  107. </Text>
  108. </div>
  109. </div>
  110. </a>
  111. </div>
  112. <div>
  113. You can find more useful guides in{" "}
  114. <a
  115. href="https://docs.medusajs.com/?ref=onboarding"
  116. target="_blank"
  117. className="text-ui-fg-interactive hover:text-ui-fg-interactive-hover"
  118. >
  119. our documentation
  120. </a>
  121. . If you like Medusa, please{" "}
  122. <a
  123. href="https://github.com/medusajs/medusa"
  124. target="_blank"
  125. className="text-ui-fg-interactive hover:text-ui-fg-interactive-hover"
  126. >
  127. star us on GitHub
  128. </a>
  129. .
  130. </div>
  131. </>
  132. );
  133. };
  134. export default OrderDetailDefault;