loop-guides.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. ---
  2. layout: default
  3. ---
  4. {% include masthead/masthead-page.html %}
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-8">
  8. <!-- Show paginated posts for the specified collection -->
  9. {% for guide in site.guides %}
  10. {% assign timeframe = 1209600 %}
  11. {% assign post_in_seconds = guide.date | date: "%s" | plus: 0 %}
  12. {% assign recent_posts = "now" | date: "%s" | minus: timeframe %}
  13. {% if guide.categories contains 'beginner' %}
  14. <div class="card border-0 shadow mb-5 d-block guide-preview">
  15. <div class="card-body d-flex p-0 align-items-stretch">
  16. <div class="p-4 bg-guide text-white d-flex align-items-center justify-content-center guide-preview-category">
  17. <div class="text-center">
  18. <i class="fal fa-smile-wink fa-3x"></i>
  19. <div class="mt-2 small">
  20. Beginner Friendly
  21. </div>
  22. </div>
  23. </div>
  24. <div class="p-4 d-flex align-items-center w-100">
  25. <div class="w-100">
  26. {% if post_in_seconds > recent_posts %}
  27. <div class="badge badge-pill badge-warning mb-1">New!</div>
  28. {% endif %}
  29. <a href="{{ guide.src }}" class="d-block text-guide guide-preview-title">{{ guide.title }}</a>
  30. <div class="mb-4">{{ guide.description }}</div>
  31. <a href="{{ guide.src }}" class="btn btn-sm btn-guide">Learn More →</a>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. {% endif %}
  37. {% if guide.categories contains 'development' %}
  38. <div class="card border-0 shadow mb-5 d-block guide-preview">
  39. <div class="card-body d-flex p-0 align-items-stretch">
  40. <div class="p-4 bg-template text-white d-flex align-items-center justify-content-center guide-preview-category">
  41. <div class="text-center">
  42. <i class="fal fa-code fa-3x"></i>
  43. <div class="mt-2 small">
  44. Development &amp; Code
  45. </div>
  46. </div>
  47. </div>
  48. <div class="p-4 d-flex align-items-center w-100">
  49. <div class="w-100">
  50. {% if post_in_seconds > recent_posts %}
  51. <div class="badge badge-pill badge-warning mb-1">New!</div>
  52. {% endif %}
  53. <a href="{{ guide.src }}" class="d-block text-template guide-preview-title">{{ guide.title }}</a>
  54. <div class="mb-4">{{ guide.description }}</div>
  55. <a href="{{ guide.src }}" class="btn btn-sm btn-template">Learn More →</a>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. {% endif %}
  61. {% if guide.categories contains 'design' %}
  62. <div class="card border-0 shadow mb-5 d-block guide-preview">
  63. <div class="card-body d-flex p-0 align-items-stretch">
  64. <div class="p-4 bg-theme text-white d-flex align-items-center justify-content-center guide-preview-category">
  65. <div class="text-center">
  66. <i class="fal fa-paint-brush-alt fa-3x"></i>
  67. <div class="mt-2 small">
  68. Design
  69. </div>
  70. </div>
  71. </div>
  72. <div class="p-4 d-flex align-items-center w-100">
  73. <div class="w-100">
  74. {% if post_in_seconds > recent_posts %}
  75. <div class="badge badge-pill badge-warning mb-1">New!</div>
  76. {% endif %}
  77. <a href="{{ guide.src }}" class="d-block text-theme guide-preview-title">{{ guide.title }}</a>
  78. <div class="mb-4">{{ guide.description }}</div>
  79. <a href="{{ guide.src }}" class="btn btn-sm btn-theme">Learn More →</a>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. {% endif %}
  85. {% endfor %}
  86. <div class="card border-0 shadow">
  87. <div class="card-body">
  88. <h5>Is there something you want to learn?</h5>
  89. <p>
  90. More guides are being written! In the meantime, if you have a question or topic you would like to see covered, please share the idea with Start Bootstrap on Twitter!
  91. </p>
  92. <a href="https://twitter.com/SBootstrap" class="btn btn-sm btn-twitter"><i class="fab fa-twitter"></i> Tweet @SBootstrap</a>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="col-lg-4">
  97. <div class="card border-0 shadow mb-5">
  98. <div class="card-body">
  99. <h4 class="mb-1"><i class="fal fa-graduation-cap text-guide"></i> Learn to Code!</h4>
  100. <p class="mb-0 small">Courses for beginners, experts, and everyone in-between from the best learning platforms on the web!</p>
  101. </div>
  102. </div>
  103. <!-- Pluralsight Courses -->
  104. <!-- Pending Approval -->
  105. <!-- <div class="card-affiliate bg-pluralsight card border-0 shadow mb-5">
  106. <div class="bg-dark card-affiliate-logo rounded shadow p-3">
  107. <img src="/assets/img/affiliates/pluralsight-logo.png" alt="">
  108. </div>
  109. <div class="card-body">
  110. <div class="card-affiliate-heading">Recommended Paths:</div>
  111. </div>
  112. <div class="list-group list-group-flush">
  113. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-html5"></i> <span>HTML</span></a>
  114. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-css3-alt"></i> <span>CSS</span></a>
  115. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-js"></i> <span>JavaScript</span></a>
  116. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-angular"></i> <span>Angular</span></a>
  117. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-react"></i> <span>React</span></a>
  118. <a target="_blank" rel="nofollow" href="#" class="list-group-item"><i class="fab fa-fw mr-2 fa-node"></i> <span>Node.js</span></a>
  119. </div>
  120. </div> -->
  121. <!-- Treehouse Courses -->
  122. <!-- Pending Approval -->
  123. <!-- <div class="card-affiliate card border-0 shadow mb-5">
  124. <div class="bg-treehouse card-affiliate-logo rounded shadow p-3">
  125. <img src="/assets/img/affiliates/treehouse-logo.png" alt="">
  126. </div>
  127. <div class="card-body">
  128. <div class="card-affiliate-heading text-black-50">Recommended Programs:</div>
  129. </div>
  130. <div class="list-group list-group-flush">
  131. <a target="_blank" rel="nofollow" href="#" class="list-group-item list-group-item-action">
  132. <div class="treehouse-title">Front End Web Development</div>
  133. <div class="treehouse-description mb-2">Learn how to build basic websites and user experiences with HTML, CSS, and JavaScript.</div>
  134. <span class="badge bg-treehouse text-white badge-pill">Free Trial!</span>
  135. </a>
  136. <a target="_blank" rel="nofollow" href="#" class="list-group-item list-group-item-action">
  137. <div class="treehouse-title">Full Stack JavaScript</div>
  138. <div class="treehouse-description mb-2">Learn how to build interactive websites and powerful web applications with JavaScript, Development Tools, Databases, HTML, and more.</div>
  139. <span class="badge bg-treehouse text-white badge-pill">Free Trial!</span>
  140. </a>
  141. </div>
  142. </div> -->
  143. <!-- Codeacademy Courses -->
  144. <div class="card-affiliate card border-0 shadow mb-5">
  145. <div class="bg-white card-affiliate-logo rounded shadow p-3">
  146. <img src="/assets/img/affiliates/codeacademy-logo.svg" alt="Codeacademy Logo">
  147. </div>
  148. <div class="card-body">
  149. <div class="card-affiliate-heading text-black-50">Recommended Courses:</div>
  150. </div>
  151. <div class="list-group list-group-flush">
  152. <a target="_blank" rel="nofollow" href="https://www.codecademy.com/catalog/language/html-css" class="list-group-item list-group-item-action">
  153. <div class="treehouse-title">HTML &amp; CSS</div>
  154. <div class="treehouse-description mb-2">HTML is the foundation behind all web pages. It's used to add structure and form to text, images, and more. CSS is the language used to style HTML content.</div>
  155. </a>
  156. <a target="_blank" rel="nofollow" href="https://www.codecademy.com/catalog/language/javascript" class="list-group-item list-group-item-action">
  157. <div class="treehouse-title">JavaScript</div>
  158. <div class="treehouse-description mb-2">JavaScript is the programming language of the web. You can use it to add dynamic behavior, store information, and handle requests and responses on a website.</div>
  159. </a>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. <!-- /.row -->
  165. </div>
  166. <!-- /.container -->
  167. {{ content }}