Skip to content

Commit 05a62ed

Browse files
committed
Add Resources to nav-bar, move Donate to button.
1 parent b3607b6 commit 05a62ed

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

templates/monogame/partials/topnav.tmpl.partial

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@
66
{{_appName}}
77
</a>
88
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
9-
<i class="bi bi-three-dots"></i>
9+
<i class="bi bi-three-dots"></i>
1010
</button>
1111
<div class="collapse navbar-collapse" id="navpanel">
12-
<div id="navbar">
13-
{{#_enableSearch}}
14-
<form class="search" role="search" id="search">
15-
<i class="bi bi-search"></i>
16-
<input class="form-control" id="search-query" type="search" disabled placeholder="{{__global.search}}" autocomplete="off" aria-label="Search">
17-
</form>
18-
{{/_enableSearch}}
12+
<div id="navbar">
13+
{{#_enableSearch}}
14+
<form class="search" role="search" id="search">
15+
<i class="bi bi-search"></i>
16+
<input class="form-control" id="search-query" type="search" disabled placeholder="{{__global.search}}" autocomplete="off" aria-label="Search">
17+
</form>
18+
{{/_enableSearch}}
19+
</div>
1920
</div>
21+
<div>
22+
<a href="https://monogame.net/donate" class="btn btn-danger ms-3">Donate</a>
2023
</div>
2124
</div>
2225
</nav>

toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
href: https://monogame.net/blog/
1111
- name: Bounties
1212
href: https://monogame.net/bounties/
13+
- name: Resources
14+
href: https://monogame.net/resources/
1315
- name: About
14-
href: https://monogame.net/about/
15-
- name: Donate
16-
href: https://monogame.net/donate/
16+
href: https://monogame.net/about/

0 commit comments

Comments
 (0)