1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

refactor: rename demo img assets (#3795)

Small PR that simply renames `demo`-related assets for better
organization and readability.
This commit is contained in:
Nuno Góis 2023-05-17 09:47:19 +01:00 committed by GitHub
parent 45505d6996
commit 6d473164ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -1,5 +1,5 @@
import { Button, Divider, Typography, styled } from '@mui/material';
import qrImage from 'assets/img/demoQR.png';
import demoQR from 'assets/img/demo-qr.png';
import { formatAssetPath } from 'utils/formatPath';
import { Launch } from '@mui/icons-material';
import { DemoDialog } from '../DemoDialog';
@ -72,7 +72,7 @@ export const DemoDialogWelcome = ({
Scan the QR code with your phone
</StyledScanMessage>
<StyledQRCode
src={formatAssetPath(qrImage)}
src={formatAssetPath(demoQR)}
alt="Demo QR Code"
/>
<StyledDivider>OR</StyledDivider>

View File

@ -4,7 +4,7 @@ import { Badge } from 'component/common/Badge/Badge';
import { Step } from 'react-joyride';
import { gradualRollout, variants } from './demo-setup';
import { basePath, formatAssetPath } from 'utils/formatPath';
import userIdImage from 'assets/img/userId-image.png';
import demoUserId from 'assets/img/demo-userid.png';
export interface ITutorialTopicStep extends Step {
href?: string;
@ -226,7 +226,7 @@ export const TOPICS: ITutorialTopic[] = [
You can find your userId on the demo page.
</Badge>
<StyledImg
src={formatAssetPath(userIdImage)}
src={formatAssetPath(demoUserId)}
alt="You can find your userId on the demo page."
/>
<Description sx={{ mt: 1 }}>
@ -577,7 +577,7 @@ export const TOPICS: ITutorialTopic[] = [
You can find your userId on the demo page.
</Badge>
<StyledImg
src={formatAssetPath(userIdImage)}
src={formatAssetPath(demoUserId)}
alt="You can find your userId on the demo page."
/>
<Description sx={{ mt: 1 }}>