list.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {{ define "main" }}
  2. {{ partial "page-header.html" . }}
  3. <section class="section">
  4. <div class="container pricing-container">
  5. <div class="row justify-content-center align-items-center">
  6. <div class="col-lg-4 mb-5 mb-lg-0 px-3 pl-3 px-lg-0">
  7. {{ with .Params.basic }}
  8. <div class="card shadow">
  9. <div class="card-body text-center py-5">
  10. <h3 class="mb-4">{{ .name | markdownify }}</h3>
  11. <!-- <span class="price">{{ .price }}</span><span>/{{ .price_per }}</span> -->
  12. <span class="mr-2" style="font-size:1.4rem;">{{ .fee | markdownify }}</span> <span class="price">{{ .price }}</span>
  13. <p class="lead">{{ .info | markdownify }}</p>
  14. <ul class="list-unstyled mb-5">
  15. {{ range .services }}
  16. <li>{{ . | markdownify }}</li>
  17. {{ end }}
  18. </ul>
  19. {{ if .button.enable }}
  20. {{ with .button }}
  21. <a href="{{ .link | absURL }}" class="btn btn-outline-primary">{{ .label }}</a>
  22. {{ end }}
  23. {{ end }}
  24. </div>
  25. </div>
  26. {{ end }}
  27. </div>
  28. <div class="col-lg-4 col-recommended">
  29. {{ with .Params.professional }}
  30. <div class="card border-0 shadow-lg">
  31. <div class="card-body text-center py-5">
  32. <h3 class="mb-4">{{ .name | markdownify }}</h3>
  33. <!-- <span class="price">{{ .price }}</span><span>/{{ .price_per }}</span> -->
  34. <span class="mr-2" style="font-size:1.4rem;">{{ .fee | markdownify }}</span> <span class="price">{{ .price }}</span>
  35. <p class="lead">{{ .info | markdownify }}</p>
  36. <ul class="list-unstyled mb-5">
  37. {{ range .services }}
  38. <li>{{ . | markdownify }}</li>
  39. {{ end }}
  40. </ul>
  41. {{ if .button.enable }}
  42. {{ with .button }}
  43. <a href="{{ .link | absURL }}" class="btn btn-primary">{{ .label }}</a>
  44. {{ end }}
  45. {{ end }}
  46. </div>
  47. </div>
  48. {{ end }}
  49. </div>
  50. <div class="col-lg-4 mb-5 mb-lg-0 px-3 pr-3 px-lg-0">
  51. {{ with .Params.business }}
  52. <div class="card shadow">
  53. <div class="card-body text-center py-5">
  54. <h3 class="mb-4">{{ .name | markdownify }}</h3>
  55. <!-- <span class="price">{{ .price }}</span><span>/{{ .price_per }}</span> -->
  56. <span class="mr-2" style="font-size:1.4rem;">{{ .fee | markdownify }}</span> <span class="price">{{ .price }}</span>
  57. <p class="lead">{{ .info | markdownify }}</p>
  58. <ul class="list-unstyled mb-5">
  59. {{ range .services }}
  60. <li>{{ . | markdownify }}</li>
  61. {{ end }}
  62. </ul>
  63. {{ if .button.enable }}
  64. {{ with .button }}
  65. <a href="{{ .link | absURL }}" class="btn btn-outline-primary">{{ .label }}</a>
  66. {{ end }}
  67. {{ end }}
  68. </div>
  69. </div>
  70. {{ end }}
  71. </div>
  72. </div>
  73. </div>
  74. </section>
  75. <!-- call to action -->
  76. {{ if .Params.call_to_action.enable }}
  77. {{ with .Params.call_to_action }}
  78. <section class="section">
  79. <div class="container section shadow rounded-lg px-4">
  80. <div class="row align-items-center justify-content-center text-center text-md-left">
  81. <div class="col-lg-4 col-md-5 mb-4 mb-md-0">
  82. <img src="{{ .image | absURL }}" class="img-fluid">
  83. </div>
  84. <div class="col-lg-5 col-md-6">
  85. <h2 class="section-title action-title">{{ .title | markdownify }}</h2>
  86. {{with .content }}<p class="mb-4">{{ . | markdownify }}</p>{{ end }}
  87. {{ if .button.enable }}
  88. {{ with .button }}
  89. <a href="{{ .link | absURL }}" class="btn btn-primary">{{ .label }}</a>
  90. {{ end }}
  91. {{ end }}
  92. </div>
  93. </div>
  94. </div>
  95. </section>
  96. {{ end }}
  97. {{ end }}
  98. <!-- /call to action -->
  99. {{ end }}