Alterando Logo e icones - RBL

This commit is contained in:
RBL 2024-10-23 21:08:42 -03:00
parent f8c10284fc
commit 7032dbff53
6 changed files with 24 additions and 16 deletions

View file

@ -188,5 +188,8 @@
"@angular-eslint/schematics:library": { "@angular-eslint/schematics:library": {
"setParserOptionsProject": true "setParserOptionsProject": true
} }
},
"cli": {
"analytics": false
} }
} }

View file

@ -4,7 +4,7 @@
<nb-icon icon="menu-2-outline"></nb-icon> <nb-icon icon="menu-2-outline"></nb-icon>
</a> </a>
<a class="logo" href="#" (click)="navigateHome()" <a class="logo" href="#" (click)="navigateHome()"
><span>Desapegrow</span></a ><img src="../../../../assets/images/Logo.png" width="210" height="170"></a
> >
</div> </div>
<nb-select <nb-select

View file

@ -12,14 +12,15 @@ export class IconsComponent {
evaIcons = []; evaIcons = [];
constructor(iconsLibrary: NbIconLibraries) { constructor(iconsLibrary: NbIconLibraries) {
this.evaIcons = Array.from(iconsLibrary.getPack('eva').icons.keys()) //this.evaIcons = Array.from(iconsLibrary.getPack('eva').icons.keys())
.filter(icon => icon.indexOf('outline') === -1); // .filter(icon => icon.indexOf('outline') === -1);
console.log(this.evaIcons); // console.log(this.evaIcons);
iconsLibrary.registerFontPack('fa', { packClass: 'fa', iconClassPrefix: 'fa' }); iconsLibrary.registerFontPack('fa', { packClass: 'fa', iconClassPrefix: 'fa' });
iconsLibrary.registerFontPack('far', { packClass: 'far', iconClassPrefix: 'fa' }); iconsLibrary.registerFontPack('far', { packClass: 'far', iconClassPrefix: 'far' });
iconsLibrary.registerFontPack('ion', { iconClassPrefix: 'ion' }); iconsLibrary.registerFontPack('fas', { packClass: 'fas', iconClassPrefix: 'fas' });
//iconsLibrary.registerFontPack('ion', { iconClassPrefix: 'ion' });
} }
icons = { icons = {
@ -46,10 +47,12 @@ export class IconsComponent {
'chart-bar', 'barcode', 'bars', 'bed', 'beer', 'chart-bar', 'barcode', 'bars', 'bed', 'beer',
'bell', 'bell-slash', 'bicycle', 'binoculars', 'bell', 'bell-slash', 'bicycle', 'binoculars',
'birthday-cake', 'bolt', 'bomb', 'book', 'bookmark', 'birthday-cake', 'bolt', 'bomb', 'book', 'bookmark',
'briefcase', 'bug', 'building', 'bullhorn', 'briefcase', 'bug', 'building', 'bullhorn'
], ],
fontAwesomeRegular: [ 'chart-bar', 'bell', 'bell-slash', 'bookmark', 'building' ], fontAwesomeRegular: [ 'chart-bar', 'bell', 'bell-slash', 'bookmark', 'building' ],
fontAwesomeSolid: [ 'chart-bar', 'bell', 'bell-slash', 'bookmark', 'building' ]
}; };
} }

View file

@ -7,7 +7,9 @@
<div class="category"> <div class="category">
<a href="" *ngFor="let category of categories"> <a href="" *ngFor="let category of categories">
<div class="text-container"> <div class="text-container">
<nb-icon [icon]="category.icon" pack="eva"></nb-icon> <i class="fa" [ngClass]="category.icon"></i>
<!--<i class="fa fa-user"></i>-->
<!-- <nb-icon [icon]="category.icon" pack="eva"></nb-icon>-->
<span class="title">{{category.name}}</span> <span class="title">{{category.name}}</span>
<i class="line"></i> <i class="line"></i>
</div> </div>

View file

@ -35,56 +35,56 @@ export class HomeComponent implements OnDestroy {
"id": "Nutrientes", "id": "Nutrientes",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-star"
}, },
{ {
"name": "Iluminação", "name": "Iluminação",
"id": "Decoração", "id": "Decoração",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "bulb-outline" "icon": "fa-lightbulb"
}, },
{ {
"name": "Hidroponia", "name": "Hidroponia",
"id": "Hidroponia", "id": "Hidroponia",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "droplet-outline" "icon": "fa-shower"
}, },
{ {
"name": "Irrigação", "name": "Irrigação",
"id": "Irrigação", "id": "Irrigação",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-faucet"
}, },
{ {
"name": "Colheita", "name": "Colheita",
"id": "Colheita", "id": "Colheita",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-tree"
}, },
{ {
"name": "Pragas", "name": "Pragas",
"id": "Pragas", "id": "Pragas",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-bug"
}, },
{ {
"name": "Potes e Vasos", "name": "Potes e Vasos",
"id": "Potes e Vasos", "id": "Potes e Vasos",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-toilet"
}, },
{ {
"name": "Substratos", "name": "Substratos",
"id": "Substratos", "id": "Substratos",
"updatedAt": new Date(), "updatedAt": new Date(),
"createdAt": new Date(), "createdAt": new Date(),
"icon": "arrow-ios-back-outline" "icon": "fa-solid fa-sack-xmark"
}, },
{ {
"name": "Controle", "name": "Controle",

BIN
src/assets/images/Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 KiB