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

Commit aa9ce21

Browse files
fix(app-cta): remove unused code to pass travis cli
1 parent e03f828 commit aa9ce21

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

src/components/app-cta/app-cta.tsx

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
1-
import { Component, Listen } from '@stencil/core';
1+
import { Component } from '@stencil/core';
22

33
@Component({
44
tag: 'app-cta',
55
styleUrl: 'app-cta.scss',
66
})
77
export class AppCta {
88

9-
@Listen('window:resize')
10-
handleMobile() {
11-
if (window.innerWidth < 768) {
12-
/* tslint:disable-next-line */
13-
$('#vision-svg').attr('data', '/assets/svg/cta-graphic-vision-mobile.svg');
14-
} else {
15-
/* tslint:disable-next-line */
16-
$('#vision-svg').attr('data', '/assets/svg/cta-graphic-vision.svg');
17-
}
18-
}
19-
20-
componentDidLoad() {
21-
this.handleMobile();
22-
}
23-
249
render() {
2510
return (
2611
<section id="cta" class="cta">
2712
<div class="row">
28-
<div class="col-md-6 col-sm-12 text-center cta-image">
29-
{/* <object data="/assets/svg/cta-graphic-vision.svg" id="vision-svg" /> */}
30-
</div>
13+
<div class="col-md-6 col-sm-12 text-center cta-image" />
3114

3215
<div class="col-md-6 col-sm-12 align-self-center text-center cta-text">
3316
<h2>

0 commit comments

Comments
 (0)