19 lines
674 B
HTML
19 lines
674 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body class="bg-slate-800 text-white py-6 px-8">
|
|
<h1 class="text-3xl font-bold underline">Blog</h1>
|
|
|
|
<!-- Container for the blog posts -->
|
|
<div id="blog-posts"></div>
|
|
|
|
<!-- The button used to load more blog posts -->
|
|
<button id="view-more" class="hidden bg-orange-500 hover:bg-orange-700 text-white font-bold py-2 px-4 rounded">View More</button>
|
|
</body>
|
|
<!-- JavaScript file that contains all the logic -->
|
|
<script src="/blog.js"></script>
|
|
</html> |