web/satellite/images: reduce svg size
Currently uploadObjectStep.svg was a large file that was embedded into the js bundle. This reduces the gzipped bundle size by 80KB. Change-Id: Iff673ca44330b345eb6b317175cd8bf4e1efd29b
This commit is contained in:
parent
d043b9facd
commit
6b7473e8b9
@ -14,7 +14,7 @@
|
||||
to your
|
||||
<b class="upload-object__msg__bold">Desktop.</b>
|
||||
</p>
|
||||
<Icon class="upload-object__icon" />
|
||||
<img class="upload-object__icon" src="@/../static/images/onboardingTour/cheesecake.jpg" alt="Cheesecake">
|
||||
<p class="upload-object__msg">
|
||||
Now to upload the photo, use the copy command.
|
||||
</p>
|
||||
@ -42,15 +42,12 @@ import CLIFlowContainer from "@/components/onboardingTour/steps/common/CLIFlowCo
|
||||
import OSContainer from "@/components/onboardingTour/steps/common/OSContainer.vue";
|
||||
import TabWithCopy from "@/components/onboardingTour/steps/common/TabWithCopy.vue";
|
||||
|
||||
import Icon from "@/../static/images/onboardingTour/uploadObjectStep.svg";
|
||||
|
||||
// @vue/component
|
||||
@Component({
|
||||
components: {
|
||||
CLIFlowContainer,
|
||||
OSContainer,
|
||||
TabWithCopy,
|
||||
Icon,
|
||||
}
|
||||
})
|
||||
export default class UploadObject extends Vue {
|
||||
@ -87,6 +84,7 @@ export default class UploadObject extends Vue {
|
||||
|
||||
&__icon {
|
||||
margin: 20px 0 40px 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
web/satellite/static/images/onboardingTour/cheesecake.jpg
Normal file
BIN
web/satellite/static/images/onboardingTour/cheesecake.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 478 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 104 KiB |
Loading…
Reference in New Issue
Block a user