-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from fga-eps-mds/46-footer-fix
46 footer fix
- Loading branch information
Showing
12 changed files
with
233 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,40 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { MenuItem, MessageService } from 'primeng/api'; | ||
|
||
|
||
@Component({ | ||
selector: 'app-background', | ||
templateUrl: './background.component.html', | ||
styleUrls: ['./background.component.css'], | ||
providers: [MessageService] | ||
providers: [MessageService], | ||
}) | ||
export class BackgroundComponent implements OnInit { | ||
items: MenuItem[] = []; | ||
mobileDevide: boolean = true; | ||
|
||
constructor( | ||
) { } | ||
constructor() {} | ||
|
||
ngOnInit(): void { | ||
this.items = [ | ||
{ | ||
label: 'Perfil', | ||
routerLink: '/profile' | ||
} | ||
] | ||
routerLink: '/profile', | ||
}, | ||
]; | ||
this.identifiesUserDevice(); | ||
} | ||
|
||
identifiesUserDevice(): void { | ||
if ( | ||
RegExp(/Android/i).exec(navigator.userAgent) || | ||
RegExp(/iPhone/i).exec(navigator.userAgent) || | ||
RegExp(/iPad/i).exec(navigator.userAgent) || | ||
RegExp(/iPod/i).exec(navigator.userAgent) || | ||
RegExp(/BlackBerry/i).exec(navigator.userAgent) || | ||
RegExp(/Windows Phone/i).exec(navigator.userAgent) | ||
) { | ||
this.mobileDevide = true; // está utilizando dispositivo móvel | ||
} else { | ||
this.mobileDevide = false; | ||
} | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>agora works!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { AgoraComponent } from './agora.component'; | ||
|
||
describe('AgoraComponent', () => { | ||
let component: AgoraComponent; | ||
let fixture: ComponentFixture<AgoraComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ AgoraComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(AgoraComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-agora', | ||
templateUrl: './agora.component.html', | ||
styleUrls: ['./agora.component.css'] | ||
}) | ||
export class AgoraComponent { | ||
|
||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>programacao works!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ProgramacaoComponent } from './programacao.component'; | ||
|
||
describe('ProgramacaoComponent', () => { | ||
let component: ProgramacaoComponent; | ||
let fixture: ComponentFixture<ProgramacaoComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ ProgramacaoComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ProgramacaoComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-programacao', | ||
templateUrl: './programacao.component.html', | ||
styleUrls: ['./programacao.component.css'] | ||
}) | ||
export class ProgramacaoComponent { | ||
|
||
} |