Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

119 lignes
4.8KB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8. <title>Rohan Verma</title>
  9. <!-- Bootstrap css-->
  10. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  11. <!--Google Icon Font-->
  12. <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  13. <!-- Propeller css -->
  14. <link href="bower_components/propeller/dist/css/propeller.min.css" rel="stylesheet">
  15. <!-- Fontawesome css -->
  16. <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  17. <link href="css/style.css" rel="stylesheet">
  18. </head>
  19. <body>
  20. <div class="menu pmd-floating-action" role="navigation">
  21. <button class="btn pmd-btn-fab pmd-ripple-effect btn-success btn-white" type="button"
  22. onclick="location.href='mailto:[email protected]?Subject=Hello%20Rohan!'">
  23. <i class="material-icons pmd-sm">chat</i>
  24. </button>
  25. </div>
  26. <div class="pmd-card-my">
  27. <!-- Default card starts -->
  28. <div class="pmd-card pmd-card-default pmd-z-depth-2">
  29. <!-- Card header -->
  30. <div class="pmd-card-title">
  31. <div class="center-block" style="width: 128px;">
  32. <img src="https://avatars2.githubusercontent.com/u/952036?s=512" class="img-circle pmd-z-depth-3" width="128" height="128">
  33. </div>
  34. </div>
  35. <!-- Card body -->
  36. <div class="pmd-card-title">
  37. <h2 class="pmd-card-title-text text-center">Rohan Verma</h2>
  38. <h3 class="pmd-card-subtitle-text text-center">Computer Science and Engineering Undergrad (Graduating 2018)</h3>
  39. </div>
  40. </div>
  41. <!--Default card ends -->
  42. </div>
  43. <div class="pmd-card-my">
  44. <div class="pmd-card pmd-card-default pmd-z-depth-2 pmd-card-custom-form">
  45. <div class="pmd-card-title">
  46. <h2 class="pmd-card-title-text">Profiles</h2>
  47. <!-- <span class="pmd-card-subtitle-text">Secondary text</span> -->
  48. </div>
  49. <div class="pmd-card pmd-card-default pmd-z-depth-0">
  50. <button class="btn pmd-btn-flat btn-primary btn-block pmd-ripple-effect" type="button" onclick="window.open('http://linkedin.com/in/rhnvrm')">Linkedin</button>
  51. <button class="btn pmd-btn-flat btn-primary btn-block pmd-ripple-effect" type="button" onclick="window.open('http://github.com/rhnvrm/')">Github</button>
  52. <button class="btn pmd-btn-flat btn-primary btn-block pmd-ripple-effect" type="button" onclick="window.open('http://twitter.com/rhnvrm/')">Twitter</button>
  53. <button class="btn pmd-btn-flat btn-primary btn-block pmd-ripple-effect" type="button" onclick="window.open('http://rohanverma.net/blog/')">Blog</button>
  54. <button class="btn pmd-btn-flat btn-primary btn-block pmd-ripple-effect" type="button" onclick="window.open('http://rohanverma.net/blog/wp-json/wp/v2/posts?categories=21')">Projects</button>
  55. </div>
  56. </div>
  57. </div>
  58. <!-- Card header -->
  59. <div class="pmd-card-my">
  60. <div class="pmd-card pmd-card-default pmd-z-depth-2 pmd-card-custom-form">
  61. <div class="pmd-card-title">
  62. <h2 class="pmd-card-title-text">My Projects</h2>
  63. <!-- <span class="pmd-card-subtitle-text">Secondary text</span> -->
  64. </div>
  65. <div class="pmd-card pmd-card-default pmd-z-depth-0">
  66. <ul class="list-group pmd-list pmd-card-list pmd-list-icon" id="project-list">
  67. <li class="list-group-item pmd-ripple-effect btn-default" onclick="window.open('http://rohanverma.net/blog/wp-json/wp/v2/posts?categories=21')">
  68. <span class="pmd-card-subtitle-text">Loading</span><br>
  69. <div class="pmd-card-body">
  70. Hold on! I'm fetching my projects...
  71. </div>
  72. </li>
  73. </ul>
  74. </div>
  75. </div>
  76. </div>
  77. <!-- jQuery before Propeller.js -->
  78. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  79. <!-- Include all compiled plugins (below), or include individual files as needed -->
  80. <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  81. <script type="text/javascript" src="bower_components/propeller/dist/js/propeller.min.js"></script>
  82. <!-- Fetch posts from blog and display here -->
  83. <script>
  84. $.get("http://rohanverma.net/blog/wp-json/wp/v2/posts?categories=21", function (data) {
  85. $("#project-list").html("")
  86. data.forEach(element => {
  87. var title = element.title.rendered;
  88. var link = element.link;
  89. var template = `
  90. <li class="list-group-item pmd-ripple-effect btn-default" onclick="window.open('${link}')">
  91. <span class="pmd-card-subtitle-text">${title}</span><br>
  92. </li>
  93. `;
  94. console.log(element.title.rendered)
  95. $("#project-list").append(template);
  96. });
  97. });
  98. </script>
  99. </body>
  100. </html>