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.

96 lines
3.8 KiB

  1. var user = {
  2. username: "mark_zuckerberg",
  3. name: "Mark",
  4. lastname: "Zuckerberg",
  5. description: "Hi all, I'm here to write decentralized blog posts.",
  6. twitter: "arnaucode",
  7. github: "arnaucode",
  8. posts: [{
  9. title: "This is the second post",
  10. subtitle: "this is the subtitle of the second post",
  11. img: "https://cdn-images-1.medium.com/fit/t/800/240/1*4_E6m7J0112DBi1Lmdniiw.png",
  12. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  13. user: {
  14. id: "5a732c952f009b384d5effb7"
  15. }
  16. },
  17. {
  18. title: "This is the first post",
  19. subtitle: "this is the subtitle of the first post",
  20. img: "https://bootstrap-themes.github.io/application/assets/img/unsplash_1.jpg",
  21. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  22. user: {
  23. id: "5a732c952f009b384d5effb7"
  24. }
  25. },
  26. {
  27. title: "Thinking about python development",
  28. subtitle: "this is the subtitle of the second post",
  29. img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
  30. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  31. user: {
  32. id: "5a732c952f009b384d5effb7"
  33. }
  34. },
  35. {
  36. title: "Thinking about G",
  37. subtitle: "this is the subtitle of the first post",
  38. img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
  39. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  40. user: {
  41. id: "5a732c952f009b384d5effb7"
  42. }
  43. }
  44. ]
  45. };
  46. var featured_posts = [{
  47. title: "Thinking about python development",
  48. subtitle: "this is the subtitle of the second post",
  49. img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
  50. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  51. user: {
  52. id: "5a732c952f009b384d5effb7"
  53. }
  54. },
  55. {
  56. title: "Thinking about G",
  57. subtitle: "this is the subtitle of the first post",
  58. img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
  59. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  60. user: {
  61. id: "5a732c952f009b384d5effb7"
  62. }
  63. }
  64. ];
  65. var posts = [{
  66. title: "This is the second post",
  67. subtitle: "this is the subtitle of the second post",
  68. img: "https://cdn-images-1.medium.com/fit/t/800/240/1*4_E6m7J0112DBi1Lmdniiw.png",
  69. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  70. user: {
  71. id: "5a732c952f009b384d5effb7"
  72. }
  73. },
  74. {
  75. title: "This is the first post",
  76. subtitle: "this is the subtitle of the first post",
  77. img: "https://bootstrap-themes.github.io/application/assets/img/unsplash_1.jpg",
  78. content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
  79. user: {
  80. id: "5a732c952f009b384d5effb7"
  81. }
  82. },
  83. {
  84. title: "Thinking about python development",
  85. subtitle: "this is the subtitle of the second post",
  86. img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
  87. content: "Some quick example text to build on the card title and make up the bulk of the card's content."
  88. },
  89. {
  90. title: "Thinking about G",
  91. subtitle: "this is the subtitle of the first post",
  92. img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
  93. content: "Some quick example text to build on the card title and make up the bulk of the card's content."
  94. }
  95. ];