-
Notifications
You must be signed in to change notification settings - Fork 1
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 #1005 from bcgov/feature/ALCS-638
Update Main Page and Header
- Loading branch information
Showing
15 changed files
with
174 additions
and
8 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
20 changes: 16 additions & 4 deletions
20
portal-frontend/src/app/features/login/login.component.html
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,5 +1,17 @@ | ||
<div class="login-wrapper"> | ||
<h3>Welcome to the ALCS Application Portal</h3> | ||
<br /> | ||
<button (click)='onLogin()' mat-flat-button color='primary'>Login with BCeID</button> | ||
</div> | ||
<h3>Welcome to the ALC Portal</h3> | ||
<section> | ||
<div class="subheading2">Log in with BCeID to create or view your ALC submissions</div> | ||
<button (click)="onLogin()" class="login" mat-flat-button color="primary">Portal Login</button> | ||
<div class="left"> | ||
Don't have a BCeID? | ||
<a class="left" target="_blank" href="https://www.bceid.ca/register/basic/account_details.aspx?type=regular" | ||
>Register <mat-icon class="icon">open_in_new</mat-icon></a | ||
> | ||
</div> | ||
</section> | ||
<section> | ||
<div class="subheading2">Search publicly available information</div> | ||
<button (click)="navigateToPublicSearch()" mat-flat-button color="accent">Public Search</button> | ||
</section> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>public works!</p> |
Empty file.
24 changes: 24 additions & 0 deletions
24
portal-frontend/src/app/features/public/public.component.spec.ts
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,24 @@ | ||
import { NO_ERRORS_SCHEMA } from '@angular/core'; | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { PublicComponent } from './public.component'; | ||
|
||
describe('PublicComponent', () => { | ||
let component: PublicComponent; | ||
let fixture: ComponentFixture<PublicComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [PublicComponent], | ||
schemas: [NO_ERRORS_SCHEMA], | ||
}).compileComponents(); | ||
|
||
fixture = TestBed.createComponent(PublicComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
portal-frontend/src/app/features/public/public.component.ts
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-public', | ||
templateUrl: './public.component.html', | ||
styleUrls: ['./public.component.scss'] | ||
}) | ||
export class PublicComponent { | ||
|
||
} |
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,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
import { SharedModule } from '../../shared/shared.module'; | ||
import { PublicComponent } from './public.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: PublicComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
declarations: [PublicComponent], | ||
imports: [CommonModule, SharedModule, RouterModule.forChild(routes)], | ||
}) | ||
export class PublicModule {} |
13 changes: 13 additions & 0 deletions
13
portal-frontend/src/app/shared/header/header.component.html
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
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