import * as React from 'react';
import { PageTitle } from '../../components/PageTitle';
import { Timestamp } from '../../components/time/Timestamp';
import { eventLogger } from '../../tracking/eventLogger';
/**
 * The organization overview page.
 */
export class OrgOverviewPage extends React.PureComponent {
    componentDidMount() {
        eventLogger.logViewEvent('OrgOverview');
    }
    render() {
        return (React.createElement("div", { className: "org-page org-overview-page" },
            React.createElement(PageTitle, { title: this.props.org.name }),
            React.createElement("p", null,
                this.props.org.displayName ? (React.createElement(React.Fragment, null,
                    this.props.org.displayName,
                    " (",
                    this.props.org.name,
                    ")")) : (this.props.org.name),
                ' ',
                "was created ",
                React.createElement(Timestamp, { date: this.props.org.createdAt }),
                ".")));
    }
}
//# sourceMappingURL=OrgOverviewPage.js.map