|
|
|
@ -4,6 +4,7 @@ import BasicLogo from 'libs/remix-ui/vertical-icons-panel/src/lib/components/Bas |
|
|
|
|
import { ThemeContext } from '../themeContext' |
|
|
|
|
import React, { useEffect, useState, useRef, useContext } from 'react' |
|
|
|
|
import { OverlayTrigger, Tooltip } from 'react-bootstrap'// eslint-disable-line
|
|
|
|
|
import { CustomTooltip } from '@remix-ui/helper' |
|
|
|
|
|
|
|
|
|
function HomeTabTitle() { |
|
|
|
|
useEffect(() => { |
|
|
|
@ -61,60 +62,70 @@ function HomeTabTitle() { |
|
|
|
|
<div className="d-flex justify-content-between"> |
|
|
|
|
<span className="h-80 text-uppercase" style={{ fontSize: 'xx-large', fontFamily: "Noah, sans-serif" }}>Remix</span> |
|
|
|
|
<span> |
|
|
|
|
<OverlayTrigger placement={'top'} overlay={ |
|
|
|
|
<Tooltip className="text-nowrap" id="overlay-tooltip"> |
|
|
|
|
<span className="border bg-light text-dark p-1 pr-3">Remix Youtube Playlist</span> |
|
|
|
|
</Tooltip> |
|
|
|
|
}> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={'top'} |
|
|
|
|
tooltipId="overlay-tooltip" |
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
tooltipText="Remix Youtube Playlist" |
|
|
|
|
tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={() => openLink("https://www.youtube.com/channel/UCjTUPyFEr2xDGN6Cg8nKDaA")} |
|
|
|
|
className="border-0 h-100 btn fab fa-youtube"> |
|
|
|
|
</button> |
|
|
|
|
</OverlayTrigger> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
|
|
<OverlayTrigger placement={'top'} overlay={ |
|
|
|
|
<Tooltip className="text-nowrap" id="overlay-tooltip"> |
|
|
|
|
<span className="border bg-light text-dark p-1 pr-3">Remix Twitter Profile</span> |
|
|
|
|
</Tooltip> |
|
|
|
|
}> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={'top'} |
|
|
|
|
tooltipId="overlay-tooltip" |
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
tooltipText="Remix Twitter Profile" |
|
|
|
|
tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={() => openLink("https://twitter.com/EthereumRemix")} |
|
|
|
|
className="border-0 h-100 pl-2 btn fab fa-twitter"> |
|
|
|
|
</button> |
|
|
|
|
</OverlayTrigger> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
|
|
<OverlayTrigger placement={'top'} overlay={ |
|
|
|
|
<Tooltip className="text-nowrap" id="overlay-tooltip"> |
|
|
|
|
<span className="border bg-light text-dark p-1 pr-3">Remix Linkedin Profile</span> |
|
|
|
|
</Tooltip> |
|
|
|
|
}> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={'top'} |
|
|
|
|
tooltipId="overlay-tooltip" |
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
tooltipText="Remix Linkedin Profile" |
|
|
|
|
tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={() => openLink("https://www.linkedin.com/company/ethereum-remix/")} |
|
|
|
|
className="border-0 h-100 pl-2 btn fa fa-linkedin"> |
|
|
|
|
</button> |
|
|
|
|
</OverlayTrigger> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
|
|
<OverlayTrigger placement={'top'} overlay={ |
|
|
|
|
<Tooltip className="text-nowrap" id="overlay-tooltip"> |
|
|
|
|
<span className="border bg-light text-dark p-1 pr-3">Remix Medium Posts</span> |
|
|
|
|
</Tooltip> |
|
|
|
|
}> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={'top'} |
|
|
|
|
tooltipId="overlay-tooltip" |
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
tooltipText="Remix Medium Posts" |
|
|
|
|
tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={() => openLink("https://medium.com/remix-ide")} |
|
|
|
|
className="border-0 h-100 pl-2 btn fab fa-medium"> |
|
|
|
|
</button> |
|
|
|
|
</OverlayTrigger> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
|
|
<OverlayTrigger placement={'top'} overlay={ |
|
|
|
|
<Tooltip className="text-nowrap" id="overlay-tooltip"> |
|
|
|
|
<span className="border bg-light text-dark p-1 pr-3">Remix Gitter channel</span> |
|
|
|
|
</Tooltip> |
|
|
|
|
}> |
|
|
|
|
<CustomTooltip |
|
|
|
|
placement={'top'} |
|
|
|
|
tooltipId="overlay-tooltip" |
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
tooltipText="Remix Gitter Channel" |
|
|
|
|
tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
onClick={() => openLink("https://gitter.im/ethereum/remix")} |
|
|
|
|
className="border-0 h-100 pl-2 btn fab fa-gitter"> |
|
|
|
|
</button> |
|
|
|
|
</OverlayTrigger> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<b className="pb-1 text-dark" style={{ fontStyle: 'italic' }}>The Native IDE for Web3 Development.</b> |
|
|
|
|