Commit 9fdb1709 by Muhammad Usman

placeholders replaced, terms & privacy added

parent 35cdb126
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<div class="mc-login-logo d-flex justify-content-center"> <div class="mc-login-logo d-flex justify-content-center">
<img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt=""> <img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt="">
</div> </div>
<div class="title-goes-here">Title goes here.</div> <div class="title-goes-here">Know your natural strengths.</div>
<div class="subtitle-giving-cont">Subtitle giving context to product and selling users on why they should sign up goes here.</div> <div class="subtitle-giving-cont">Empowering career seekers to get the right job and thrive.</div>
<form class="login-form position-relative" #form="ngForm"> <form class="login-form position-relative" #form="ngForm">
<div class="form-group" *ngIf="!emailSent"> <div class="form-group" *ngIf="!emailSent">
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<div class="mc-login-logo d-flex justify-content-center"> <div class="mc-login-logo d-flex justify-content-center">
<img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt=""> <img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt="">
</div> </div>
<div class="title-goes-here">Title goes here.</div> <div class="title-goes-here">Know your natural strengths.</div>
<div class="subtitle-giving-cont">Subtitle giving context to product and selling users on why they should sign up goes here.</div> <div class="subtitle-giving-cont">Empowering career seekers to get the right job and thrive.</div>
<form class="login-form position-relative" #form="ngForm"> <form class="login-form position-relative" #form="ngForm">
<div class="form-group"> <div class="form-group">
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<div class="mc-signup-logo d-flex justify-content-center"> <div class="mc-signup-logo d-flex justify-content-center">
<img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt=""> <img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt="">
</div> </div>
<div class="title-goes-here">Title goes here.</div> <div class="title-goes-here">Know your natural strengths.</div>
<div class="subtitle-giving-cont">Subtitle giving context to product and selling users on why they should sign up goes here.</div> <div class="subtitle-giving-cont">Empowering career seekers to get the right job and thrive.</div>
<form class="signup-form position-relative" #form="ngForm"> <form class="signup-form position-relative" #form="ngForm">
<div class="form-group"> <div class="form-group">
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
<div> <div>
<div class="d-flex"> <div class="d-flex">
<p-checkbox name="terms" [binary]="true" [(ngModel)]="registerForm.terms" [ngStyle]="{'marginRight': '8px'}"></p-checkbox> <p-checkbox name="terms" [binary]="true" [(ngModel)]="registerForm.terms" [ngStyle]="{'marginRight': '8px'}"></p-checkbox>
<span style="cursor: pointer;" (click)="registerForm.terms = !registerForm.terms">I have read and agree to the <span class="mc-nav-link">Terms & Conditions</span></span> <span style="cursor: pointer;">I have read and agree to the <span class="mc-nav-link" (click)="openTermsAndConditions()">Terms & Conditions</span></span>
</div> </div>
<div class="d-flex" style="margin-top: 16px;"> <div class="d-flex" style="margin-top: 16px;">
<p-checkbox name="policy" [binary]="true" [(ngModel)]="registerForm.policy" [ngStyle]="{'marginRight': '8px'}"></p-checkbox> <p-checkbox name="policy" [binary]="true" [(ngModel)]="registerForm.policy" [ngStyle]="{'marginRight': '8px'}"></p-checkbox>
<span style="cursor: pointer;" (click)="registerForm.policy = !registerForm.policy">I have read and agree to the <span class="mc-nav-link">Privacy Policy</span></span> <span style="cursor: pointer;">I have read and agree to the <span class="mc-nav-link" (click)="openPrivacyPolicy()">Privacy Policy</span></span>
</div> </div>
</div> </div>
......
...@@ -6,6 +6,7 @@ import { AuthService } from '../../services/auth.service'; ...@@ -6,6 +6,7 @@ import { AuthService } from '../../services/auth.service';
import { HelperService } from '../../services/helper.service'; import { HelperService } from '../../services/helper.service';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { ToasterService } from '../../services/toaster.service'; import { ToasterService } from '../../services/toaster.service';
import { EXTERNAL_LINKS } from '../../config/constants';
@Component({ @Component({
selector: 'app-register', selector: 'app-register',
...@@ -69,4 +70,12 @@ export class RegisterComponent extends BaseComponent implements OnInit { ...@@ -69,4 +70,12 @@ export class RegisterComponent extends BaseComponent implements OnInit {
}); });
} }
openTermsAndConditions(): void {
window.location.href = EXTERNAL_LINKS.TERMS_CONDITIONS;
}
openPrivacyPolicy(): void {
window.location.href = EXTERNAL_LINKS.PRIVACY_POLICY;
}
} }
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<div class="mc-login-logo d-flex justify-content-center"> <div class="mc-login-logo d-flex justify-content-center">
<img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt=""> <img src="assets/my-career-web/images/MATCHD_LOGO.jpg" alt="">
</div> </div>
<div class="title-goes-here">Title goes here.</div> <div class="title-goes-here">Know your natural strengths.</div>
<div class="subtitle-giving-cont">Subtitle giving context to product and selling users on why they should sign up goes here.</div> <div class="subtitle-giving-cont">Empowering career seekers to get the right job and thrive.</div>
<form class="login-form position-relative" #form="ngForm"> <form class="login-form position-relative" #form="ngForm">
......
...@@ -46,3 +46,9 @@ export const ASSOCS = { ...@@ -46,3 +46,9 @@ export const ASSOCS = {
SENT_BY: 'SentBy', SENT_BY: 'SentBy',
ATTACHMENTS: 'Attachments' ATTACHMENTS: 'Attachments'
}; };
export const EXTERNAL_LINKS = {
TERMS_CONDITIONS: 'https://www.matchd.com/career-terms',
PRIVACY_POLICY: 'https:/www.matchd.com/privacy',
};
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