github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/webapp/javascript/pages/IntroPages/Forbidden/index.tsx (about)

     1  /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['link'] }] */
     2  import React from 'react';
     3  import cx from 'classnames';
     4  import { Link } from 'react-router-dom';
     5  import styles from '../IntroPages.module.css';
     6  
     7  function ForbiddenPage() {
     8    return (
     9      <div className={styles.loginWrapper}>
    10        <div className={styles.form}>
    11          <div className={styles.formHeader}>
    12            <div className={styles.logo} />
    13            <h1>Authentication error</h1>
    14          </div>
    15          <Link to="/login" className={cx(styles.button, styles.buttonDark)}>
    16            Go back to login page
    17          </Link>
    18        </div>
    19      </div>
    20    );
    21  }
    22  
    23  export default ForbiddenPage;