mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
35 lines
1.1 KiB
JavaScript
35 lines
1.1 KiB
JavaScript
import React from "react";
|
|
import { FormattedMessage } from "react-intl";
|
|
import { NavDropdown, MenuItem } from "react-bootstrap";
|
|
import {
|
|
CUSTOMER_SUPPORT_LINK,
|
|
TUTORIALS_LINK,
|
|
RELEASE_NOTES_LINK,
|
|
PREMIUM_LINK,
|
|
CONTACT_US_LINK
|
|
} from "../../../app/routes";
|
|
|
|
const InfoDropdown = () =>
|
|
<NavDropdown
|
|
noCaret
|
|
title={<span className="glyphicon glyphicon-info-sign" />}
|
|
id="nav-info-dropdown"
|
|
>
|
|
<MenuItem href={CUSTOMER_SUPPORT_LINK} target="_blank">
|
|
<FormattedMessage id="info_dropdown.customer_support" />
|
|
</MenuItem>
|
|
<MenuItem href={TUTORIALS_LINK} target="_blank">
|
|
<FormattedMessage id="info_dropdown.tutorials" />
|
|
</MenuItem>
|
|
<MenuItem href={RELEASE_NOTES_LINK} target="_blank">
|
|
<FormattedMessage id="info_dropdown.release_notes" />
|
|
</MenuItem>
|
|
<MenuItem href={PREMIUM_LINK} target="_blank">
|
|
<FormattedMessage id="info_dropdown.premium" />
|
|
</MenuItem>
|
|
<MenuItem href={CONTACT_US_LINK} target="_blank">
|
|
<FormattedMessage id="info_dropdown.contact_us" />
|
|
</MenuItem>
|
|
</NavDropdown>;
|
|
|
|
export default InfoDropdown;
|