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

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tovi Jaeschke's Homepage</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/post.css">
<link href='https://fonts.googleapis.com/css?family=Average|Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/prism.css">
<script src="https://www.google.com/recaptcha/api.js"></script>
<script src="js/prism.js"></script>
<script src="js/code_resize.js"></script>
<script>
function onSubmit(token) {
document.getElementById("comment-form").submit();
}
</script>
</head>
<body>
<?php include 'php/post.php';?>
<header>
<a href="/"><h2 href="/">Tovi Jaeschke</h2></a>
<div class="nav-toggle">
<div class="nav-toggle-bar"></div>
</div>
<div class="links">
<ul>
<a href="/personal.html"><li>Personal</li></a>
<?php getSubject(); ?>
<a href="/hireme.html"><li>Hire Me</li></a>
<a href="/links.html"><li>Links</li></a>
</ul>
</div>
<ul class="pc-links">
<?php getSubject(); ?>
<a href="/personal.html"><li>Personal</li></a>
<a href="/hireme.html"><li>Hire Me</li></a>
</ul>
</header>
<div class="container">
<div class="left-bar">
<p>Links:</p>
<ul class="expand-links">
<a href="mailto:tovi@tovijaeschke.xyz"><li>Email</li></a>
<a href="https://git.tovijaeschke.xyz"><li>Git</li></a>
<a href="https://gitlab.com/tovijaeschke"><li>Gitlab</li></a>
<a href="/static/Resume.pdf"><li>Resume</li></a>
<a href="https://demos.tovijaeschke.xyz/"><li>Portfolio</li></a>
</ul>
<p>Recent posts:</p>
<ul>
<?php include 'php/recent-posts.php';?>
</ul>
</div>
<div class="main">
<?php getBody(); ?>
<div class="comments">
<h3 class="comment-title">Comments</h3>
<form id="comment-form" class="comment-form" action="php/add-comment.php" method="post">
<label for="email">Name</label><br>
<input type="text" id="email" name="email" required placeholder="1337 H4X0R"><br>
<label for="comment">Comment</label><br>
<textarea id="comment" name="comment" value="comment" required placeholder="Dank meme bro"></textarea><br>
<input type="text" name="post_id" value="<?php getPostId(); ?>" style="display: none;">
<button class="g-recaptcha"
data-sitekey="6Lf30cQZAAAAAKb9cV9A_q0v4tP_hQkLFA0hs_dS"
data-callback='onSubmit'
data-action='submit'
type="submit">Submit</button>
</form>
<?php include 'php/comments.php';?>
</div>
</div>
</div>
<footer>
<a href="mailto:tovi@tovijaeschke.xyz">tovi@tovijaeschke.xyz</a>
<p>Last updated: <?php lastUpdate();?></p>
</footer>
</body>
</html>