diff --git a/ui/src/alerting/components/AlertingIndex.scss b/ui/src/alerting/components/AlertingIndex.scss index 40a8cec2c6c..143ca7d8987 100644 --- a/ui/src/alerting/components/AlertingIndex.scss +++ b/ui/src/alerting/components/AlertingIndex.scss @@ -30,7 +30,7 @@ */ .alerting-first-time { - border: $ix-border solid $c-ocean; + border: $ix-border solid $c-sapphire; h1, h5 { @@ -43,9 +43,9 @@ } h5 { - margin-bottom: 0; line-height: 1.5em; font-weight: 500; + margin-bottom: 1.5em; strong { font-weight: 900; diff --git a/ui/src/alerting/components/CheckCards.tsx b/ui/src/alerting/components/CheckCards.tsx index 3dcbf3d9e62..83ff90eb94d 100644 --- a/ui/src/alerting/components/CheckCards.tsx +++ b/ui/src/alerting/components/CheckCards.tsx @@ -3,7 +3,15 @@ import React, {FunctionComponent} from 'react' //Components import CheckCard from 'src/alerting/components/CheckCard' -import {EmptyState, ResourceList, Panel, Gradients} from '@influxdata/clockface' +import { + EmptyState, + ResourceList, + Panel, + Gradients, + Button, + IconFont, + ComponentColor, +} from '@influxdata/clockface' // Types import {Check} from 'src/types' @@ -12,18 +20,23 @@ import {ComponentSize} from '@influxdata/clockface' interface Props { checks: Check[] showFirstTimeWidget: boolean + onCreateCheck: () => void } const CheckCards: FunctionComponent = ({ checks, showFirstTimeWidget, + onCreateCheck, }) => { return ( <> + } > {checks.map(check => ( @@ -37,15 +50,17 @@ const CheckCards: FunctionComponent = ({ interface EmptyProps { showFirstTimeWidget: boolean + onCreateCheck: () => void } const EmptyChecksList: FunctionComponent = ({ showFirstTimeWidget, + onCreateCheck, }) => { if (showFirstTimeWidget) { return ( @@ -58,8 +73,15 @@ const EmptyChecksList: FunctionComponent = ({
Welcome to our new Monitoring & Alerting feature!
- Try creating a Check to get started + To get started try creating a Check:
+