Skip to content

Commit

Permalink
remove CTA from OAS overview and article (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
will0684 authored Nov 10, 2023
1 parent e397457 commit da10953
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
26 changes: 0 additions & 26 deletions pages/projects/oas-benefits-estimator/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -271,32 +271,6 @@ export default function OASUpdatePage(props) {
ariaExpanded={props.ariaExpanded}
/>
</section>
<CTA
heading={
props.locale === "en"
? pageData.scFragments[3].scTitleEn
: pageData.scFragments[3].scTitleFr
}
body={
props.locale === "en"
? pageData.scFragments[3].scContentEn.json[0].content[0].value
: pageData.scFragments[3].scContentFr.json[0].content[0].value
}
ButtonProps={{
id: "cta-btn",
text:
props.locale === "en"
? pageData.scFragments[3].scLabsButton[0].scTitleEn
: pageData.scFragments[3].scLabsButton[0].scTitleFr,
href:
props.locale === "en"
? pageData.scFragments[3].scLabsButton[0].scDestinationURLEn
: pageData.scFragments[3].scLabsButton[0].scDestinationURLFr,
className:
"w-fit bg-[#26374A] mt-4 text-white visited:text-white hover:bg-[#1C578A] hover:no-underline hover:text-white active:bg-[#16446C]",
}}
containerClass="layout-container my-4"
/>
</Layout>
{props.adobeAnalyticsUrl ? (
<script type="text/javascript">_satellite.pageBottom()</script>
Expand Down
27 changes: 0 additions & 27 deletions pages/projects/oas-benefits-estimator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,33 +416,6 @@ export default function OasBenefitsEstimator(props) {
{displayProjectUpdates}
</ul>
</div>

<CTA
heading={
props.locale === "en"
? pageData.scFragments[6].scTitleEn
: pageData.scFragments[6].scTitleFr
}
body={
props.locale === "en"
? pageData.scFragments[6].scContentEn.json[0].content[0].value
: pageData.scFragments[6].scContentFr.json[0].content[0].value
}
ButtonProps={{
id: "cta-btn",
text:
props.locale === "en"
? pageData.scFragments[6].scLabsButton[0].scTitleEn
: pageData.scFragments[6].scLabsButton[0].scTitleFr,
href:
props.locale === "en"
? pageData.scFragments[6].scLabsButton[0].scDestinationURLEn
: pageData.scFragments[6].scLabsButton[0].scDestinationURLFr,
className:
"w-fit bg-[#26374A] mt-4 text-white visited:text-white hover:bg-[#1C578A] hover:no-underline hover:text-white active:bg-[#16446C]",
}}
containerClass="layout-container my-4"
/>
</Layout>
{props.adobeAnalyticsUrl ? (
<script type="text/javascript">_satellite.pageBottom()</script>
Expand Down

0 comments on commit da10953

Please sign in to comment.