add links

This commit is contained in:
tarafanlin 2022-01-25 11:05:50 -08:00 committed by Martina
parent fe7999a745
commit fb1c71c5b5
2 changed files with 12 additions and 11 deletions

View File

@ -64,6 +64,11 @@ const styleFlexFull = {
};
export const WebsiteFooter = (props) => {
const discordURL = "https://discord.gg/NRsUjpCypr";
const twitterURL = "https://twitter.com/_slate";
const githubURL = "https://github.com/filecoin-project/slate/issues/126";
const extensionURL =
"https://chrome.google.com/webstore/detail/slate-web-extension/gloembacbehhbfbkcfjmloikeeaebnoc";
return (
<div css={STYLES_ROOT}>
<div css={STYLES_CONTAINER} style={props.style}>
@ -72,28 +77,21 @@ export const WebsiteFooter = (props) => {
<div css={STYLES_FLEX}>
<div css={STYLES_CONTENT_BLOCK}>
<div>Resources</div>
<a
css={STYLES_LINK}
href="https://chrome.google.com/webstore/detail/slate-web-extension/gloembacbehhbfbkcfjmloikeeaebnoc"
>
<a css={STYLES_LINK} href={extensionURL}>
Slate for Chrome
</a>
<br />
<a
css={STYLES_LINK}
href="https://github.com/filecoin-project/slate/issues/126"
target="_blank"
>
<a css={STYLES_LINK} href={githubURL} target="_blank">
Github
</a>
</div>
<div css={STYLES_CONTENT_BLOCK}>
<div>Contact & Support</div>
<a css={STYLES_LINK} href="https://twitter.com/_slate" target="_blank">
<a css={STYLES_LINK} href={twitterURL} target="_blank">
Twitter
</a>
<br />
<a css={STYLES_LINK} href="https://github.com/filecoin-project/slate" target="_blank">
<a css={STYLES_LINK} href={discordURL} target="_blank">
Discord
</a>
</div>

View File

@ -833,6 +833,7 @@ export default function IndexPage() {
const image =
"https://slate.textile.io/ipfs/bafkreifww37ypduoi5pvj2cuikz7iycp7l5h7czke6lcboukkaqkoab3t4";
const signInURL = "/_/auth";
const discordURL = "https://discord.gg/NRsUjpCypr";
const {
getFieldProps: getSignupFielProps,
getFormProps: getSigninFormProps,
@ -1041,6 +1042,8 @@ export default function IndexPage() {
<a
css={STYLES_BUTTON_PRIMARY_BIG}
style={{ backgroundColor: "#7289d9", marginTop: 24 }}
href={discordURL}
target="_blank"
>
<SVGLogo.Discord height="14px" style={{ marginRight: "16px" }} />
Join Discord channel