contributors.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <template>
  2. <div>
  3. <p class="info">
  4. {{ $t("donate_info1") }}
  5. </p>
  6. <p class="info">
  7. {{ $t("donate_info2") }}
  8. </p>
  9. <div class="row-wrapper">
  10. <span>
  11. <a
  12. href="https://github.com/sponsors/hoppscotch"
  13. target="_blank"
  14. rel="noopener"
  15. v-tooltip.right="$t('recurring')"
  16. >
  17. <button class="icon">
  18. <i class="material-icons">
  19. <svg
  20. xmlns="http://www.w3.org/2000/svg"
  21. width="24"
  22. height="24"
  23. viewBox="0 0 24 24"
  24. class="material-icons"
  25. >
  26. <path
  27. d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
  28. />
  29. </svg>
  30. </i>
  31. <span>GitHub Sponsors</span>
  32. </button>
  33. </a>
  34. </span>
  35. </div>
  36. <div class="row-wrapper">
  37. <span>
  38. <a
  39. href="https://opencollective.com/hoppscotch"
  40. target="_blank"
  41. rel="noopener"
  42. v-tooltip.right="$t('one_time_recurring')"
  43. >
  44. <button class="icon">
  45. <i class="material-icons">donut_large</i>
  46. <span>{{ $t("open_collective") }}</span>
  47. </button>
  48. </a>
  49. </span>
  50. </div>
  51. <div>
  52. <a
  53. href="https://www.patreon.com/liyasthomas"
  54. target="_blank"
  55. rel="noopener"
  56. v-tooltip.right="$t('recurring')"
  57. >
  58. <button class="icon">
  59. <i class="material-icons">local_parking</i>
  60. <span>{{ $t("patreon") }}</span>
  61. </button>
  62. </a>
  63. </div>
  64. <div>
  65. <a
  66. href="https://www.paypal.me/liyascthomas"
  67. target="_blank"
  68. rel="noopener"
  69. v-tooltip.right="$t('one_time')"
  70. >
  71. <button class="icon">
  72. <i class="material-icons">payment</i>
  73. <span>{{ $t("paypal") }}</span>
  74. </button>
  75. </a>
  76. </div>
  77. <hr />
  78. <h3 class="title">Financial Contributors</h3>
  79. <p class="info">
  80. Become a financial contributor and help us sustain our community.
  81. <a
  82. class="link"
  83. target="_blank"
  84. rel="noopener"
  85. href="https://opencollective.com/hoppscotch/contribute"
  86. >Contribute</a
  87. >.
  88. </p>
  89. <h3 class="title">Organizations</h3>
  90. <p class="info">
  91. Support this project with your organization. Your logo will show up here with a link to your
  92. website.
  93. <a
  94. class="link"
  95. target="_blank"
  96. rel="noopener"
  97. href="https://opencollective.com/hoppscotch/contribute"
  98. >Contribute</a
  99. >.
  100. </p>
  101. <div class="contributors">
  102. <a href="https://tyk.io" target="_blank" rel="noopener">
  103. <img
  104. style="max-width: 320px"
  105. src="~assets/images/Tyk-side-project-logo-tagline-blk.png"
  106. alt="Tyk Banner"
  107. />
  108. </a>
  109. </div>
  110. <div class="contributors">
  111. <a
  112. target="_blank"
  113. rel="noopener"
  114. href="https://opencollective.com/hoppscotch/organization/0/website"
  115. >
  116. <img src="https://opencollective.com/hoppscotch/organization/0/avatar.svg" />
  117. </a>
  118. <a
  119. target="_blank"
  120. rel="noopener"
  121. href="https://opencollective.com/hoppscotch/organization/1/website"
  122. >
  123. <img src="https://opencollective.com/hoppscotch/organization/1/avatar.svg" />
  124. </a>
  125. <a
  126. target="_blank"
  127. rel="noopener"
  128. href="https://opencollective.com/hoppscotch/organization/2/website"
  129. >
  130. <img src="https://opencollective.com/hoppscotch/organization/2/avatar.svg" />
  131. </a>
  132. <a
  133. target="_blank"
  134. rel="noopener"
  135. href="https://opencollective.com/hoppscotch/organization/3/website"
  136. >
  137. <img src="https://opencollective.com/hoppscotch/organization/3/avatar.svg" />
  138. </a>
  139. <a
  140. target="_blank"
  141. rel="noopener"
  142. href="https://opencollective.com/hoppscotch/organization/4/website"
  143. >
  144. <img src="https://opencollective.com/hoppscotch/organization/4/avatar.svg" />
  145. </a>
  146. <a
  147. target="_blank"
  148. rel="noopener"
  149. href="https://opencollective.com/hoppscotch/organization/5/website"
  150. >
  151. <img src="https://opencollective.com/hoppscotch/organization/5/avatar.svg" />
  152. </a>
  153. <a
  154. target="_blank"
  155. rel="noopener"
  156. href="https://opencollective.com/hoppscotch/organization/6/website"
  157. >
  158. <img src="https://opencollective.com/hoppscotch/organization/6/avatar.svg" />
  159. </a>
  160. <a
  161. target="_blank"
  162. rel="noopener"
  163. href="https://opencollective.com/hoppscotch/organization/7/website"
  164. >
  165. <img src="https://opencollective.com/hoppscotch/organization/7/avatar.svg" />
  166. </a>
  167. <a
  168. target="_blank"
  169. rel="noopener"
  170. href="https://opencollective.com/hoppscotch/organization/8/website"
  171. >
  172. <img src="https://opencollective.com/hoppscotch/organization/8/avatar.svg" />
  173. </a>
  174. <a
  175. target="_blank"
  176. rel="noopener"
  177. href="https://opencollective.com/hoppscotch/organization/9/website"
  178. >
  179. <img src="https://opencollective.com/hoppscotch/organization/9/avatar.svg" />
  180. </a>
  181. </div>
  182. <h3 class="title">Individuals</h3>
  183. <p class="info">
  184. Support this project with your organization. Your logo will show up here with a link to your
  185. website.
  186. <a
  187. class="link"
  188. target="_blank"
  189. rel="noopener"
  190. href="https://opencollective.com/hoppscotch/contribute"
  191. >Contribute</a
  192. >.
  193. </p>
  194. <div class="contributors">
  195. <a
  196. v-for="sponsor in githubSponsors"
  197. :key="sponsor.handle"
  198. :href="sponsor.profile"
  199. target="_blank"
  200. rel="noopener"
  201. >
  202. <img
  203. class="github-sponsor"
  204. :src="`${sponsor.profile}.png?size=128`"
  205. :alt="sponsor.handle"
  206. />
  207. </a>
  208. <a target="_blank" rel="noopener" href="https://opencollective.com/hoppscotch">
  209. <img src="https://opencollective.com/hoppscotch/individuals.svg" />
  210. </a>
  211. </div>
  212. <h3 class="title">Code Contributors</h3>
  213. <p class="info">This project exists thanks to all the people who contribute.</p>
  214. <div class="contributors">
  215. <a
  216. target="_blank"
  217. rel="noopener"
  218. href="https://github.com/liyasthomas/hoppscotch/graphs/contributors"
  219. >
  220. <img src="https://opencollective.com/hoppscotch/contributors.svg" />
  221. </a>
  222. </div>
  223. </div>
  224. </template>
  225. <style scoped lang="scss">
  226. .contributors {
  227. @apply flex;
  228. @apply items-center;
  229. @apply flex-no-wrap;
  230. @apply overflow-auto;
  231. @apply my-4;
  232. }
  233. </style>
  234. <script>
  235. export default {
  236. data() {
  237. return {
  238. githubSponsors: [],
  239. }
  240. },
  241. async mounted() {
  242. this.githubSponsors = await this.$axios
  243. .$get("https://sponsors.trnck.dev/hoppscotch/sponsors")
  244. .then((data) => data.sponsors)
  245. },
  246. }
  247. </script>