Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
danames authored Mar 9, 2024
1 parent 425d16f commit ab38ff4
Showing 1 changed file with 37 additions and 14 deletions.
51 changes: 37 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,31 @@
.profile { text-align: center; margin: 20px 0; }
.profile img { width: 100px; height: 100px; border-radius: 50%; }
.profile h1 { margin: 10px 0; }
.links { list-style: none; padding: 0; }
.links li a {
display: block;
.link-item {
display: flex;
align-items: center;
background-color: #fff;
color: #333;
padding: 15px 20px;
margin: 10px 0;
text-decoration: none;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
text-decoration: none;
}
.links li a:hover { background-color: #e9e9e9; }
.link-item img {
width: 50px;
height: 50px;
margin: 10px;
border-radius: 5px;
}
.link-item div {
flex-grow: 1;
}
.link-item a {
display: block;
color: #333;
padding: 15px 20px;
text-decoration: none;
}
.link-item:hover { background-color: #e9e9e9; }
</style>
</head>
<body>
Expand All @@ -31,13 +44,23 @@
<h1>Your Name</h1>
<p>Short bio or tagline here.</p>
</div>
<ul class="links">
<li><a href="https://example.com">Portfolio</a></li>
<li><a href="https://example.com">Blog</a></li>
<li><a href="https://example.com">Projects</a></li>
<li><a href="https://example.com">Contact</a></li>
<!-- Add more links as needed -->
</ul>
<div class="link-item">
<img src="thumbnail1.jpg" alt="Thumbnail">
<div><a href="https://example.com">Portfolio</a></div>
</div>
<div class="link-item">
<img src="thumbnail2.jpg" alt="Thumbnail">
<div><a href="https://example.com">Blog</a></div>
</div>
<div class="link-item">
<img src="thumbnail3.jpg" alt="Thumbnail">
<div><a href="https://example.com">Projects</a></div>
</div>
<div class="link-item">
<img src="thumbnail4.jpg" alt="Thumbnail">
<div><a href="https://example.com">Contact</a></div>
</div>
<!-- Add more links as needed -->
</div>
<script>
// JavaScript can go here if you need any interactivity
Expand Down

0 comments on commit ab38ff4

Please sign in to comment.