Skip to content

Commit

Permalink
ui make-up
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 1, 2021
1 parent 0c2fa46 commit 6249620
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
15 changes: 10 additions & 5 deletions src/app/component/nav/common/bottom-nav/bottom-nav.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<app-dropdown-menu #dropdownMenuServices [options]="SERVICES">
</app-dropdown-menu>
<nav class="bottom-nav">
<a (click)="closeSettings()" *ngIf="openSettings" href="javascript:void(0)">
<a (click)="closeSettings(); dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()"
*ngIf="openSettings" href="javascript:void(0)">
<i aria-hidden="true" class="material-icons">arrow_back_ios</i>
<span>
Back
Expand All @@ -21,25 +22,29 @@
Services
</span>
</a>
<a *ngIf="!openSettings" routerLink="{{ URLS.pricing }}">
<a *ngIf="!openSettings" routerLink="{{ URLS.pricing }}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<i aria-hidden="true" [class]="'fas fa-dollar-sign fa-fw'"></i>
<span>
Pricing
</span>
</a>
<a (click)="openSettings = !openSettings" *ngIf="!openSettings" href="javascript:void(0)">
<a (click)="openSettings = !openSettings; dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()"
*ngIf="!openSettings" href="javascript:void(0)">
<i aria-hidden="true" class="material-icons">settings</i>
<span>
More
</span>
</a>
<a class="demo" *ngIf="openSettings && !openOtherSettings" routerLink="{{ URLS.maintenance }}">
<a class="demo" *ngIf="openSettings && !openOtherSettings" routerLink="{{ URLS.maintenance }}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<i aria-hidden="true" [class]="'fas fa-laptop-code fa-fw'"></i>
<span>
Request for Demo
</span>
</a>
<a *ngIf="openSettings && !openOtherSettings" routerLink="{{ URLS.maintenance }}">
<a *ngIf="openSettings && !openOtherSettings" routerLink="{{ URLS.maintenance }}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<i aria-hidden="true" [class]="'fas fa-address-card fa-fw'"></i>
<span>
Contact Us
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<nav class="top-nav rounded-box">
<a class="brand" routerLink="{{URLS.root}}">
<a class="brand" routerLink="{{URLS.root}}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<img [src]="brand.brandLogo" alt="logo" class="brand-logo" height="40"/>
<h2>Open Template Hub</h2>
</a>
Expand All @@ -16,18 +17,21 @@ <h2>Open Template Hub</h2>
<i aria-hidden="true" class="material-icons">expand_more</i>
</app-dropdown-menu>
</a>
<a routerLink="{{URLS.pricing}}">
<a routerLink="{{URLS.pricing}}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<span>
Pricing
</span>
</a>
</div>
<a class="demo" routerLink="{{URLS.maintenance}}">
<a class="demo" routerLink="{{URLS.maintenance}}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<span>
Request for Demo
</span>
</a>
<a class="contact-us" routerLink="{{URLS.maintenance}}">
<a class="contact-us" routerLink="{{URLS.maintenance}}"
(click)="dropdownMenuProducts.closeDropdown(); dropdownMenuServices.closeDropdown()">
<span>
Contact Us
</span>
Expand Down

0 comments on commit 6249620

Please sign in to comment.