feat: optimize theme images

This commit is contained in:
Sergey Andrievskiy 2020-04-02 11:41:41 +03:00
parent 2580b8c42b
commit 2bf5a0be8a
18 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ export class MainInfoSectionComponent implements OnDestroy {
public get imageUrl(): string {
return this.forMaterialTheme !== false
? 'assets/img/ngx-admin-material.png'
? 'assets/img/ngx-admin-material.jpg'
: 'assets/img/ngx-admin.png';
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 KiB

After

Width:  |  Height:  |  Size: 328 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -38,7 +38,7 @@
<nb-card (click)="navigate(theme.value)">
<nb-card-header>{{theme.name}}</nb-card-header>
<nb-card-body>
<img src="assets/images/{{theme.value}}-theme.png"
<img src="assets/images/{{theme.value}}-theme.jpg"
class="theme-preview"
alt="{{theme.name}} Theme"/>
</nb-card-body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB