Skip to content

Commit

Permalink
Make navbar logo a hyperlink to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlostorto committed Jan 7, 2024
1 parent c27f76b commit 63a76f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/navbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ function getRelativePath($absolutePath, $parentTraversals) {
</style>

<nav id="navbar-desktop" class="position-absolute w-100 d-flex flex-row align-items-center justify-content-between">
<div id="navbar-logo">
<a id="navbar-logo" href="/photography/">
<?php include(getRelativePath("photography/assets/svg/logo.svg", $parentTraversals)); ?>
</div>
</a>
<ul id="navbar-links" class="d-flex flex-row align-items-center justify-content-between">
<li><a href="/photography/">home</a></li>
<!-- <li><a href="/photography/about/">about</a></li> -->
Expand Down

0 comments on commit 63a76f7

Please sign in to comment.