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

Commit 7af517a

Browse files
Sam HSam H
authored andcommitted
fix: fix tsx so that background images will show on app-about
1 parent a755a8f commit 7af517a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/pages/app-about/app-about.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ declare var fbq;
1010
export class AppAbout {
1111
@Prop({ context: 'isServer' })
1212
private isServer: boolean;
13-
// private className = localStorage.getItem('allowWebp') === 'true' ? 'webp' : 'hero';
14-
15-
public images: any;
1613

1714
members = [
1815
{
@@ -223,7 +220,7 @@ export class AppAbout {
223220
return (
224221
<div class="about">
225222
{/* header - hero */}
226-
<header>
223+
<header class="hero">
227224
<div class="container">
228225
<div class="row align-items-center">
229226
<div class="col-md-8 col-sm-10 text-container">

src/pages/app-opportunities/app-opportunities.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare var fbq;
1111
export class AppOpportunities {
1212
maxFileSize = 10485760; // 10MB
1313
formData = new FormData();
14-
private allowWebp = localStorage.getItem('allowWebp') === 'true' ? true : false;
14+
// private allowWebp = localStorage.getItem('allowWebp') === 'true' ? true : false;
1515

1616
formValues: {
1717
angular: number;
@@ -361,7 +361,6 @@ export class AppOpportunities {
361361
}
362362

363363
render() {
364-
const backgroundPhoto = this.changeImageFormat(this.texts[this.match.params.type].backgroundPhoto);
365364
return (
366365
<div class="opportunities">
367366
{/* header - hero */}

0 commit comments

Comments
 (0)