-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.component.html
More file actions
21 lines (21 loc) · 1.04 KB
/
app.component.html
File metadata and controls
21 lines (21 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<button (click)="scroll(mainContent)" class="skip-to-main" tabindex="1">Skip To Main</button>
<app-header ></app-header>
<div class="router-wrapper" [@routeAnimations]="getRouteAnimationData()">
<router-outlet #outlet="outlet" (activate)="routeAnimation()" #mainContent></router-outlet>
</div>
<div id="chatPopup" *ngIf="!dataProvider.gettingUserData" (mouseleave)="chatPopupVisible=true"
(mouseenter)="chatPopupVisible=false" [style]="chatOpen ? 'width:auto;height:auto;' : 'width:50px;height:50px;'">
<i *ngIf="chatPopupVisible && !chatOpen" class="ri-chat-3-fill"></i>
<i *ngIf="!chatPopupVisible && !chatOpen" class="ri-arrow-up-s-line" (click)="chatOpen=!chatOpen"></i>
<div *ngIf="chatOpen">
<app-chat (visible)="chatOpen = $event"></app-chat>
</div>
</div>
<div class="fixedDebugBar" *ngIf="!environment.production">
<!-- <p>Debug bar (Not for production): </p> -->
<i class="ri-bug-fill"></i>
{{getWindow.innerWidth}} {{getWindow.scrollY}}
</div>
<div id="changer">
<div id="routeName">{{routePath}}</div>
</div>