diff --git a/@overflow/member/component/index.ts b/@overflow/member/component/index.ts index 835746c..ce708c7 100644 --- a/@overflow/member/component/index.ts +++ b/@overflow/member/component/index.ts @@ -6,6 +6,8 @@ import { MemberModifyPasswordComponent } from './member-modify-password.componen import { MemberProfileComponent } from './member-profile.component'; import { MemberPolicyComponent } from './member-policy.component'; import { MemberTotpComponent } from './member-totp.component'; +import { MemberConfirmResetPasswordComponent } from './member-confirm-reset-password.component'; +import { MemberConfirmSignupComponent } from './member-confirm-signup.component'; export const COMPONENTS = [ MemberSigninComponent, @@ -16,4 +18,6 @@ export const COMPONENTS = [ MemberModifyPasswordComponent, MemberPolicyComponent, MemberTotpComponent, + MemberConfirmResetPasswordComponent, + MemberConfirmSignupComponent, ]; diff --git a/@overflow/member/component/member-confirm-reset-password.component.html b/@overflow/member/component/member-confirm-reset-password.component.html new file mode 100644 index 0000000..6091c62 --- /dev/null +++ b/@overflow/member/component/member-confirm-reset-password.component.html @@ -0,0 +1,3 @@ +
+ Your email has been verified. When you click the link button below, it goes to the password change screen. +
diff --git a/@overflow/member/component/member-confirm-reset-password.component.ts b/@overflow/member/component/member-confirm-reset-password.component.ts new file mode 100644 index 0000000..22ef66c --- /dev/null +++ b/@overflow/member/component/member-confirm-reset-password.component.ts @@ -0,0 +1,11 @@ +import {Component, OnInit} from '@angular/core'; + +@Component({ + selector: 'of-member-confirm-reset-password', + templateUrl: './member-confirm-reset-password.component.html', +}) +export class MemberConfirmResetPasswordComponent implements OnInit { + constructor() { } + ngOnInit(): void { + } +} diff --git a/@overflow/member/component/member-confirm-signup.component.html b/@overflow/member/component/member-confirm-signup.component.html new file mode 100644 index 0000000..d6c52f6 --- /dev/null +++ b/@overflow/member/component/member-confirm-signup.component.html @@ -0,0 +1,3 @@ +
+ Your email has been verified. Go to signin when you click the link button below. +
diff --git a/@overflow/member/component/member-confirm-signup.component.ts b/@overflow/member/component/member-confirm-signup.component.ts new file mode 100644 index 0000000..3f4d0f1 --- /dev/null +++ b/@overflow/member/component/member-confirm-signup.component.ts @@ -0,0 +1,11 @@ +import {Component, OnInit} from '@angular/core'; + +@Component({ + selector: 'of-member-confirm-signup', + templateUrl: './member-confirm-signup.component.html', +}) +export class MemberConfirmSignupComponent implements OnInit { + constructor() { } + ngOnInit(): void { + } +} diff --git a/@overflow/member/container/index.ts b/@overflow/member/container/index.ts index c2807c6..eeb4372 100644 --- a/@overflow/member/container/index.ts +++ b/@overflow/member/container/index.ts @@ -6,6 +6,8 @@ import { MemberResetPasswordContainerComponent } from './member-reset-password-c import { MemberModifyPasswordContainerComponent } from './member-modify-password-container.component'; import { MemberPolicyContainerComponent } from './member-policy-container.component'; import { MemberProfileContainerComponent } from './member-profile-container.component'; +import {MemberConfirmSignupContainerComponent} from './member-confirm-signup-container.component'; +import {MemberConfirmResetPasswordContainerComponent} from './member-confirm-reset-password-container.component'; export const CONTAINERS = [ MemberSigninContainerComponent, @@ -16,4 +18,6 @@ export const CONTAINERS = [ MemberModifyPasswordContainerComponent, MemberPolicyContainerComponent, MemberProfileContainerComponent, + MemberConfirmSignupContainerComponent, + MemberConfirmResetPasswordContainerComponent, ]; diff --git a/@overflow/member/container/member-confirm-reset-password-container.component.html b/@overflow/member/container/member-confirm-reset-password-container.component.html new file mode 100644 index 0000000..9a84edd --- /dev/null +++ b/@overflow/member/container/member-confirm-reset-password-container.component.html @@ -0,0 +1 @@ + diff --git a/@overflow/member/container/member-confirm-reset-password-container.component.ts b/@overflow/member/container/member-confirm-reset-password-container.component.ts new file mode 100644 index 0000000..709c02f --- /dev/null +++ b/@overflow/member/container/member-confirm-reset-password-container.component.ts @@ -0,0 +1,20 @@ +import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core'; +import {Store} from '@ngrx/store'; + +@Component({ + selector: 'of-member-confirm-reset-password-container', + templateUrl: './member-confirm-reset-password-container.component.html', +}) +export class MemberConfirmResetPasswordContainerComponent implements OnInit { + @Input() token: string; + @Output() signin = new EventEmitter(); + @Output() modifyPassword = new EventEmitter(); + + constructor( + private store: Store, + ) { + + } + ngOnInit(): void { + } +} diff --git a/@overflow/member/container/member-confirm-signup-container.component.html b/@overflow/member/container/member-confirm-signup-container.component.html new file mode 100644 index 0000000..ca864f3 --- /dev/null +++ b/@overflow/member/container/member-confirm-signup-container.component.html @@ -0,0 +1 @@ + diff --git a/@overflow/member/container/member-confirm-signup-container.component.ts b/@overflow/member/container/member-confirm-signup-container.component.ts new file mode 100644 index 0000000..9a82fc4 --- /dev/null +++ b/@overflow/member/container/member-confirm-signup-container.component.ts @@ -0,0 +1,20 @@ +import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core'; +import {Store} from '@ngrx/store'; + +@Component({ + selector: 'of-member-confirm-signup-container', + templateUrl: './member-confirm-signup-container.component.html', +}) +export class MemberConfirmSignupContainerComponent implements OnInit { + @Input() token: string; + @Output() signin = new EventEmitter(); + + constructor( + private store: Store, + ) { + + + } + ngOnInit(): void { + } +} diff --git a/src/app/pages/auth/auth-page-routing.module.ts b/src/app/pages/auth/auth-page-routing.module.ts index 24a6b2b..330931f 100644 --- a/src/app/pages/auth/auth-page-routing.module.ts +++ b/src/app/pages/auth/auth-page-routing.module.ts @@ -19,8 +19,8 @@ const routes: Routes = [ { path: 'signup', component: SignupPageComponent }, { path: 'reset-password', component: ResetPasswordPageComponent }, { path: 'modify-password', component: ModifyPasswordPageComponent }, - // { path: 'confirm-signup', component: ConfirmSignupPageComponent }, - // { path: 'confirm-reset-password', component: ConfirmResetPasswordPageComponent } + { path: 'confirm-signup', component: ConfirmSignupPageComponent }, + { path: 'confirm-reset-password', component: ConfirmResetPasswordPageComponent } ] } ]; diff --git a/src/app/pages/auth/confirm/confirm-reset-password-page.component.html b/src/app/pages/auth/confirm/confirm-reset-password-page.component.html index 9eacd70..47f5cd5 100644 --- a/src/app/pages/auth/confirm/confirm-reset-password-page.component.html +++ b/src/app/pages/auth/confirm/confirm-reset-password-page.component.html @@ -1,6 +1,11 @@
+