File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 11import { IconLock , IconLogout , IconUser } from "@tabler/icons-react" ;
2- import { LocalePicker , ThemeSwitcher } from "src/components" ;
2+ import { LocalePicker , ThemeSwitcher , NavLink } from "src/components" ;
33import { useAuthState } from "src/context" ;
44import { useUser } from "src/hooks" ;
55import { T } from "src/locale" ;
@@ -26,20 +26,18 @@ export function SiteHeader() {
2626 < span className = "navbar-toggler-icon" />
2727 </ button >
2828 < div className = "navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3" >
29- < span className = { styles . logo } >
30- < img
31- src = "/images/logo-no-text.svg"
32- width = { 40 }
33- height = { 40 }
34- className = "navbar-brand-image"
35- alt = "Logo"
36- />
37- < a
38- className = "nav-link"
39- href = "/" >
40- Nginx Proxy Manager
41- </ a >
42- </ span >
29+ < NavLink to = "/" >
30+ < div className = { styles . logo } >
31+ < img
32+ src = "/images/logo-no-text.svg"
33+ width = { 40 }
34+ height = { 40 }
35+ className = "navbar-brand-image"
36+ alt = "Logo"
37+ />
38+ </ div >
39+ Nginx Proxy Manager
40+ </ NavLink >
4341 </ div >
4442 < div className = "navbar-nav flex-row order-md-last" >
4543 < div className = "d-none d-md-flex" >
You can’t perform that action at this time.
0 commit comments