desktopoffline
filip mertens 1 year ago
parent 9ee5b4c3cd
commit 350ce4221d
  1. 2
      apps/remix-ide/src/index.html
  2. 12
      libs/remix-ui/helper/src/lib/remix-ui-helper.ts
  3. 10
      libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx

@ -39,7 +39,7 @@
<div id="root"></div>
<script type="text/javascript" src="assets/js/loader.js"></script>
<script src="https://kit.fontawesome.com/41dd021e94.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/19735d3ad5.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/js/intro.min.js"></script>
<script type="text/javascript" src="assets/js/parser/antlr.js"></script>
</body>

@ -73,15 +73,15 @@ export const getPathIcon = (path: string) => {
return path.endsWith('.txt')
? 'far fa-file-alt' : path.endsWith('.md')
? 'fab fa-markdown' : path.endsWith('.sol')
? 'fak fa-solidity-mono' : path.endsWith('.js')
? 'fa-kit fa-solidity-mono' : path.endsWith('.js')
? 'fab fa-js' : path.endsWith('.json')
? 'small fas fa-brackets-curly' : path.endsWith('.vy')
? 'small fak fa-vyper2' : path.endsWith('.lex')
? 'fak fa-lexon' : path.endsWith('ts')
? 'small fak fa-ts-logo' : path.endsWith('.tsc')
? 'small fa-kit fa-vyper2' : path.endsWith('.lex')
? 'fa-kit fa-lexon' : path.endsWith('ts')
? 'small fa-kit fa-ts-logo' : path.endsWith('.tsc')
? 'fad fa-brackets-curly' : path.endsWith('.cairo')
? 'small fak fa-cairo' : path.endsWith('.circom')
? 'fak fa-circom' : 'far fa-file'
? 'small fa-kit fa-cairo' : path.endsWith('.circom')
? 'fa-kit fa-circom' : 'far fa-file'
}
export const isNumeric = (value) => {

@ -110,7 +110,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
<Dropdown.Divider className="border mt-0 mb-0 remixui_menuhr" style={{pointerEvents: 'none'}} />
<HamburgerMenuItem
kind="solghaction"
fa="fak fa-solidity-mono"
fa="fa-kit fa-solidity-mono"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.addGithubAction()
@ -141,7 +141,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} />
<HamburgerMenuItem
kind="addscriptetherscan"
fa="fak fa-ts-logo"
fa="fa-kit fa-ts-logo"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.addHelperScripts('etherscan')
@ -151,7 +151,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
></HamburgerMenuItem>
<HamburgerMenuItem
kind="addscriptdeployer"
fa="fak fa-ts-logo"
fa="fa-kit fa-ts-logo"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.addHelperScripts('deployer')
@ -170,7 +170,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
subMenus={[
{
kind:'etherscan-script',
fa: 'fak fa-ts-logo',
fa: 'fa-kit fa-ts-logo',
hideOption: hideWorkspaceOptions,
actionOnClick: () => {
alert('etherscan')
@ -180,7 +180,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
},
{
kind:'contract-deployer-factory-script',
fa: 'fak fa-ts-logo',
fa: 'fa-kit fa-ts-logo',
hideOption: hideWorkspaceOptions,
actionOnClick: () => {
alert('deloyer')

Loading…
Cancel
Save