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.

80 lines
2.9 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <title>Tovi Jaeschke's Homepage</title>
  6. <link rel="stylesheet" type="text/css" href="css/main.css">
  7. <link rel="stylesheet" type="text/css" href="css/post.css">
  8. <link href='https://fonts.googleapis.com/css?family=Average|Montserrat' rel='stylesheet' type='text/css'>
  9. <link rel="stylesheet" href="css/prism.css">
  10. <script src="https://www.google.com/recaptcha/api.js"></script>
  11. <script src="js/prism.js"></script>
  12. <script src="js/code_resize.js"></script>
  13. <script>
  14. function onSubmit(token) {
  15. document.getElementById("comment-form").submit();
  16. }
  17. </script>
  18. </head>
  19. <body>
  20. <?php include 'php/post.php';?>
  21. <header>
  22. <a href="/"><h2 href="/">Tovi Jaeschke</h2></a>
  23. <div class="nav-toggle">
  24. <div class="nav-toggle-bar"></div>
  25. </div>
  26. <div class="links">
  27. <ul>
  28. <a href="/personal.html"><li>Personal</li></a>
  29. <?php getSubject(); ?>
  30. <a href="/hireme.html"><li>Hire Me</li></a>
  31. <a href="/links.html"><li>Links</li></a>
  32. </ul>
  33. </div>
  34. <ul class="pc-links">
  35. <?php getSubject(); ?>
  36. <a href="/personal.html"><li>Personal</li></a>
  37. <a href="/hireme.html"><li>Hire Me</li></a>
  38. </ul>
  39. </header>
  40. <div class="container">
  41. <div class="left-bar">
  42. <p>Links:</p>
  43. <ul class="expand-links">
  44. <a href="mailto:tovi@tovijaeschke.xyz"><li>Email</li></a>
  45. <a href="https://git.tovijaeschke.xyz"><li>Git</li></a>
  46. <a href="https://gitlab.com/tovijaeschke"><li>Gitlab</li></a>
  47. <a href="/static/Resume.pdf"><li>Resume</li></a>
  48. <a href="https://demos.tovijaeschke.xyz/"><li>Portfolio</li></a>
  49. </ul>
  50. <p>Recent posts:</p>
  51. <ul>
  52. <?php include 'php/recent-posts.php';?>
  53. </ul>
  54. </div>
  55. <div class="main">
  56. <?php getBody(); ?>
  57. <div class="comments">
  58. <h3 class="comment-title">Comments</h3>
  59. <form id="comment-form" class="comment-form" action="php/add-comment.php" method="post">
  60. <label for="email">Name</label><br>
  61. <input type="text" id="email" name="email" required placeholder="1337 H4X0R"><br>
  62. <label for="comment">Comment</label><br>
  63. <textarea id="comment" name="comment" value="comment" required placeholder="Dank meme bro"></textarea><br>
  64. <input type="text" name="post_id" value="<?php getPostId(); ?>" style="display: none;">
  65. <button class="g-recaptcha"
  66. data-sitekey="6Lf30cQZAAAAAKb9cV9A_q0v4tP_hQkLFA0hs_dS"
  67. data-callback='onSubmit'
  68. data-action='submit'
  69. type="submit">Submit</button>
  70. </form>
  71. <?php include 'php/comments.php';?>
  72. </div>
  73. </div>
  74. </div>
  75. <footer>
  76. <a href="mailto:tovi@tovijaeschke.xyz">tovi@tovijaeschke.xyz</a>
  77. <p>Last updated: <?php lastUpdate();?></p>
  78. </footer>
  79. </body>
  80. </html>