-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/bbyer04/blakeb_web
- Loading branch information
Showing
14 changed files
with
398 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Welcome to my personal project # | ||
This repository contains my personal website. | ||
# Blake Byer's Website # | ||
This repository contains the code for my website. Thanks for visiting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<!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; | ||
} | ||
.post { | ||
margin-bottom: 20px; | ||
} | ||
.post h2 { | ||
margin: 0; | ||
font-size: 1.8em; | ||
} | ||
.post p { | ||
margin-bottom: 10px; | ||
} | ||
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> | ||
<li><a href="projects.html">Projects</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<section id="blog-posts"> | ||
<h1>Blog</h1> | ||
</section> | ||
<footer> | ||
© Blake Byer <span id="currentYear"></span> | ||
</footer> | ||
</div> | ||
|
||
<script> | ||
document.getElementById('currentYear').textContent = new Date().getFullYear(); | ||
|
||
fetch('posts.json') | ||
.then(response => response.json()) | ||
.then(posts => { | ||
const blogPostsSection = document.getElementById('blog-posts'); | ||
posts.forEach(post => { | ||
const postDiv = document.createElement('div'); | ||
postDiv.classList.add('post'); | ||
postDiv.innerHTML = ` | ||
<h2>${post.title}</h2> | ||
<p><em>${post.date}</em></p> | ||
${post.content} | ||
`; | ||
blogPostsSection.appendChild(postDiv); | ||
}); | ||
}) | ||
.catch(error => console.error('Error loading posts:', error)); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,134 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Blake Byer's GitHub Pages Site</title> | ||
</head> | ||
<body> | ||
<h1>Blake Byer</h1> | ||
<p>Welcome to my GitHub Pages site! Click the link to go to my curriculum vitae.</p> | ||
<a href=curriculum_vitae.pdf>Curriculum Vitae</a> | ||
</body> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Blake Byer - Home</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; | ||
} | ||
img { | ||
width: 100%; | ||
max-width: 300px; | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 5px; | ||
} | ||
.button-container { | ||
display: flex; | ||
justify-content: space-between; | ||
margin-top: 10px; | ||
margin-bottom: 20px; | ||
} | ||
.button { | ||
padding: 10px 20px; | ||
background-color: #333; | ||
color: #fff; | ||
text-decoration: none; | ||
border-radius: 5px; | ||
border: none; | ||
cursor: pointer; | ||
transition: background-color 0.3s; | ||
text-align: center; | ||
flex: 1; | ||
margin: 0 5px; | ||
max-width: 200px; | ||
} | ||
.button:hover { | ||
background-color: #555; | ||
} | ||
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> | ||
<li><a <a href="projects.html">Projects</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<section> | ||
<img src="profile.jpg" alt="Profile Photo"> | ||
<p>Hello, I'm Blake Byer. I am a student at the University of Kentucky. I study neuroscience, biology, and computer science.</p> | ||
<p>Feel free to browse around!</p> | ||
<div class="button-container"> | ||
<a href="https://github.com/blakebyer" class="button">GitHub</a> | ||
<a href="curriculum_vitae.pdf" class="button">Curriculum Vitae</a> | ||
</div> | ||
</section> | ||
<footer> | ||
© 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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"title": "Cuties", | ||
"date": "2023-03-08", | ||
"content": "<p>Only occasionally do I eat citrus fruits. Something about the hassle of peeling deters me. Orange zest underneath my fingernails, a thin mist of juice covers my desk.</p><p>After I finish peeling, all that covers the orange is a thin layer of white pith. I do little to remove the stringy white substance. 'You lose all the vitamins when you take off the white stringers' - I think back to my grandpa who told me this several years ago.</p><p>At last, I tear apart the flesh into its eight pieces.</p><p>...</p><p>The thin sticky residue on my workspace and the leftover peel reminds me of the orange long ago digested. After washing my hands for a third time, I conclude: it will be awhile before I eat citrus fruits again.</p>" | ||
}, | ||
{ | ||
"title": "Four on the Fourth", | ||
"date": "2024-07-04", | ||
"content": "This is the content of the second blog post." | ||
} | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.