mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-08 01:15:49 +02:00
fix: onboarding img asset path (#8213)
This commit is contained in:
parent
553e04994e
commit
f45b7a07b4
@ -5,6 +5,7 @@ import { ReactComponent as UnleashLogoWhite } from 'assets/img/logoWithWhiteText
|
|||||||
import { ThemeMode } from '../common/ThemeMode/ThemeMode';
|
import { ThemeMode } from '../common/ThemeMode/ThemeMode';
|
||||||
import onboardingConcepts from 'assets/img/onboardingConcepts.png';
|
import onboardingConcepts from 'assets/img/onboardingConcepts.png';
|
||||||
import { ScreenReaderOnly } from '../common/ScreenReaderOnly/ScreenReaderOnly';
|
import { ScreenReaderOnly } from '../common/ScreenReaderOnly/ScreenReaderOnly';
|
||||||
|
import { formatAssetPath } from 'utils/formatPath';
|
||||||
|
|
||||||
const StyledDialog = styled(Dialog)(({ theme }) => ({
|
const StyledDialog = styled(Dialog)(({ theme }) => ({
|
||||||
'& .MuiDialog-paper': {
|
'& .MuiDialog-paper': {
|
||||||
@ -69,7 +70,7 @@ export const WelcomeDialog: FC<IWelcomeDialogProps> = ({ open, onClose }) => {
|
|||||||
</Typography>{' '}
|
</Typography>{' '}
|
||||||
in order to work effectively with Unleash
|
in order to work effectively with Unleash
|
||||||
</Box>
|
</Box>
|
||||||
<StyledImg src={onboardingConcepts} />
|
<StyledImg src={formatAssetPath(onboardingConcepts)} />
|
||||||
<ScreenReaderOnly>
|
<ScreenReaderOnly>
|
||||||
<h2>Environments</h2>
|
<h2>Environments</h2>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user