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