Skip to content

Commit

Permalink
styled social media links
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Sep 24, 2024
1 parent e9eefa1 commit c999e62
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,22 @@ export default function Home() {
})}
</ul>
<hr />
<h3>Social Media</h3>
<ul>
{socialLinks.length > 0 ? (
<>
<h3>Social Media</h3>
<ul>
{socialLinks.map((link, index) => (
<li key={index}>
<a href={link.url} target="_blank" rel="noopener noreferrer">
{link.url}
</a>
</li>
))}
</ul>
<li key={index}>
<a href={link.url} target="_blank" rel="noopener noreferrer">
{link.url}
</a>
</li>
))}
</ul>
</>
) : (
<></>
)}
</Popup>
</Marker>
) : null;
Expand Down

0 comments on commit c999e62

Please sign in to comment.