11<template >
2- <nav class =" navbar navbar-light navbar- expand-lg navbar-background header " >
2+ <nav class =" navbar navbar-expand-lg navbar-sunshine " >
33 <div class =" container-fluid" >
44 <a class =" navbar-brand" href =" ./" title =" Sunshine" >
55 <img src =" /images/logo-sunshine-45.png" height =" 45" alt =" Sunshine" >
1111 <div class =" collapse navbar-collapse" id =" navbarSupportedContent" >
1212 <ul class =" navbar-nav me-auto mb-2 mb-lg-0" >
1313 <li class =" nav-item" >
14- <a class =" nav-link" href =" ./" ><i class =" fas fa-fw fa-home" ></i > {{ $t('navbar.home') }}</a >
14+ <a class =" nav-link" href =" ./" >
15+ <Home :size =" 18" class =" icon" ></Home >
16+ {{ $t('navbar.home') }}
17+ </a >
1518 </li >
1619 <li class =" nav-item" >
17- <a class =" nav-link" href =" ./pin" ><i class =" fas fa-fw fa-unlock" ></i > {{ $t('navbar.pin') }}</a >
20+ <a class =" nav-link" href =" ./pin" >
21+ <Lock :size =" 18" class =" icon" ></Lock >
22+ {{ $t('navbar.pin') }}
23+ </a >
1824 </li >
1925 <li class =" nav-item" >
20- <a class =" nav-link" href =" ./apps" ><i class =" fas fa-fw fa-stream" ></i > {{ $t('navbar.applications') }}</a >
26+ <a class =" nav-link" href =" ./apps" >
27+ <Layers :size =" 18" class =" icon" ></Layers >
28+ {{ $t('navbar.applications') }}
29+ </a >
2130 </li >
2231 <li class =" nav-item" >
23- <a class =" nav-link" href =" ./config" ><i class =" fas fa-fw fa-cog" ></i > {{ $t('navbar.configuration') }}</a >
32+ <a class =" nav-link" href =" ./config" >
33+ <Settings :size =" 18" class =" icon" ></Settings >
34+ {{ $t('navbar.configuration') }}
35+ </a >
2436 </li >
2537 <li class =" nav-item" >
26- <a class =" nav-link" href =" ./password" ><i class =" fas fa-fw fa-user-shield" ></i > {{ $t('navbar.password') }}</a >
38+ <a class =" nav-link" href =" ./password" >
39+ <Shield :size =" 18" class =" icon" ></Shield >
40+ {{ $t('navbar.password') }}
41+ </a >
2742 </li >
2843 <li class =" nav-item" >
29- <a class =" nav-link" href =" ./troubleshooting" ><i class =" fas fa-fw fa-info" ></i > {{ $t('navbar.troubleshoot') }}</a >
44+ <a class =" nav-link" href =" ./troubleshooting" >
45+ <Info :size =" 18" class =" icon" ></Info >
46+ {{ $t('navbar.troubleshoot') }}
47+ </a >
3048 </li >
3149 <li class =" nav-item" >
3250 <ThemeToggle />
3856</template >
3957
4058<script >
59+ import { Home , Lock , Layers , Settings , Shield , Info } from ' lucide-vue-next'
4160import ThemeToggle from ' ./ThemeToggle.vue'
4261
4362export default {
44- components: { ThemeToggle },
63+ components: {
64+ ThemeToggle,
65+ Home,
66+ Lock,
67+ Layers,
68+ Settings,
69+ Shield,
70+ Info
71+ },
4572 created () {
4673 console .log (" Header mounted!" )
4774 },
@@ -53,34 +80,8 @@ export default {
5380 </script >
5481
5582<style >
56- .navbar-background {
57- background-color : #ffc400
58- }
59-
60- .header .nav-link {
61- color : rgba (0 , 0 , 0 , .65 ) !important ;
62- }
63-
64- .header .nav-link.active {
65- color : rgb (0 , 0 , 0 ) !important ;
66- font-weight : 500 ;
67- }
68-
69- .header .nav-link :hover {
70- color : rgb (0 , 0 , 0 ) !important ;
71- font-weight : 500 ;
72- }
73-
74- .header .navbar-toggler {
75- color : rgba (var (--bs-dark-rgb ), .65 ) !important ;
76- border : var (--bs-border-width ) solid rgba (var (--bs-dark-rgb ), 0.15 ) !important ;
77- }
78-
79- .header .navbar-toggler-icon {
80- --bs-navbar-toggler-icon-bg : url (" data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e" ) !important ;
81- }
82-
83- .form-control ::placeholder {
84- opacity : 0.5 ;
83+ /* Navbar toggler icon for dark text on light background */
84+ .navbar-sunshine .navbar-toggler-icon {
85+ --bs-navbar-toggler-icon-bg : url (" data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e" ) !important ;
8586}
8687 </style >
0 commit comments