Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | <grt-header-element
[showReqCall]="false"
[showCustReview]="true"
[showContactUs]="true"
[indexPage]="false"
></grt-header-element>
@if (isAdmin !== null) {
<div class="register">
<div class="inner is-smaller p-b-100 p-t-60">
<div class="hide-mobile">
<grt-progress-bar (moveWizardToStep)="moveWizardToStep($event)" [stage]="4"></grt-progress-bar>
</div>
<div class="hide-tablet hide-desktop">
<grt-progress-bar-mobile (moveWizardToStep)="moveWizardToStep($event)" [stage]="4"></grt-progress-bar-mobile>
</div>
<a (click)="back()" class="link-back pointer m-t-20">Back</a>
<p class="center m-t-20">Get in touch</p>
@if (showPhoneField === false) {
@if (!isAdmin) {
<h1 class="center">Your itinerary is ready</h1>
}
@if (isAdmin) {
<h1 class="center">Save this Itinerary for Your Client</h1>
}
@if (!loggedIn && !setLogin) {
<h6 class="center">A detailed trip plan is waiting for you! Share it with your family and friends.</h6>
}
@if (!loggedIn && !setLogin) {
<p class="center">
Already have an account?
<a (click)="toggleLogin()" class="link">Login</a>
</p>
}
@if (!loggedIn && setLogin) {
<p class="center">
Not a member yet?
<a (click)="toggleLogin()" class="link">Sign up</a>
</p>
}
@if (!loggedIn && setLogin) {
<h6 class="center">Login to an account to visualize your itinerary and share it with family and friends</h6>
}
@if (loggedIn && isAdmin) {
<h6 class="center">
Please enter your client’s information below and we’ll email them a link to their trip. Don’t worry, the
travelers remain your clients, even if they create another trip or contact us independently.
</h6>
}
@if (loggedIn && !isAdmin) {
<h6 class="center">You are already logged in as {{ user.getName() }}.</h6>
}
@if (loggedIn && !isAdmin) {
<h6 class="center">
<span (click)="logout()">Logout</span>
</h6>
}
@if (loggedIn && !isAdmin) {
<h6 class="center">Finish trip to visualize your itinerary and share it with family and friends</h6>
}
@if (!loggedIn && !setLogin) {
<form [formGroup]="form.formData" action="" class="form">
<div class="input input-two">
<input
type="text"
formControlName="first_name"
placeholder="Name"
[ngClass]="{
'input-error': form.getErrors('first_name')?.length > 0,
}"
/>
<app-validation-errors
[errors]="form.getErrors('first_name')"
class="form-error__name"
></app-validation-errors>
<input
type="text"
formControlName="last_name"
placeholder="Surname"
[ngClass]="{
'input-error': form.getErrors('last_name')?.length > 0,
}"
/>
<app-validation-errors
[errors]="form.getErrors('last_name')"
class="form-error__last form-error__name"
></app-validation-errors>
</div>
<div
class="input"
[ngClass]="{
'input-error':
form.getErrors('phone')?.length > 0 || (smsOptInError.length && form.formData.value.phone === null),
}"
>
<div class="country" (click)="toggleDropdown()">
<ngx-intl-tel-input
[cssClass]="'custom'"
[preferredCountries]="['us', 'ca', 'au', 'sg', 'in', 'hk', 'nz']"
[enableAutoCountrySelect]="true"
[enablePlaceholder]="true"
name="phone"
formControlName="phone"
>
</ngx-intl-tel-input>
@if (form.getErrors('phone')) {
<app-validation-errors [errors]="form.getErrors('phone')"></app-validation-errors>
}
@if (
smsOptInError.length && form.getErrors('phone').length === 0 && form.formData.value.phone === null
) {
<app-validation-errors [errors]="smsOptInError"></app-validation-errors>
}
</div>
</div>
<div class="form-check mb-3">
<input
type="checkbox"
[checked]="smsOptIn"
class="form-check-input"
(click)="toggleSmsOptIn()"
[ngClass]="{
'input-error': smsOptInError.length,
}"
/>
<label style="font-size: 14px; color: #000; margin: 0" class="form-check-label" for="exampleCheck1"
>I prefer to be contacted via text message. Msg and data rates apply. Terms of service & privacy policy
found <a [href]="['/privacy']" style="color: #2158ee" target="_blank">here</a>.</label
>
</div>
<div class="input">
<input
type="email"
formControlName="email"
placeholder="Email address"
[ngClass]="{
'input-error': form.getErrors('email')?.length > 0,
}"
/>
<app-validation-errors [errors]="form.getErrors('email')"></app-validation-errors>
</div>
<div class="input">
<input
type="password"
formControlName="password"
placeholder="Password"
[ngClass]="{
'input-error': form.getErrors('password')?.length > 0,
}"
/>
<app-validation-errors [errors]="form.getErrors('password')"></app-validation-errors>
</div>
<div class="input">
<input
type="password"
id="marketing-optin"
formControlName="password_again"
placeholder="Confirm password"
[ngClass]="{
'input-error': form.getErrors('password_again')?.length > 0,
}"
/>
<app-validation-errors [errors]="form.getErrors('password_again')"></app-validation-errors>
</div>
<div class="form-check mb-3">
<input type="checkbox" [checked]="emailOptIn" class="form-check-input" (click)="toggleEmailOptIn()" />
@if (isOptInRegion) {
<label class="form-check-label" for="marketing-optin" style="font-size: 14px; color: #000; margin: 0">
Yes, I'd like to receive exclusive travel tips, destination guides, and special offers by email.
</label>
<div class="feedback">You can unsubscribe at any time.</div>
} @else {
<label class="form-check-label" for="marketing-optin" style="font-size: 14px; color: #000; margin: 0">
Keep me updated with exclusive travel tips, destination guides, and special offers by email.
</label>
<div class="feedback">You can unsubscribe at any time.</div>
}
</div>
<button [disabled]="submited" (click)="register()" class="btn btn-green form__submit wide uppercase">
{{ buttonText }}
</button>
</form>
}
@if (loggedIn && !isAdmin) {
<button (click)="finish()" class="btn btn-green form__submit wide uppercase" [disabled]="submited">
{{ buttonText }}
</button>
}
@if (!loggedIn && setLogin) {
<form [formGroup]="formLogin.formData" action="" class="form">
<div class="input">
<input
type="email"
formControlName="email"
placeholder="Email address"
[ngClass]="{
'input-error': formLogin.getErrors('email')?.length > 0,
}"
/>
<app-validation-errors [errors]="formLogin.getErrors('email')"></app-validation-errors>
</div>
<div class="input">
<input
type="password"
formControlName="password"
placeholder="Password"
[ngClass]="{
'input-error': formLogin.getErrors('password')?.length > 0,
}"
/>
<app-validation-errors [errors]="formLogin.getErrors('password')"></app-validation-errors>
</div>
<a [href]="['/forgot-password']" class="right block blue">Forgot password?</a>
<button (click)="login()" class="btn btn-green form__submit wide uppercase">Login</button>
</form>
}
@if (!loggedIn) {
<div class="mt-3 pb-2 social-container">
<div class="line mt-3"></div>
<div class="divider">OR</div>
<div id="google-button" class="googleBtn"></div>
<!-- <button id="facebook-btn" class="mt-2 facebookBtn" (click)="loginWithFacebook()">
<img
src="/assets/images/icons/logos_facebook.svg"
height="25"
width="25"
alt="facebook-icon"
style="vertical-align: middle; margin-right: 10px"
/>
Sign up with Facebook
</button> -->
</div>
}
@if (loggedIn && isAdmin) {
<form [formGroup]="formAdmin.formData" action="" class="form">
<div class="input">
<input
type="email"
formControlName="email"
placeholder="Email address"
[ngClass]="{
'input-error': formAdmin.getErrors('email')?.length > 0,
}"
/>
<app-validation-errors [errors]="formAdmin.getErrors('email')"></app-validation-errors>
</div>
<div class="input input-two">
<input
type="text"
formControlName="first_name"
placeholder="Name"
[ngClass]="{
'input-error': formAdmin.getErrors('first_name')?.length > 0,
}"
/>
<app-validation-errors
[errors]="formAdmin.getErrors('first_name')"
class="form-error__name"
></app-validation-errors>
<input
type="text"
formControlName="last_name"
placeholder="Surname"
[ngClass]="{
'input-error': formAdmin.getErrors('last_name')?.length > 0,
}"
/>
<app-validation-errors
[errors]="formAdmin.getErrors('last_name')"
class="form-error__last form-error__name"
></app-validation-errors>
</div>
<button [disabled]="submited" (click)="finishAdmin()" class="btn btn-green form__submit wide uppercase">
{{ buttonText }}
</button>
</form>
}
}
@if (showPhoneField === true) {
<h1 class="center">Your itinerary is ready</h1>
<p class="text-center">
One last thing! Please provide your phone number for account security and so our travel consultants can help
you with your trip planning.
</p>
<form [formGroup]="formPhone.formData" action="" class="form">
<div
class="input"
[ngClass]="{
'input-error':
formPhone.getErrors('phone')?.length > 0 ||
(smsPhoneOptInError.length && formPhone.formData?.value?.phone === null),
}"
>
<div class="country" (click)="toggleDropdown()">
<ngx-intl-tel-input
[cssClass]="'custom'"
[preferredCountries]="['us', 'ca', 'au', 'sg', 'in', 'hk', 'nz']"
[enableAutoCountrySelect]="true"
[enablePlaceholder]="true"
name="phone"
formControlName="phone"
>
</ngx-intl-tel-input>
@if (formPhone.getErrors('phone')) {
<app-validation-errors [errors]="formPhone.getErrors('phone')"></app-validation-errors>
}
@if (
smsPhoneOptInError.length &&
formPhone.getErrors('phone').length === 0 &&
formPhone.formData?.value?.phone === null
) {
<app-validation-errors [errors]="smsPhoneOptInError"></app-validation-errors>
}
</div>
</div>
<div class="form-check mb-3">
<input
type="checkbox"
[checked]="smsPhoneOptIn"
class="form-check-input"
(click)="toggleSmsPhoneOptIn()"
[ngClass]="{
'input-error': smsPhoneOptInError.length,
}"
/>
<label style="font-size: 14px; color: #000; margin: 0" class="form-check-label" for="exampleCheck1"
>I prefer to be contacted via text message. Msg and data rates apply. Terms of service & privacy policy
found <a [href]="['/privacy']" style="color: #2158ee" target="_blank">here</a>.</label
>
</div>
<div class="form-check mb-3">
<input type="checkbox" [checked]="emailOptIn" class="form-check-input" (click)="toggleEmailOptIn()" />
@if (isOptInRegion) {
<label class="form-check-label" for="marketing-optin" style="font-size: 14px; color: #000; margin: 0">
Yes, I'd like to receive exclusive travel tips, destination guides, and special offers by email.
</label>
<div class="feedback">You can unsubscribe at any time.</div>
} @else {
<label class="form-check-label" for="marketing-optin" style="font-size: 14px; color: #000; margin: 0">
Keep me updated with exclusive travel tips, destination guides, and special offers by email.
</label>
<div class="feedback">You can unsubscribe at any time.</div>
}
</div>
<button (click)="finishProcess()" class="btn btn-green form__submit wide uppercase">OPEN MY TRIP</button>
</form>
}
<p class="register-terms center">
By using Go Real Travel you agree to our
<a [href]="['/privacy']">Privacy Policy</a> and <a [href]="['/terms-of-use']">Terms of Use</a>.
</p>
</div>
</div>
}
|