Hero.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <div class="flex flex-col p-6 relative">
  3. <div class="flex flex-col mt-16 items-center justify-center">
  4. <h2
  5. class="
  6. font-bold
  7. text-accent text-center
  8. leading-none
  9. tracking-tighter
  10. text-4xl
  11. md:text-6xl
  12. lg:text-8xl
  13. "
  14. >
  15. Open Source
  16. </h2>
  17. <h3
  18. class="
  19. font-extrabold
  20. my-4
  21. text-center text-secondaryDark
  22. leading-none
  23. tracking-tighter
  24. text-3xl
  25. md:text-4xl
  26. lg:text-5xl
  27. "
  28. >
  29. API Development Ecosystem
  30. </h3>
  31. <p class="my-4 text-lg text-center max-w-2xl">
  32. Thousands of developers and companies build, ship, and maintain their
  33. APIs on Hoppscotch — the transparent and most flexible API development
  34. ecosystem in the world.
  35. </p>
  36. <div class="flex space-x-4 my-8 justify-center items-center">
  37. <ButtonPrimary
  38. label="Get Started"
  39. svg="arrow-right"
  40. reverse
  41. large
  42. @click.native="showLogin = true"
  43. />
  44. <ButtonSecondary
  45. to="https://github.com/hoppscotch/hoppscotch"
  46. blank
  47. filled
  48. outline
  49. label="GitHub"
  50. svg="github"
  51. large
  52. :shortcut="['30k Stars']"
  53. />
  54. </div>
  55. <LandingStats />
  56. <LandingScreenshot />
  57. </div>
  58. <FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
  59. </div>
  60. </template>
  61. <script>
  62. import { defineComponent } from "@nuxtjs/composition-api"
  63. export default defineComponent({
  64. data() {
  65. return {
  66. showLogin: false,
  67. }
  68. },
  69. })
  70. </script>