You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

4 years ago
  1. <ul class="list-unstyled components">
  2. {% if request.path == url_for('index') %}
  3. <li class="nav-item active">
  4. {% else %}
  5. <li class="nav-item">
  6. {% endif %}
  7. <a href="{{ url_for('index') }}">
  8. <svg
  9. width="24"
  10. height="24"
  11. fill="none"
  12. stroke="currentColor"
  13. stroke-width="2"
  14. stroke-linecap="round"
  15. stroke-linejoin="round"
  16. style="height: 1rem; vertical-align: middle; margin-bottom: 4px;">
  17. <use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#home"/>
  18. </svg>Home
  19. </a>
  20. </li>
  21. </ul>
  22. {% if request.path == url_for('about') %}
  23. <div style="position: fixed; bottom: 20px;" class="active">
  24. {% else %}
  25. <div style="position: fixed; bottom: 20px;">
  26. {% endif %}
  27. <a href="{{ url_for('about') }}"><svg
  28. width="24"
  29. height="24"
  30. fill="none"
  31. stroke="currentColor"
  32. stroke-width="2"
  33. stroke-linecap="round"
  34. stroke-linejoin="round"
  35. style="height: 1rem; vertical-align: middle; margin-bottom: 4px;">
  36. <use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#coffee"/>
  37. </svg>About</a>
  38. </div>