741064a08aaca2392808ca41934b6c4415baddf8

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Reorder navbar buttons

Diff

This diff is truncated to protect this page.

 1diff --git a/pages/navbar.templ b/pages/navbar.templ
 2index 044aa5610b30c06523579b1c352aecf6ecf3d50e..f63543008c49627010004954dc9a126f3b10aa81 100644
 3--- a/pages/navbar.templ
 4+++ b/pages/navbar.templ
 5@@ -45,9 +45,9 @@ templ navbar(route string) {
 6 							class="btn btn-outline-secondary"
 7 							style="--bs-btn-color: var(--bs-body-color);"
 8 							data-bs-toggle="modal"
 9-							data-bs-target="#subscription-modal"
10+							data-bs-target="#add-video-modal"
11 						>
12-							<span class="d-none d-lg-inline">Subscribe </span><i class="bi bi-bookmark-plus"></i>
13+							<span class="d-none d-lg-inline">Add Video </span><i class="bi bi-camera-video"></i>
14 						</button>
15 					</li>
16 					<li class="nav-item me-1 me-lg-2">
17@@ -68,9 +68,9 @@ templ navbar(route string) {
18 							class="btn btn-outline-secondary"
19 							style="--bs-btn-color: var(--bs-body-color);"
20 							data-bs-toggle="modal"
21-							data-bs-target="#add-video-modal"
22+							data-bs-target="#subscription-modal"
23 						>
24-							<span class="d-none d-lg-inline">Add Video </span><i class="bi bi-camera-video"></i>
25+							<span class="d-none d-lg-inline">Subscribe </span><i class="bi bi-bookmark-plus"></i>
26 						</button>
27 					</li>
28 					for _, button := range navButtons(route) {
29diff --git a/pages/navbar_templ.go b/pages/navbar_templ.go
30index 81db3114eb13f5508000cd607d0e0de6fd0037a9..e5aa8057dfa04c67602f878d009504b5766c9bc6 100644
31--- a/pages/navbar_templ.go
32+++ b/pages/navbar_templ.go
33@@ -58,7 +58,7 @@ func navbar(route string) templ.Component {
34 			return templ_7745c5c3_Err
35 		}
36 		if route != "auth" {