Commit 809335ac by Ooh-Ao

animation

parent a9e3ae51
......@@ -4,8 +4,8 @@
<app-sidebar appHoverEffectSidebar></app-sidebar>
<app-header></app-header>
<div class="content">
<div id="maincontent" class="main-content" (click)="togglesidemenuBody()">
<router-outlet></router-outlet>
<div id="maincontent" class="main-content" (click)="togglesidemenuBody()" [@routeAnimations]="o.isActivated && o.activatedRoute.routeConfig?.path">
<router-outlet #o="outlet"></router-outlet>
</div>
<app-backtotop></app-backtotop>
<div id="responsive-overlay" class="" (click)="clearToggle()"></div>
......
import { Component, ElementRef, HostListener, Renderer2 } from '@angular/core';
import { ChangeDetectionStrategy, Component, ElementRef, HostListener, Renderer2 } from '@angular/core';
import { Menu, NavService } from '../../services/navservice';
import { SwitcherService } from 'src/app/shared/services/switcher.service';
import * as switcher from '../../../shared/components/switcher/switcher';
import { routeAnimations } from '../../services/animations/route.animations';
@Component({
selector: 'app-full-layout',
templateUrl: './full-layout.component.html',
styleUrls: ['./full-layout.component.scss'],
animations: [routeAnimations],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FullLayoutComponent {
public menuItems!: Menu[];
......
......@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>Synto- Tailwind Angular Admin Template</title>
<title>APSPlus ระบบประเมินผลออนไลน์</title>
<base href="/" />
<!-- <base href="/synto/preview/" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment