This commit is contained in:
Gregory Hendrickson
2023-06-09 16:57:00 -07:00
parent f4296fa402
commit c957d02d80
2 changed files with 35 additions and 52 deletions

View File

@@ -2,27 +2,45 @@
<html> <html>
<head> <head>
<title>Latest Commit</title> <title>Latest Commit</title>
<link rel="stylesheet" href="styles.css"> <style>
body {
font-family: Arial, sans-serif;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
}
.commit-details {
background-color: #f5f5f5;
padding: 20px;
border-radius: 5px;
border: 1px solid #ddd;
}
.commit-details h2 {
font-size: 18px;
margin-bottom: 10px;
}
.commit-details p {
margin: 5px 0;
}
</style>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="profile"> <h1>Latest Commit</h1>
<img src="avatar.jpg" alt="GitHub Avatar" class="avatar"> <div class="commit-details">
<h1>GitHub Profile</h1> <h2>Repository: ghndrx/docker-test-image</h2>
<div class="profile-details"> <p><strong>Commit:</strong> abcdef1234567890</p>
<p><strong>Name:</strong> Gregory Hendrickson</p> <p><strong>Author:</strong> John Doe</p>
<p><strong>Username:</strong> ghndrx</p> <p><strong>Date:</strong> June 1, 2023</p>
<p><strong>Location:</strong> Sacramento, California</p> <p><strong>Message:</strong> Added new feature</p>
<p><strong>Files Changed:</strong> 3</p>
</div>
<a href="https://github.com/ghndrx" class="profile-link">Visit Profile</a>
</div>
<div class="commit">
<h2>Latest Commit</h2>
<div id="commit-info"></div>
</div> </div>
</div> </div>
<script src="script.js"></script>
</body> </body>
</html> </html>

View File

@@ -1,35 +0,0 @@
.profile {
display: flex;
align-items: center;
margin-bottom: 40px;
}
.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
margin-right: 20px;
}
.profile-details {
margin-top: 10px;
}
.profile-link {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
margin-top: 20px;
}
.commit {
margin-bottom: 40px;
}
.commit h2 {
margin-bottom: 10px;
}