index.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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-3 order-md-2">
  14. <img class="img-fluid mb-3 mb-md-0" src="favicon.png">
  15. </div>
  16. <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
  17. <h1 class="mb-3 bd-text-purple-bright">
  18. {{ site.title }}
  19. </h1>
  20. <p class="lead">
  21. {{ site.description }}
  22. </p>
  23. <div class="row mx-n2">
  24. <div class="col-md px-2">
  25. <a href="{{ site.baseurl }}/docs/getting-started/introduction/"
  26. class="btn btn-lg btn-bd-primary w-100 mb-3">
  27. Getting Started
  28. </a>
  29. </div>
  30. <div class="col-md px-2">
  31. <a href="{{ site.baseurl }}/docs/getting-started/download/"
  32. class="btn btn-lg btn-outline-secondary w-100 mb-3">
  33. Download
  34. </a>
  35. </div>
  36. </div>
  37. <p class="text-muted">
  38. Currently{{ site.current_version }}
  39. </p>
  40. {% include ads.html %}
  41. </div>
  42. </div>
  43. </div>
  44. </main>
  45. <div class="masthead-followup row m-0 border border-white">
  46. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  47. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  48. <h3>{% include icons/import.svg width="32" height="32" class="text-primary mb-2" %}Installation</h3>
  49. <p>Include Bootstrap Table source CSS and JavaScript files via npm or yarn.</p>
  50. {% highlight javascript %}
  51. npm install bootstrap-table
  52. yarn add bootstrap-table
  53. {% endhighlight %}
  54. <hr class="half-rule">
  55. <a class="btn btn-outline-primary"
  56. href="{{ site.baseurl }}/docs/getting-started/download/">
  57. Read installation docs
  58. </a>
  59. </div>
  60. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  61. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  62. <h3>{% include icons/download.svg width="32" height="32" class="text-primary mb-2" %}CDN</h3>
  63. <p>When you only need to include Bootstrap Table’s compiled CSS or JS, use <a href="https://cdn.jsdelivr.net/npm/bootstrap-table@{{ site.current_version }}/dist/">UNPKG</a>.</p>
  64. {% highlight html %}
  65. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-table@{{ site.current_version }}/dist/bootstrap-table.min.css">
  66. <script src="https://cdn.jsdelivr.net/npm/bootstrap-table@{{ site.current_version }}/dist/bootstrap-table.min.js"></script>
  67. {% endhighlight %}
  68. <hr class="half-rule">
  69. <a href="{{ site.baseurl }}/docs/api" class="btn btn-outline-primary">
  70. Explore the docs
  71. </a>
  72. </div>
  73. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  74. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  75. <h3>{% include icons/lightning.svg width="32" height="32" class="text-primary mb-2" %}Examples</h3>
  76. <p>
  77. The examples of bootstrap table.
  78. </p>
  79. <hr class="half-rule">
  80. <a href="https://examples.bootstrap-table.com" class="btn btn-outline-primary">
  81. Browse Examples
  82. </a>
  83. </div>
  84. {% include supports.html %}
  85. {% include subscribe.html %}
  86. </div>