@fortawesome/free-brands-svg-icons#faReddit TypeScript Examples
The following examples show how to use
@fortawesome/free-brands-svg-icons#faReddit.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.component.ts From thorchain-explorer-singlechain with MIT License | 5 votes |
constructor(private thorchainNetworkService: ThorchainNetworkService) {
this.twitterIcon = faTwitter;
this.redditIcon = faReddit;
this.gitlabIcon = faGitlab;
this.telegramIcon = faTelegram;
this.discordIcon = faDiscord;
this.mediumIcon = faMedium;
}
Example #2
Source File: HelpView.tsx From mysterium-vpn-desktop with MIT License | 4 votes |
HelpView: React.FC = observer(function HelpView() {
const { navigation } = useStores()
const navigate = useNavigate()
const location = useLocation()
const isBugReportActive = location.pathname.includes(locations.helpBugReport)
const isTermsAndConditionsActive = location.pathname.includes(locations.helpTermsAndConditions)
return (
<ViewContainer>
<ViewNavBar />
<ViewSplit>
<ViewSidebar>
<SideTop>
<IconPerson color={brandLight} />
<Title>Get help</Title>
<Small>Help using Mysterium VPN</Small>
</SideTop>
<SideBot>
<SupportChatButton onClick={() => navigation.openChat()}>
<FontAwesomeIcon icon={faComments} />
Support chat
</SupportChatButton>
<NavButton active={isBugReportActive} onClick={() => navigate(locations.helpBugReport)}>
<FontAwesomeIcon icon={faBug} />
Bug report
</NavButton>
<NavButton
active={isTermsAndConditionsActive}
onClick={() => navigate(locations.helpTermsAndConditions)}
>
<FontAwesomeIcon icon={faFileContract} />
Terms & Conditions
</NavButton>
<NavButton active={false} onClick={() => shell.openExternal("https://docs.mysterium.network")}>
<FontAwesomeIcon icon={faBook} />
Documentation
</NavButton>
<SocialButtons>
<IconButton
active={false}
onClick={() => {
shell.openExternal("https://discordapp.com/invite/n3vtSwc")
}}
>
<FontAwesomeIcon icon={faDiscord} size="2x" />
</IconButton>
<IconButton
active={false}
onClick={() => {
shell.openExternal("https://www.reddit.com/r/MysteriumNetwork/")
}}
>
<FontAwesomeIcon icon={faReddit} size="2x" />
</IconButton>
<IconButton active={false}>
<FontAwesomeIcon
icon={faTwitter}
size="2x"
onClick={() => {
shell.openExternal("https://twitter.com/MysteriumNet")
}}
/>
</IconButton>
<IconButton active={false}>
<FontAwesomeIcon
icon={faFacebookSquare}
size="2x"
onClick={() => {
shell.openExternal("https://www.facebook.com/MysteriumNet")
}}
/>
</IconButton>
</SocialButtons>
<Version />
</SideBot>
</ViewSidebar>
<Content>
<Outlet />
</Content>
</ViewSplit>
</ViewContainer>
)
})
Example #3
Source File: theme.ts From NextJS-NestJS-GraphQL-Starter with MIT License | 4 votes |
theme: ThemeConfig = {
Popover: {
Title: {
styles: {
base: {
paddingRight: 'major-1'
}
}
}
},
Tooltip: {
Content: {
styles: {
base: css`
z-index: 999;
`
}
}
},
PageWithSidebar: {
styles: {
base: css`
z-index: 10;
position: relative;
`
}
},
PageWithHeader: {
styles: {
base: css`
display: flex;
flex-direction: column;
.bb-PageWithHeaderContent {
display: flex;
flex-direction: column;
flex: 1;
}
.bb-PageContentWrapper {
flex-grow: 1;
flex-shrink: 1;
flex-basis: 0%;
}
`
}
},
Container: {
styles: {
fluid: {
maxWidth: '100%'
}
}
},
Icon: {
styles: {
base: {
color: 'text300'
}
},
iconSets: [
{
icons: [
faComment,
faThumbsUp,
faBookmark,
faTrashAlt,
faPlusSquare,
faFileCode,
faArrowAltCircleLeft,
faArrowAltCircleRight,
faShareSquare,
faImage
],
prefix: 'r-',
type: 'font-awesome'
},
{
icons: [faMarkdown, faJs, faGithub, faReddit, faGoogle],
prefix: 'b-',
type: 'font-awesome'
}
]
},
global: {
fontSize: 16,
styles: {
base: {
color: 'text300'
}
}
},
fonts: {
// default: 'Comic Sans MS'
},
palette: {
primary: '#d504f8'
},
breakpoints: {
mobile: 520,
tablet: 960
},
SelectMenu: {
styles: {
base: {
backgroundColor: 'white'
}
}
},
Button: {
styles: {
base: {
color: 'white'
},
ghost: {
color: 'primary',
borderColor: 'primary',
borderWidth: '1px',
borderStyle: 'solid'
},
outlined: {
borderColor: 'primary',
borderWidth: '1px',
borderStyle: 'solid'
}
},
defaultProps: {
palette: 'primary'
}
},
Text: {
styles: {
base: {
color: 'text300'
}
}
},
Heading: {
styles: {
base: {
color: 'text300'
}
},
h3: {
styles: {
base: {
color: 'text300',
fontSize: '1.25rem'
}
}
}
}
}