зеркало из https://github.com/mozilla/hubs.git
Merge pull request #1368 from mozilla/update-discord-bot-link
Discord Bot Beta
This commit is contained in:
Коммит
62e3577984
|
@ -13,8 +13,7 @@ import en from "react-intl/locale-data/en";
|
|||
import { lang, messages } from "./utils/i18n";
|
||||
|
||||
addLocaleData([...en]);
|
||||
const contactEmail = "hubs@mozilla.com";
|
||||
const contactSubject = "Hubs Discord Bot Invite";
|
||||
const inviteUrl = "https://forms.gle/GGPgarSuY5WaTNCT8";
|
||||
|
||||
class DiscordLanding extends Component {
|
||||
componentDidMount() {}
|
||||
|
@ -46,10 +45,7 @@ class DiscordLanding extends Component {
|
|||
<FormattedMessage id="discord.secondary_tagline" />
|
||||
</div>
|
||||
<div className={styles.actionButtons}>
|
||||
<a
|
||||
href={`mailto:${contactEmail}?subject=${encodeURIComponent(contactSubject)}`}
|
||||
className={styles.downloadButton}
|
||||
>
|
||||
<a href={inviteUrl} className={styles.downloadButton}>
|
||||
<div>
|
||||
<FormattedMessage id="discord.contact_us" />
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче