Skip to content

Commit

Permalink
Added hamburger menu HTML code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonah Pierce authored Jul 13, 2019
1 parent 5761651 commit 820dbf3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions website/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,16 @@ def generate_html(self):
<!-- Navigation Bar -->
<nav class="nav-bar">
<img src="https://i.imgur.com/Hy5Gyut.png" class="social-image" style="width: 50px; height: 50px;">
<ul class="nav-links">
{}
</ul>
<div id="nav-toggle">
<input type="checkbox">
<span></span>
<span></span>
<span></span>
<ul class="nav-links">
{}
</ul>
</div>
</nav>
<!-- Content -->
Expand All @@ -68,6 +75,9 @@ def generate_html(self):
</div>
</div>
</body>
<footer>
<small><code>Copyright &copy; 2018<script>new Date().getFullYear()>2018&&document.write("-"+new Date().getFullYear());</script>, Jonah Pierce</code></small>
</footer>
</html>
"""
)
Expand Down

0 comments on commit 820dbf3

Please sign in to comment.