Skip to content
Snippets Groups Projects
help-dialog.js 2.12 KiB
Newer Older
import React, { Component } from "react";
import { FormattedMessage } from "react-intl";
import DialogContainer from "./dialog-container.js";
import { WithHoverSound } from "./wrap-with-audio";

export default class HelpDialog extends Component {
  render() {
    return (
      <DialogContainer title="Getting Started" {...this.props}>
        <div className="info-dialog__help">
Greg Fodor's avatar
Greg Fodor committed
          <p style={{ textAlign: "center" }}>
            Join the Hubs community on{" "}
            <WithHoverSound>
              <a target="_blank" rel="noopener noreferrer" href="https://discord.gg/XzrGUY8">
                Discord
              </a>
            </WithHoverSound>
            !
Greg Fodor's avatar
Greg Fodor committed
          </p>
          <p>When in a room, other avatars can see and hear you.</p>
          <p>
Greg Fodor's avatar
Greg Fodor committed
            Use your controller&apos;s action button to teleport from place to place. If it has a grip, use it to pick
            up objects.
Greg Fodor's avatar
Greg Fodor committed
          <p>
            In VR, <b>look up</b> to find your menu.
          </p>
          <p>
            The <b>Mic Toggle</b> mutes your mic.
          </p>
          <p>
Greg Fodor's avatar
Greg Fodor committed
            The <b>Pause Toggle</b> pauses all other avatars and lets you block others or pin or remove objects.
          <p className="dialog__box__contents__links">
            <WithHoverSound>
              <a target="_blank" rel="noopener noreferrer" href="https://github.com/mozilla/hubs/blob/master/TERMS.md">
                <FormattedMessage id="profile.terms_of_use" />
              </a>
            </WithHoverSound>
            <WithHoverSound>
              <a
                target="_blank"
                rel="noopener noreferrer"
                href="https://github.com/mozilla/hubs/blob/master/PRIVACY.md"
              >
                <FormattedMessage id="profile.privacy_notice" />
              </a>
            </WithHoverSound>
            <WithHoverSound>
              <a target="_blank" rel="noopener noreferrer" href="/?report">
                <FormattedMessage id="help.report_issue" />
              </a>
            </WithHoverSound>
          </p>
        </div>
      </DialogContainer>