moved svg file to separate folder

This commit is contained in:
Joachim 2018-09-01 19:56:19 +02:00
parent 7825b09666
commit 8f8a1906bd
5 changed files with 4 additions and 4 deletions

View File

@ -21,10 +21,10 @@ export class TopmenuComponent implements OnInit {
public dialog: MatDialog, public dialog: MatDialog,
private matIconRegistry: MatIconRegistry, private matIconRegistry: MatIconRegistry,
private domSanitizer: DomSanitizer) { private domSanitizer: DomSanitizer) {
this.matIconRegistry.addSvgIcon(`stroller`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/stroller.svg')); this.matIconRegistry.addSvgIcon(`stroller`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/stroller.svg'));
this.matIconRegistry.addSvgIcon(`car-color`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/car-color.svg')); this.matIconRegistry.addSvgIcon(`car-color`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/car-color.svg'));
this.matIconRegistry.addSvgIcon(`delivery-bike`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/deliverybike.svg')); this.matIconRegistry.addSvgIcon(`delivery-bike`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/deliverybike.svg'));
this.matIconRegistry.addSvgIcon(`speed-car`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/speed-car.svg')); this.matIconRegistry.addSvgIcon(`speed-car`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/speed-car.svg'));
} }
ngOnInit() { ngOnInit() {

View File

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB