index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. ---
  2. layout: home
  3. redirect_from:
  4. - "/zh-cn/"
  5. - "/es/"
  6. - "/home/"
  7. - "/zh-cn/home/"
  8. - "/es/home/"
  9. ---
  10. <main class="bd-masthead" id="content" role="main">
  11. <div class="container">
  12. <div class="row align-items-center">
  13. <div class="col-4 mx-auto col-md-4 order-md-2">
  14. <img class="img-fluid mb-3 mb-md-0" src="favicon.png">
  15. {% include subscribe.html %}
  16. </div>
  17. <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
  18. <h1 class="mb-3 bd-text-purple-bright">
  19. {{ site.title }}
  20. </h1>
  21. <p class="lead">
  22. {{ site.description }}
  23. </p>
  24. <p class="lead mb-4">
  25. Bootstrap Table has been designed to reduce development time and to require no specific knowledge from developers. It is both featherweight and feature-rich.
  26. </p>
  27. <div class="row mx-n2">
  28. <div class="col-md px-2">
  29. <a href="{{ site.baseurl }}/docs/getting-started/introduction/"
  30. class="btn btn-lg btn-bd-primary w-100 mb-3">
  31. Getting Started
  32. </a>
  33. </div>
  34. <div class="col-md px-2">
  35. <a href="{{ site.baseurl }}/docs/getting-started/download/"
  36. class="btn btn-lg btn-outline-secondary w-100 mb-3">
  37. Download
  38. </a>
  39. </div>
  40. </div>
  41. <p class="text-muted">
  42. Currently{{ site.current_version }}
  43. </p>
  44. {% include ads.html %}
  45. </div>
  46. </div>
  47. </div>
  48. </main>
  49. <div class="masthead-followup row m-0 border border-white">
  50. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  51. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  52. {% include icons/import.svg width="32" height="32" class="text-primary mb-2" %}
  53. <h3>Installation</h3>
  54. <p>Include Bootstrap Table source CSS and JavaScript files via npm or Bower.</p>
  55. {% highlight sh %}
  56. npm install bootstrap-table
  57. {% endhighlight %}
  58. {% highlight sh %}
  59. bower install bootstrap-table
  60. {% endhighlight %}
  61. <hr class="half-rule">
  62. <a class="btn btn-outline-primary"
  63. href="{{ site.baseurl }}/docs/getting-started/download/">
  64. Read installation docs
  65. </a>
  66. </div>
  67. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  68. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  69. {% include icons/download.svg width="32" height="32" class="text-primary mb-2" %}
  70. <h3>CDN</h3>
  71. <p>When you only need to include Bootstrap Table’s compiled CSS or JS, you can use <a href="https://unpkg.com/bootstrap-table@{{ site.current_version }}/dist/">UNPKG</a>.</p>
  72. {% highlight html %}
  73. <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@{{ site.current_version }}/dist/bootstrap-table.min.css">
  74. <script src="https://unpkg.com/bootstrap-table@{{ site.current_version }}/dist/bootstrap-table.min.js"></script>
  75. {% endhighlight %}
  76. <hr class="half-rule">
  77. <a href="{{ site.baseurl }}/docs/api" class="btn btn-outline-primary">
  78. Explore the docs
  79. </a>
  80. </div>
  81. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  82. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  83. {% include icons/lightning.svg width="32" height="32" class="text-primary mb-2" %}
  84. <h3>Examples</h3>
  85. <p>
  86. The examples of bootstrap table.
  87. </p>
  88. <hr class="half-rule">
  89. <a href="https://examples.bootstrap-table.com" class="btn btn-outline-primary">
  90. Browse Examples
  91. </a>
  92. </div>
  93. {% include opencollective.html %}
  94. </div>