Merge branch 'master' into logocol

pull/5370/head
Liana Husikyan 2 years ago committed by GitHub
commit b55391f2ca
  1. 21
      libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/css/style.css

@ -1,7 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries // eslint-disable-next-line @nrwl/nx/enforce-module-boundaries
import BasicLogo from 'libs/remix-ui/vertical-icons-panel/src/lib/components/BasicLogo'
import { ThemeContext } from '../themeContext'
import React, { useEffect, useState, useRef, useContext } from 'react' import React, { useEffect, useState, useRef, useContext } from 'react'
import { FormattedMessage, useIntl } from 'react-intl' import { FormattedMessage, useIntl } from 'react-intl'
import { CustomTooltip } from '@remix-ui/helper' import { CustomTooltip } from '@remix-ui/helper'
@ -21,7 +19,6 @@ function HomeTabTitle() {
searchDisable: true searchDisable: true
}) })
const themeFilter = useContext(ThemeContext)
const searchInputRef = useRef(null) const searchInputRef = useRef(null)
const remiAudioEl = useRef(null) const remiAudioEl = useRef(null)
const intl = useIntl() const intl = useIntl()
@ -52,13 +49,12 @@ function HomeTabTitle() {
return ( return (
<div className="px-2 pb-2 pt-2 d-flex flex-column border-bottom" id="hTTitleSection"> <div className="px-2 pb-2 pt-2 d-flex flex-column border-bottom" id="hTTitleSection">
<div className="d-flex py-2 justify-content-between"> <div className="d-flex py-2 justify-content-between">
<div className='d-flex justify-content-start'> <div className='d-flex justify-content-start'>
<span className="h-80 text-uppercase" style={{ fontSize: 'xx-large', fontFamily: "Noah, sans-serif" }}>Remix</span> <span className="h-80 text-uppercase" style={{ fontSize: 'xx-large', fontFamily: "Noah, sans-serif" }}>Remix</span>
<div className="ml-2 d-flex"> <div className="ml-2 d-flex">
<div onClick={() => playRemi()} > <div onClick={() => playRemi()} >
<img className="" src="assets/img/guitarRemiCroped.webp" style={{height: "3rem"}} alt=""></img> <img className="" src="assets/img/guitarRemiCroped.webp" style={{ height: "3rem" }} alt=""></img>
</div> </div>
<audio <audio
id="remiAudio" id="remiAudio"
@ -68,7 +64,7 @@ function HomeTabTitle() {
></audio> ></audio>
</div> </div>
</div> </div>
<span className="d-flex flex-nowrap"> <span className="d-flex flex-nowrap align-self-end">
<CustomTooltip <CustomTooltip
placement={'top'} placement={'top'}
tooltipId="overlay-tooltip" tooltipId="overlay-tooltip"
@ -81,10 +77,9 @@ function HomeTabTitle() {
openLink("https://www.youtube.com/channel/UCjTUPyFEr2xDGN6Cg8nKDaA") openLink("https://www.youtube.com/channel/UCjTUPyFEr2xDGN6Cg8nKDaA")
_paq.push(['trackEvent', 'hometab', 'socialMedia', 'youtube']) _paq.push(['trackEvent', 'hometab', 'socialMedia', 'youtube'])
}} }}
className="border-0 h-100 btn fab fa-youtube p-1 pl-2"> className="border-0 px-1 h-100 btn fab fa-youtube">
</button> </button>
</CustomTooltip> </CustomTooltip>
<CustomTooltip <CustomTooltip
placement={'top'} placement={'top'}
tooltipId="overlay-tooltip" tooltipId="overlay-tooltip"
@ -97,10 +92,9 @@ function HomeTabTitle() {
openLink("https://twitter.com/EthereumRemix") openLink("https://twitter.com/EthereumRemix")
_paq.push(['trackEvent', 'hometab', 'socialMedia', 'twitter']) _paq.push(['trackEvent', 'hometab', 'socialMedia', 'twitter'])
}} }}
className="border-0 p-1 h-100 pl-2 btn fab fa-twitter"> className="border-0 px-1 h-100 btn fab fa-twitter">
</button> </button>
</CustomTooltip> </CustomTooltip>
<CustomTooltip <CustomTooltip
placement={'top'} placement={'top'}
tooltipId="overlay-tooltip" tooltipId="overlay-tooltip"
@ -113,10 +107,9 @@ function HomeTabTitle() {
openLink("https://www.linkedin.com/company/ethereum-remix/") openLink("https://www.linkedin.com/company/ethereum-remix/")
_paq.push(['trackEvent', 'hometab', 'socialmedia', 'linkedin']) _paq.push(['trackEvent', 'hometab', 'socialmedia', 'linkedin'])
}} }}
className="border-0 p-1 h-100 pl-2 btn fa fa-linkedin"> className="border-0 px-1 h-100 btn fa fa-linkedin">
</button> </button>
</CustomTooltip> </CustomTooltip>
<CustomTooltip <CustomTooltip
placement={'top'} placement={'top'}
tooltipId="overlay-tooltip" tooltipId="overlay-tooltip"
@ -129,7 +122,7 @@ function HomeTabTitle() {
openLink("https://medium.com/remix-ide") openLink("https://medium.com/remix-ide")
_paq.push(['trackEvent', 'hometab', 'socialmedia', 'medium']) _paq.push(['trackEvent', 'hometab', 'socialmedia', 'medium'])
}} }}
className="border-0 p-1 h-100 pl-2 btn fab fa-medium"> className="border-0 h-100 px-1 btn fab fa-medium">
</button> </button>
</CustomTooltip> </CustomTooltip>
@ -145,7 +138,7 @@ function HomeTabTitle() {
openLink("https://discord.gg/mh9hFCKkEq") openLink("https://discord.gg/mh9hFCKkEq")
_paq.push(['trackEvent', 'hometab', 'socialmedia', 'discord']) _paq.push(['trackEvent', 'hometab', 'socialmedia', 'discord'])
}} }}
className="border-0 h-100 p-1 pr-2 btn fab fa-discord"> className="border-0 h-100 pl-1 pr-0 btn fab fa-discord">
</button> </button>
</CustomTooltip> </CustomTooltip>
</span> </span>

@ -137,7 +137,7 @@
.remixui_log { .remixui_log {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 5%; margin-bottom: 0.5rem;
overflow: visible; overflow: visible;
} }
.remixui_key { .remixui_key {

Loading…
Cancel
Save