This file contains hidden or 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
| [alias] | |
| # Apaga tudo staged o unstaged. | |
| dismiss = reset HEAD --hard | |
| # Desfaz o último commit e joga os arquivos que estavam nele novamente no workspace. | |
| rollback = reset --soft HEAD~1 | |
| # git unstage -- seuArquivo desfaz o última coisa no seu arquivo e sai do commit podendo ser adicionado novamente. | |
| unstage = reset HEAD -- | |
This file contains hidden or 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
| // Select image from thumbnail | |
| $(".product-detail-thumblist").on("click", "a", function (evt) { | |
| const elmId = $(this).attr("href"); | |
| evt.preventDefault(); | |
| if (!elmId || $(this).hasClass("control")) { | |
| return; | |
| } |
This file contains hidden or 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
| // SASS FUNCTION TO CONVERT PX INTO REM | |
| // Defining base font size | |
| // The default font size for html is 16px | |
| $base-size: 16; | |
| //Function to convert px value into rem | |
| //You can replace rem with any other value you want (rem is most preferred value for web) | |
| @function size($target, $context: $base-size) { | |
| @return ($target / $context) * 1em; | |
| } |
This file contains hidden or 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
| 'use client'; | |
| import { useRouter, useSearchParams } from 'next/navigation'; | |
| import { | |
| createContext, | |
| ReactNode, | |
| useCallback, | |
| useContext, | |
| useEffect, | |
| useLayoutEffect, |
OlderNewer