Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 00f27b8

Browse files
fix(app-team-landing): cleanup
1 parent 4f282a1 commit 00f27b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/pages/app-team-landing/app-team-landing.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,10 @@ export class AppTeamLanding {
427427
}
428428

429429
updateBackground() {
430-
console.error('this is the background photo - ', this.backgroundPhoto);
431430
const hero = document.querySelector('.team-landing > .container-fluid > .hero') as HTMLElement;
432431
if (window.innerWidth > 767.98) {
433432
hero.style.backgroundColor = '#292A2D';
434433
if (this.backgroundPhoto != null) {
435-
console.error('THIS IS THE RESIZE');
436434
hero.style.backgroundImage = `linear-gradient(90deg, #000000 20%, rgba(255, 255, 255, 0) 70%), url(${this.backgroundPhoto})`;
437435
}
438436
} else {
@@ -442,9 +440,6 @@ export class AppTeamLanding {
442440
}
443441

444442
render() {
445-
console.error('render - ', this.data[this.match.params.member].backgroundPhoto);
446-
console.error('again - ', this.data[this.match.params.member].headshotPhoto);
447-
448443
this.backgroundPhoto = this.changeImageFormat(this.data[this.match.params.member].backgroundPhoto ? this.data[this.match.params.member].backgroundPhoto : null);
449444
this.headshotPhoto = this.changeImageFormat(this.data[this.match.params.member].headshotPhoto);
450445
let style = {};
@@ -457,7 +452,6 @@ export class AppTeamLanding {
457452
'background-color': '#292A2D',
458453
};
459454
}
460-
461455
window.addEventListener('resize', this.updateBackground);
462456

463457
return (

0 commit comments

Comments
 (0)