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:
parent
45505d6996
commit
6d473164ab
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
@ -1,5 +1,5 @@
|
|||||||
import { Button, Divider, Typography, styled } from '@mui/material';
|
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 { formatAssetPath } from 'utils/formatPath';
|
||||||
import { Launch } from '@mui/icons-material';
|
import { Launch } from '@mui/icons-material';
|
||||||
import { DemoDialog } from '../DemoDialog';
|
import { DemoDialog } from '../DemoDialog';
|
||||||
@ -72,7 +72,7 @@ export const DemoDialogWelcome = ({
|
|||||||
Scan the QR code with your phone
|
Scan the QR code with your phone
|
||||||
</StyledScanMessage>
|
</StyledScanMessage>
|
||||||
<StyledQRCode
|
<StyledQRCode
|
||||||
src={formatAssetPath(qrImage)}
|
src={formatAssetPath(demoQR)}
|
||||||
alt="Demo QR Code"
|
alt="Demo QR Code"
|
||||||
/>
|
/>
|
||||||
<StyledDivider>OR</StyledDivider>
|
<StyledDivider>OR</StyledDivider>
|
||||||
|
@ -4,7 +4,7 @@ import { Badge } from 'component/common/Badge/Badge';
|
|||||||
import { Step } from 'react-joyride';
|
import { Step } from 'react-joyride';
|
||||||
import { gradualRollout, variants } from './demo-setup';
|
import { gradualRollout, variants } from './demo-setup';
|
||||||
import { basePath, formatAssetPath } from 'utils/formatPath';
|
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 {
|
export interface ITutorialTopicStep extends Step {
|
||||||
href?: string;
|
href?: string;
|
||||||
@ -226,7 +226,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
You can find your userId on the demo page.
|
You can find your userId on the demo page.
|
||||||
</Badge>
|
</Badge>
|
||||||
<StyledImg
|
<StyledImg
|
||||||
src={formatAssetPath(userIdImage)}
|
src={formatAssetPath(demoUserId)}
|
||||||
alt="You can find your userId on the demo page."
|
alt="You can find your userId on the demo page."
|
||||||
/>
|
/>
|
||||||
<Description sx={{ mt: 1 }}>
|
<Description sx={{ mt: 1 }}>
|
||||||
@ -577,7 +577,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
You can find your userId on the demo page.
|
You can find your userId on the demo page.
|
||||||
</Badge>
|
</Badge>
|
||||||
<StyledImg
|
<StyledImg
|
||||||
src={formatAssetPath(userIdImage)}
|
src={formatAssetPath(demoUserId)}
|
||||||
alt="You can find your userId on the demo page."
|
alt="You can find your userId on the demo page."
|
||||||
/>
|
/>
|
||||||
<Description sx={{ mt: 1 }}>
|
<Description sx={{ mt: 1 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user