Skip to content

Commit

Permalink
add home nav, fix buttons on mobile (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: robhowley <[email protected]>
  • Loading branch information
robhowley and robhowley authored Aug 2, 2024
1 parent 8de0b1e commit 600bc12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- title: Home
url: /
- title: Archive
url: /research-summaries/
- title: Categories
Expand Down
14 changes: 8 additions & 6 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ _Maintained by_ <a class="social-icon" href="https://instagram.com/bikesoma_nj"

# _Bike infrastructure topic shortcuts_

<div style="display: inline-block; position: relative; left: 50%; transform: translateX(-50%); padding-bottom: 10px;">
<a href="{{site.baseurl}}/safety" class="btn btn--accent">Safety</a>
<a href="{{site.baseurl}}/business" class="btn btn--accent">Business</a>
<a href="{{site.baseurl}}/environment" class="btn btn--accent">Environment</a>
<a href="{{site.baseurl}}/myth-busting" class="btn btn--accent">Myth busting</a>
<a href="{{site.baseurl}}/in-the-news" class="btn btn--accent">In the news</a>
<div style="text-align: center;">
<div style="display: inline-block; float: none; padding-bottom: 10px;">
<a href="{{site.baseurl}}/safety" class="btn btn--accent">Safety</a>
<a href="{{site.baseurl}}/business" class="btn btn--accent">Business</a>
<a href="{{site.baseurl}}/environment" class="btn btn--accent">Environment</a>
<a href="{{site.baseurl}}/myth-busting" class="btn btn--accent">Myth busting</a>
<a href="{{site.baseurl}}/in-the-news" class="btn btn--accent">In the news</a>
</div>
</div>

<hr>
Expand Down

0 comments on commit 600bc12

Please sign in to comment.