Browse Source

Fix broken sign up nav button when not on home page

master
Skylar Ittner 4 years ago
parent
commit
d0840bfc54
  1. 2
      inc/nav.php

2
inc/nav.php

@ -3,7 +3,7 @@
<ul>
<li<?php if ($page == "index") { echo " class=\"current\""; } ?>><a href="./home.php">Home</a></li>
<li<?php if ($page == "about") { echo " class=\"current\""; } ?>><a href="./about.php">About</a></li>
<li><a href="<?php echo ($page == "index" ? "#pricing\" class=\"scroll": "/#pricing"); ?>">Sign Up</a></li>
<li><a href="<?php echo ($page == "index" ? "#pricing\" class=\"scroll": "./#pricing"); ?>">Sign Up</a></li>
<li><a href="/index.php/login">Log In</a></li>
</ul>
</nav>
Loading…
Cancel
Save