@ -251,7 +251,7 @@ contract HelloWorld {
< div className = "mb-3" >
{ ( state . recentWorkspaces [ 0 ] || state . recentWorkspaces [ 1 ] || state . recentWorkspaces [ 2 ] ) && (
< div className = "d-flex flex-column mb-5 remixui_recentworkspace" >
< label style = { { fontSize : '0.8rem' } } className = "mt-3 " >
< label style = { { fontSize : '0.8rem' } } className = "mt-1 " >
Recent Workspaces
< / label >
{ state . recentWorkspaces [ 0 ] && state . recentWorkspaces [ 0 ] !== '' && (
@ -272,7 +272,7 @@ contract HelloWorld {
< / div >
) }
< / div >
< div className = "d-flex flex-column flex-nowrap pt-5 " >
< div className = "d-flex flex-column flex-nowrap pt-3 " >
< label style = { { fontSize : '1.2rem' } } >
< FormattedMessage id = "home.files" / >
< / label >
@ -301,27 +301,22 @@ contract HelloWorld {
/ >
< / span >
< / CustomTooltip >
< button className = "btn text-nowrap p-2 mr-2 border my-1" onClick = { ( ) = > showFullMessage ( 'Ipfs' , 'ipfs hash' , [ 'ipfs://QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH' ] , 'ipfs://' ) } >
{ /* <button className="btn text-nowrap p-2 mr-2 border my-1" onClick={() => showFullMessage('Ipfs', 'ipfs hash', ['ipfs://QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH'], 'ipfs:/ / ' ) } >
IPFS
< / button >
< / button > * / }
{ /* <button className="btn text-nowrap p-2 mr-2 border my-1" data-id="landingPageImportFromGitHubButton" onClick={() => showFullMessage('GitHub', 'github URL', ['https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol', 'https://github.com/OpenZeppelin/openzeppelin-solidity/blob/67bca857eedf99bf44a4b6a0fc5b5ed553135316/contracts/access/Roles.sol'])}> */ }
< CustomTooltip placement = { 'top' } tooltipId = "overlay-tooltip" tooltipClasses = "text-nowrap" tooltipText = { < FormattedMessage id = "home.openFileTooltip" / > } tooltipTextClasses = "border bg-light text-dark p-1 pr-3"
>
< button className = "btn text-nowrap p-2 mr-2 border my-1" data - id = "landingPageImportFromGitHubButton" onClick = { ( ) = > showFullMessage ( 'GitHub' , 'github URL' , [ 'https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol' , 'https://github.com/OpenZeppelin/openzeppelin-solidity/blob/67bca857eedf99bf44a4b6a0fc5b5ed553135316/contracts/access/Roles.sol' ] ) } >
Git Clone
< / button >
< / CustomTooltip >
< button className = "btn text-nowrap p-2 mr-2 border my-1" data - id = "landingPageImportFromGistButton" onClick = { ( ) = > importFromGist ( ) } >
Gist
< / button >
< / div >
< / div >
< div className = "d-flex mt-2 align-items-end w-100" >
< button
className = "btn text-nowrap p-2 mr-2 border my-1"
onClick = { ( ) = >
showFullMessage ( 'Https' , 'http/https raw content' , [ 'https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC20/ERC20.sol' ] )
}
>
HTTPS
< / button >
< CustomTooltip placement = { 'top' } tooltipId = "overlay-tooltip" tooltipClasses = "text-nowrap" tooltipText = { < FormattedMessage id = "home.connectToLocalhost" / > } tooltipTextClasses = "border bg-light text-dark p-1 pr-3" >
< button className = "btn btn-block text-nowrap p-2 border my-1" onClick = { ( ) = > connectToLocalhost ( ) } >
< i className = "fa-regular fa-desktop pr-2" > < / i >