The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/public/app/core/components/Login/UserSignup.tsx

27 lines
713 B

import { css } from '@emotion/css';
import React from 'react';
import { LinkButton, VerticalGroup } from '@grafana/ui';
import { getConfig } from 'app/core/config';
export const UserSignup = () => {
const href = getConfig().verifyEmailEnabled ? `${getConfig().appSubUrl}/verify` : `${getConfig().appSubUrl}/signup`;
const paddingTop = css({ paddingTop: '16px' });
return (
<VerticalGroup>
<div className={paddingTop}>New to Grafana?</div>
<LinkButton
className={css`
width: 100%;
justify-content: center;
`}
href={href}
variant="secondary"
fill="outline"
>
Sign up
</LinkButton>
</VerticalGroup>
);
};