Skip to content

Commit f3fee58

Browse files
authored
Merge pull request #6671 from Rajesh-Nagarajan-11/replace-learnservicemeshcta-with-kanvascta
Replace LearnServiceMeshCTA with KanvasCTA #6556
2 parents 72a07f0 + c933380 commit f3fee58

8 files changed

Lines changed: 16 additions & 10 deletions

File tree

src/pages/learn/service-mesh-books.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import React from "react";
22

33
import SEO from "../../components/seo";
44
import BooksPage from "../../sections/Learn/Books-grid";
5-
import LearnServiceMeshCTA from "../../sections/Learn/Learn-Service-Mesh-CTA";
5+
import KanvasCTA from "../../sections/Kanvas/kanvas-cta";
66

77
const BooksGridPage = ({ hide_path }) => {
88
return (
99
<>
1010
<BooksPage hide_path={hide_path} />
11-
<LearnServiceMeshCTA />
11+
<KanvasCTA />
1212

1313
</>
1414
);

src/pages/subscribe.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import SEO from "../components/seo";
33

44

55
import ContactSubscribeSection from "../components/ContactCard";
6+
import KanvasCTA from "../sections/Kanvas/kanvas-cta";
7+
68
const SubscribeSection = () => {
79
return (
810
<>
911
<ContactSubscribeSection />
12+
<KanvasCTA />
1013

1114
</>
1215
);

src/pages/unsubscribe.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import SEO from "../components/seo";
33

44

55
import ContactUnSubscribeSection from "../components/ContactCard-unsubscribe";
6+
import KanvasCTA from "../sections/Kanvas/kanvas-cta";
7+
68
const UnSubscribeSection = () => {
79
return (
810
<>
911
<ContactUnSubscribeSection />
12+
<KanvasCTA />
1013

1114
</>
1215
);

src/sections/thank-you/thank-you.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import LearnServiceMeshCTA from "../Learn/Learn-Service-Mesh-CTA";
2+
import KanvasCTA from "../Kanvas/kanvas-cta";
33
import ThankYouWrapper from "./thank-you.style";
44

55
const ThankYouSection = () => {
@@ -8,7 +8,7 @@ const ThankYouSection = () => {
88
<div className="parentcard">
99
<h1>Thank you for subscribing!</h1>
1010
</div>
11-
<LearnServiceMeshCTA />
11+
<KanvasCTA />
1212
</ThankYouWrapper>
1313
);
1414
};

src/sections/thank-you/thank-you.style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const SubscribeWrapper = styled.div`
1111
width: 100%;
1212
text-align: center;
1313
}
14-
h2 span{
14+
.parentcard h2 span{
1515
color:${props => props.theme.secondaryColor};
1616
}
1717

src/sections/unsubscribe/unsubscribe.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import LearnServiceMeshCTA from "../Learn/Learn-Service-Mesh-CTA";
2+
import KanvasCTA from "../Kanvas/kanvas-cta";
33
import UnsuscribeWrapper from "./unsubscribe.style";
44
import { Link } from "gatsby";
55

@@ -11,7 +11,7 @@ const UnsuscribeSection = () => {
1111
<h4>Say it ain't so.</h4>
1212
<h5>While you ponder whether to <Link className="highlight" to="/subscribe">unsubscribe</Link>, have an <Link to="/learn/service-mesh-labs">interactive lab</Link> on us.</h5>
1313
</div>
14-
<LearnServiceMeshCTA />
14+
<KanvasCTA />
1515
</UnsuscribeWrapper>
1616
);
1717
};

src/sections/unsubscribed/unsubscribed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import LearnServiceMeshCTA from "../Learn/Learn-Service-Mesh-CTA";
2+
import KanvasCTA from "../Kanvas/kanvas-cta";
33
import UnsuscribedWrapper from "./unsubscribed.style";
44
import { Link } from "gatsby";
55

@@ -11,7 +11,7 @@ const UnsuscribedSection = () => {
1111
<h4>Say it ain't so.</h4>
1212
<h5>While you ponder whether to <Link className="highlight" to="/subscribe">resubscribe</Link>, have an <Link to="/learn/service-mesh-labs">interactive lab</Link> on us.</h5>
1313
</div>
14-
<LearnServiceMeshCTA />
14+
<KanvasCTA />
1515
</UnsuscribedWrapper>
1616
);
1717
};

src/sections/unsubscribed/unsubscribed.style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const UnsubscribedWrapper = styled.div`
1111
width: 100%;
1212
text-align: center;
1313
}
14-
h2,h3,h4,h5{
14+
.parentcard h2,h3,h4,h5{
1515
text-align: center;
1616
font-weight: normal;
1717
margin-top: 1.5rem;

0 commit comments

Comments
 (0)