Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.2 KiB

  1. const Promise = require('promise');
  2. module.exports=
  3. {
  4. main: function(res)
  5. {
  6. return new Promise(function(resolve, reject)
  7. {
  8. res.write("Popular posts");
  9. resolve();
  10. })
  11. }
  12. };
  13. /*
  14. <!-- Posts -->
  15. <div class="w3-card w3-margin">
  16. <div class="w3-container w3-padding">
  17. <h4>Popular Posts</h4>
  18. </div>
  19. <ul class="w3-ul w3-hoverable w3-white">
  20. <li class="w3-padding-16">
  21. <span class="w3-large">Lorem</span><br>
  22. <span>Sed mattis nunc</span>
  23. </li>
  24. <li class="w3-padding-16">
  25. <span class="w3-large">Ipsum</span><br>
  26. <span>Praes tinci sed</span>
  27. </li>
  28. <li class="w3-padding-16">
  29. <span class="w3-large">Dorum</span><br>
  30. <span>Ultricies congue</span>
  31. </li>
  32. <li class="w3-padding-16 w3-hide-medium w3-hide-small">
  33. <span class="w3-large">Mingsum</span><br>
  34. <span>Lorem ipsum dipsum</span>
  35. </li>
  36. </ul>
  37. </div>
  38. <hr>
  39. */