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> <div id="root"></div>
<script type="text/javascript" src="assets/js/loader.js"></script> <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/intro.min.js"></script>
<script type="text/javascript" src="assets/js/parser/antlr.js"></script> <script type="text/javascript" src="assets/js/parser/antlr.js"></script>
</body> </body>

@ -73,15 +73,15 @@ export const getPathIcon = (path: string) => {
return path.endsWith('.txt') return path.endsWith('.txt')
? 'far fa-file-alt' : path.endsWith('.md') ? 'far fa-file-alt' : path.endsWith('.md')
? 'fab fa-markdown' : path.endsWith('.sol') ? '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') ? 'fab fa-js' : path.endsWith('.json')
? 'small fas fa-brackets-curly' : path.endsWith('.vy') ? 'small fas fa-brackets-curly' : path.endsWith('.vy')
? 'small fak fa-vyper2' : path.endsWith('.lex') ? 'small fa-kit fa-vyper2' : path.endsWith('.lex')
? 'fak fa-lexon' : path.endsWith('ts') ? 'fa-kit fa-lexon' : path.endsWith('ts')
? 'small fak fa-ts-logo' : path.endsWith('.tsc') ? 'small fa-kit fa-ts-logo' : path.endsWith('.tsc')
? 'fad fa-brackets-curly' : path.endsWith('.cairo') ? 'fad fa-brackets-curly' : path.endsWith('.cairo')
? 'small fak fa-cairo' : path.endsWith('.circom') ? 'small fa-kit fa-cairo' : path.endsWith('.circom')
? 'fak fa-circom' : 'far fa-file' ? 'fa-kit fa-circom' : 'far fa-file'
} }
export const isNumeric = (value) => { 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'}} /> <Dropdown.Divider className="border mt-0 mb-0 remixui_menuhr" style={{pointerEvents: 'none'}} />
<HamburgerMenuItem <HamburgerMenuItem
kind="solghaction" kind="solghaction"
fa="fak fa-solidity-mono" fa="fa-kit fa-solidity-mono"
hideOption={hideWorkspaceOptions} hideOption={hideWorkspaceOptions}
actionOnClick={() => { actionOnClick={() => {
props.addGithubAction() props.addGithubAction()
@ -141,7 +141,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} /> <Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} />
<HamburgerMenuItem <HamburgerMenuItem
kind="addscriptetherscan" kind="addscriptetherscan"
fa="fak fa-ts-logo" fa="fa-kit fa-ts-logo"
hideOption={hideWorkspaceOptions} hideOption={hideWorkspaceOptions}
actionOnClick={() => { actionOnClick={() => {
props.addHelperScripts('etherscan') props.addHelperScripts('etherscan')
@ -151,7 +151,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
></HamburgerMenuItem> ></HamburgerMenuItem>
<HamburgerMenuItem <HamburgerMenuItem
kind="addscriptdeployer" kind="addscriptdeployer"
fa="fak fa-ts-logo" fa="fa-kit fa-ts-logo"
hideOption={hideWorkspaceOptions} hideOption={hideWorkspaceOptions}
actionOnClick={() => { actionOnClick={() => {
props.addHelperScripts('deployer') props.addHelperScripts('deployer')
@ -170,7 +170,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
subMenus={[ subMenus={[
{ {
kind:'etherscan-script', kind:'etherscan-script',
fa: 'fak fa-ts-logo', fa: 'fa-kit fa-ts-logo',
hideOption: hideWorkspaceOptions, hideOption: hideWorkspaceOptions,
actionOnClick: () => { actionOnClick: () => {
alert('etherscan') alert('etherscan')
@ -180,7 +180,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
}, },
{ {
kind:'contract-deployer-factory-script', kind:'contract-deployer-factory-script',
fa: 'fak fa-ts-logo', fa: 'fa-kit fa-ts-logo',
hideOption: hideWorkspaceOptions, hideOption: hideWorkspaceOptions,
actionOnClick: () => { actionOnClick: () => {
alert('deloyer') alert('deloyer')

Loading…
Cancel
Save