-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 💄 Alteração nos ícones do menu de navegação
- Loading branch information
Wellington Braga
committed
Mar 14, 2024
1 parent
a7a64dc
commit 8d9eeed
Showing
5 changed files
with
77 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,56 @@ | ||
import { OptionMenuProps } from "@/assets"; | ||
import homeBlack from "@/assets/Images/HomeBlack.png"; | ||
import homeWhite from "@/assets/Images/HomeWhite.png"; | ||
import callsBlack from "@/assets/Images/CallsBlack.png"; | ||
import callsWhite from "@/assets/Images/CallsWhite.png"; | ||
import requestBlack from "@/assets/Images/RequestsBlack.png"; | ||
import requestWhite from "@/assets/Images/RequestsWhite.png"; | ||
import searchBlack from "@/assets/Images/SearchBlack.png"; | ||
import searchWhite from "@/assets/Images/SearchWhite.png"; | ||
|
||
const navigationOptions: OptionMenuProps[] = [ | ||
{ | ||
name: "Iniciar", | ||
path: "/", | ||
alt: "inicio", | ||
iconUnselect: homeBlack, | ||
iconSelect: homeWhite | ||
}, | ||
{ | ||
name: "Pesquisa", | ||
path: "/pesquisa", | ||
alt: "pesquisa", | ||
iconUnselect: searchBlack, | ||
iconSelect: searchWhite | ||
}, | ||
{ | ||
name: "Chamados", | ||
path: "/chamados", | ||
alt: "chamados", | ||
iconUnselect: callsBlack, | ||
iconSelect: callsWhite | ||
}, | ||
{ | ||
name: "Solicitações", | ||
path: "/solicitacoes", | ||
alt: "solicitações", | ||
iconUnselect: requestBlack, | ||
iconSelect: requestWhite | ||
} | ||
]; | ||
|
||
export default navigationOptions; | ||
import { OptionMenuProps } from "@/assets"; | ||
import { | ||
ClipboardText, | ||
House, | ||
ListDashes, | ||
MagnifyingGlass | ||
} from "@phosphor-icons/react/dist/ssr"; | ||
|
||
const navigationOptions: OptionMenuProps[] = [ | ||
{ | ||
name: "Iniciar", | ||
path: "/", | ||
alt: "inicio", | ||
icon: ( | ||
<House | ||
size={24} | ||
color="#352F2F" | ||
/> | ||
) | ||
}, | ||
{ | ||
name: "Pesquisa", | ||
path: "/pesquisa", | ||
alt: "pesquisa", | ||
icon: ( | ||
<MagnifyingGlass | ||
size={24} | ||
color="#352F2F" | ||
/> | ||
) | ||
}, | ||
{ | ||
name: "Chamados", | ||
path: "/chamados", | ||
alt: "chamados", | ||
icon: ( | ||
<ListDashes | ||
size={24} | ||
color="#352F2F" | ||
/> | ||
) | ||
}, | ||
{ | ||
name: "Solicitações", | ||
path: "/solicitacoes", | ||
alt: "solicitações", | ||
icon: ( | ||
<ClipboardText | ||
size={24} | ||
color="#352F2F" | ||
/> | ||
) | ||
} | ||
]; | ||
|
||
export default navigationOptions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters