import styled from '@emotion/styled'; import replaysDeadRageBackground from 'sentry-images/spot/replay-dead-rage-changelog.svg'; import PageBanner from 'sentry/components/alerts/pageBanner'; import {LinkButton} from 'sentry/components/button'; import {IconBroadcast} from 'sentry/icons'; import {t, tct} from 'sentry/locale'; import useDismissAlert from 'sentry/utils/useDismissAlert'; const LOCAL_STORAGE_KEY = 'release-v1-feedback-dismissed'; /** * Copied from static/app/components/feedback/feedbackSetupBanner.tsx */ export default function ReleaseFeedbackBanner() { const {dismiss, isDismissed} = useDismissAlert({key: LOCAL_STORAGE_KEY}); const ctaButton = ( {t('Email Us')} ); return isDismissed ? null : ( } image={replaysDeadRageBackground} title={tct("[blue:What's New]", {blue: })} onDismiss={dismiss} /> ); } const Blue = styled('span')` color: ${p => p.theme.blue400}; font-weight: bold; `;