Skip to content

Commit

Permalink
Create blog.html
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyer authored Jul 4, 2024
1 parent 27923bc commit c803a14
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions docs/blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blake Byer - Blog</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
max-width: 800px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
border-radius: 5px;
}
header {
background-color: #333;
color: #fff;
padding: 10px 0;
text-align: center;
border-radius: 5px;
}
h1 {
margin: 0;
font-size: 2.5em;
}
nav {
margin-top: 10px;
}
nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
text-decoration: none;
color: #fff;
background-color: #333;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s;
}
nav ul li a:hover {
background-color: #555;
}
section {
margin-top: 20px;
}
footer {
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #333;
color: #fff;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Blake Byer</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
</nav>
</header>
<section>
<h2>Blog</h2>
<p>Content of your blog goes here.</p>
</section>
<footer>
&copy; Blake Byer <span id="currentYear"></span>
</footer>
</div>

<!-- JavaScript to update the current year -->
<script>
document.getElementById('currentYear').textContent = new Date().getFullYear();
</script>
</body>
</html>

0 comments on commit c803a14

Please sign in to comment.