mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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 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>
 | 
			
		||||
 | 
			
		||||
@ -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 }}>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user