@material-ui/icons#Twitter TypeScript Examples

The following examples show how to use @material-ui/icons#Twitter. 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: Footer.tsx    From projectboard with MIT License 6 votes vote down vote up
Footer: React.FC<Props> = () => {
    return (
        <footer className="m-4 p-4 lg:p-10 rounded-md bg-indigo-600 text-white">
            <div className="flex justify-between flex-col md:flex-row items-center">
                <h1 className="font-semibold text-xl md:text-3xl">Project Board</h1>
                <div>
                    <Button>
                        <a
                            href="https://github.com/vishwajeetraj11/projectboard"
                            target="_blank"
                            referrerPolicy="no-referrer"
                            rel="noreferrer"
                        >
                            <GitHub className="text-white" />
                        </a>
                    </Button>
                    <Button>
                        <a
                            href="https://twitter.com/shuntzhere"
                            target="_blank"
                            referrerPolicy="no-referrer"
                            rel="noreferrer"
                        >
                            <Twitter className="text-white" />
                        </a>
                    </Button>
                </div>
            </div>
        </footer>
    );
}
Example #2
Source File: About.tsx    From max-todos with MIT License 5 votes vote down vote up
About = () => {
  return (
    <>
      <Container>
        <p style={{ fontSize: "1.3rem" }}>
          <b>Max Todos</b> is an open-source project started by Usman Sabuwala.
          This app focuses on the ease of use of a Todo App. Write your todos,
          change some settings, Enjoy!
        </p>
        <h2>Contact</h2>
        <a
          href="https://twitter.com/MaxProgramming1"
          style={{
            color: "#1CA0F1",
            textDecoration: "none",
            fontSize: "24px",
          }}
          target="_blank"
          rel="noopener noreferrer"
        >
          <Twitter fontSize="large" />
        </a>
        <a
          href="https://github.com/max-programming"
          style={{
            color: "#24292E",
            textDecoration: "none",
            fontSize: "24px",
          }}
          target="_blank"
          rel="noopener noreferrer"
        >
          <GitHub fontSize="large" />
        </a>
        <a
          href="https://www.facebook.com/usman.sabuwala.7"
          style={{
            color: "#0D8BF0",
            textDecoration: "none",
            fontSize: "24px",
          }}
          target="_blank"
          rel="noopener noreferrer"
        >
          <Facebook fontSize="large" />
        </a>
        <a
          href="https://youtube.com/MaxProgramming"
          style={{
            color: "#FD0000",
            textDecoration: "none",
            fontSize: "24px",
          }}
          target="_blank"
          rel="noopener noreferrer"
        >
          <YouTube fontSize="large" />
        </a>
        <a
          href="https://www.instagram.com/usmansabuwala7/"
          style={{
            color: "#CD2E96",
            textDecoration: "none",
            fontSize: "24px",
          }}
          target="_blank"
          rel="noopener noreferrer"
        >
          <Instagram fontSize="large" />
        </a>
      </Container>
    </>
  );
}
Example #3
Source File: index.tsx    From anchor-web-app with Apache License 2.0 4 votes vote down vote up
function FooterBase({ className, style }: FooterProps) {
  const { network } = useNetwork();
  const { data: lastSyncedHeight = 0 } = useLastSyncedHeightQuery();

  const {
    target: { isEVM },
  } = useDeploymentTarget();

  const { themeColor, switchable, updateTheme } = useTheme();

  const appVersion = import.meta.env.VITE_APP_VERSION;

  return (
    <footer className={className} style={style}>
      <Info>
        <div className="blocks">
          <a
            href={getBlockUrl(network.chainID, lastSyncedHeight)}
            target="_blank"
            rel="noreferrer"
          >
            <BlockInfo
              chainName={Chain.Terra}
              networkName={network.name}
              blockNumber={lastSyncedHeight}
            />
          </a>

          {isEVM && <EvmBlockInfo />}
        </div>

        {appVersion && <p>{appVersion}</p>}

        <Link to="/terms">Terms</Link>
      </Info>
      <div>
        <IconButton
          component="a"
          href="https://discord.gg/9aUYgpKZ9c"
          target="_blank"
          rel="noreferrer"
        >
          <Discord />
        </IconButton>
        <IconButton
          component="a"
          href="https://twitter.com/anchor_protocol"
          target="_blank"
          rel="noreferrer"
        >
          <Twitter />
        </IconButton>
        <IconButton
          component="a"
          href="https://t.me/anchor_official"
          target="_blank"
          rel="noreferrer"
        >
          <Telegram />
        </IconButton>
        <IconButton
          component="a"
          href="https://github.com/Anchor-Protocol"
          target="_blank"
          rel="noreferrer"
        >
          <GitHub />
        </IconButton>
        {switchable && (
          <IconButton
            onClick={() =>
              updateTheme(themeColor === 'light' ? 'dark' : 'light')
            }
          >
            {themeColor === 'light' ? <Brightness5 /> : <Brightness3 />}
          </IconButton>
        )}
      </div>
    </footer>
  );
}