aboutus works!
2 | -------------------------------------------------------------------------------- /src/app/shared/aboutus.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-aboutus', 5 | templateUrl: './aboutus.component.html', 6 | styleUrls: ['./aboutus.component.css'] 7 | }) 8 | export class AboutusComponent implements OnInit { 9 | 10 | constructor() { } 11 | 12 | ngOnInit(): void { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/app/shared/dropzone/dropzone.directive.ts: -------------------------------------------------------------------------------- 1 | import { Directive, HostListener, Output, EventEmitter } from '@angular/core'; 2 | 3 | @Directive({ 4 | selector: '[appDropZone]' 5 | }) 6 | 7 | export class DropZoneDirective { 8 | @Output() dropped = new EventEmitterhelpdesk works!
2 | -------------------------------------------------------------------------------- /src/app/shared/helpdesk.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-helpdesk', 5 | templateUrl: './helpdesk.component.html', 6 | styleUrls: ['./helpdesk.component.css'] 7 | }) 8 | export class HelpdeskComponent implements OnInit { 9 | 10 | constructor() { } 11 | 12 | ngOnInit(): void { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/app/shared/router.aimations.ts: -------------------------------------------------------------------------------- 1 | import {trigger, state, animate, style, transition} from '@angular/animations'; 2 | 3 | export function moveIn() { 4 | return trigger('moveIn', [ 5 | state('void', style({position: 'fixed', width: '100%'}) ), 6 | state('*', style({position: 'fixed', width: '100%'}) ), 7 | transition(':enter', [ 8 | style({opacity:'0', transform: 'translateX(100px)'}), 9 | animate('.6s ease-in-out', style({opacity:'1', transform: 'translateX(0)'})) 10 | ]), 11 | transition(':leave', [ 12 | style({opacity:'1', transform: 'translateX(0)'}), 13 | animate('.3s ease-in-out', style({opacity:'0', transform: 'translateX(-200px)'})) 14 | ]) 15 | ]); 16 | } 17 | 18 | export function fallIn() { 19 | return trigger('fallIn', [ 20 | transition(':enter', [ 21 | style({opacity:'0', transform: 'translateY(40px)'}), 22 | animate('.4s .2s ease-in-out', style({opacity:'1', transform: 'translateY(0)'})) 23 | ]), 24 | transition(':leave', [ 25 | style({opacity:'1', transform: 'translateX(0)'}), 26 | animate('.3s ease-in-out', style({opacity:'0', transform: 'translateX(-200px)'})) 27 | ]) 28 | ]); 29 | } 30 | 31 | export function moveInLeft() { 32 | return trigger('moveInLeft', [ 33 | transition(':enter', [ 34 | style({opacity:'0', transform: 'translateX(-100px)'}), 35 | animate('.6s .2s ease-in-out', style({opacity:'1', transform: 'translateX(0)'})) 36 | ]) 37 | ]); 38 | } -------------------------------------------------------------------------------- /src/app/shared/router.animations.ts: -------------------------------------------------------------------------------- 1 | import { trigger, state, animate, style, transition } from '@angular/animations'; 2 | 3 | export function fallIn() { 4 | return trigger('fallIn',[ 5 | transition(':enter', [ 6 | style({opacity:'0', transform: 'translateY(40px)'}), 7 | animate('.4s .2s ease-in-out', style({opacity:'1', transform: 'translateY(0)'})) 8 | ]), 9 | transition(':leave', [ 10 | style({opacity:'1', transform: 'translateX(0)'}), 11 | animate('.3s ease-in-out', style({opacity:'0', transform: 'translateX(-200px)'})) 12 | ]) 13 | ]); 14 | } 15 | 16 | 17 | export function moveIn() { 18 | return trigger('moveIn', [ 19 | state('void', style({position: 'fixed', width: '100%'}) ), 20 | state('*', style({position: 'fixed', width: '100%'}) ), 21 | transition(':enter', [ 22 | style({opacity:'0', transform: 'translateX(100px)'}), 23 | animate('.6s ease-in-out', style({opacity:'1', transform: 'translateX(0)'})) 24 | ]), 25 | transition(':leave', [ 26 | style({opacity:'1', transform: 'translateX(0)'}), 27 | animate('.3s ease-in-out', style({opacity:'0', transform: 'translateX(-200px)'})) 28 | ]) 29 | ]); 30 | } 31 | 32 | export function moveInLeft() { 33 | return trigger('moveInLeft', [ 34 | transition(':enter', [ 35 | style({opacity:'0', transform: 'translateX(-100px)'}), 36 | animate('.6s .2s ease-in-out', style({opacity:'1', transform: 'translateX(0)'})) 37 | ]) 38 | ]); 39 | } -------------------------------------------------------------------------------- /src/app/shared/simpleheader.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmitXShukla/ERP-Apps-CRM-Cloud-Angular_Firebase/999125fee3ffe382ecff2af9f6dd7e93405ae05b/src/app/shared/simpleheader.component.css -------------------------------------------------------------------------------- /src/app/shared/simpleheader.component.html: -------------------------------------------------------------------------------- 1 |