import {css, useTheme} from '@emotion/react'; import styled from '@emotion/styled'; import ProgressRing from 'sentry/components/progressRing'; import {t} from 'sentry/locale'; import space from 'sentry/styles/space'; import {OnboardingTaskDescriptor, OnboardingTaskStatus} from 'sentry/types'; type Props = { allTasks: OnboardingTaskDescriptor[]; completedTasks: OnboardingTaskStatus[]; }; function ProgressHeader({allTasks, completedTasks}: Props) { const theme = useTheme(); return ( css` font-size: 26px; color: ${theme.textColor}; `} /> {t('Quick Start')} {t('Walk through this guide to get the most out of Sentry right away.')} ); } export default ProgressHeader; const Container = styled('div')` display: grid; grid-template-columns: min-content 1fr; grid-template-rows: min-content 1fr; grid-column-gap: ${space(2)}; margin: 90px ${space(4)} 0 ${space(4)}; `; const StyledProgressRing = styled(ProgressRing)` grid-column: 1/2; grid-row: 1/3; `; const HeaderTitle = styled('h3')` margin: 0; grid-column: 2/3; grid-row: 1/2; `; const Description = styled('div')` color: ${p => p.theme.gray300}; grid-column: 2/3; grid-row: 2/3; `;