mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
41e2d1bba7
[web] Implement plans page and interstitial payment page view events for plans redesign test GitOrigin-RevId: 023338acffe149db93b37d94cf06e8102ffcff8f
71 lines
2.7 KiB
Text
71 lines
2.7 KiB
Text
extends ../layout-marketing
|
|
|
|
include ./plans/_mixins
|
|
|
|
block entrypointVar
|
|
- entrypoint = 'pages/user/subscription/plans-v2/plans-v2-main'
|
|
|
|
block vars
|
|
- var suppressFooter = true
|
|
- var suppressNavbarRight = true
|
|
- var suppressCookieBanner = true
|
|
|
|
block append meta
|
|
meta(name="ol-recommendedCurrency" content=recommendedCurrency)
|
|
meta(name="ol-itm_content" content=itm_content)
|
|
meta(name="ol-countryCode" content=countryCode)
|
|
meta(name="ol-websiteRedesignPlansVariant" content=websiteRedesignPlansVariant)
|
|
|
|
block content
|
|
main.content.content-alt#main-content
|
|
.content-page
|
|
.plans
|
|
.container
|
|
if showInrGeoBanner
|
|
div.notification.notification-type-success.text-centered
|
|
div.notification-content !{translate("inr_discount_offer_plans_page_banner", {flag: '🇮🇳'})}
|
|
if showBrlGeoBanner
|
|
div.notification.notification-type-success.text-centered
|
|
div.notification-content !{translate("brl_discount_offer_plans_page_banner", {flag: '🇧🇷'})}
|
|
if showLATAMBanner
|
|
div.notification.notification-type-success.text-centered
|
|
div.notification-content !{translate("latam_discount_offer_plans_page_banner", {flag: latamCountryBannerDetails.latamCountryFlag, country: latamCountryBannerDetails.country, currency: latamCountryBannerDetails.currency, discount: latamCountryBannerDetails.discount })}
|
|
|
|
.row
|
|
.col-md-12
|
|
.page-header.centered.plans-header.text-centered.top-page-header
|
|
h1.text-capitalize #{translate('choose_your_plan')}
|
|
|
|
+monthly_annual_switch("monthly", "paywall-plans-page-toggle", '{}')
|
|
|
|
+plans_v2_table_sticky_header(true, interstitialPaymentConfig)
|
|
|
|
.row.plans-v2-table-container(data-ol-plans-v2-period='monthly')
|
|
.col-sm-12
|
|
.row
|
|
table.card.plans-v2-table.plans-v2-table-individual
|
|
+plans_v2_table('monthly', interstitialPaymentConfig)
|
|
|
|
.row.plans-v2-table-container(hidden data-ol-plans-v2-period='annual')
|
|
.col-sm-12
|
|
.row
|
|
table.card.plans-v2-table.plans-v2-table-individual
|
|
+plans_v2_table('annual', interstitialPaymentConfig)
|
|
|
|
if (showCurrencyAndPaymentMethods)
|
|
+currency_and_payment_methods()
|
|
|
|
//- sticky header on mobile will be "hidden" (by removing its sticky position) if it reaches this div
|
|
.invisible(aria-hidden="true" data-ol-plans-v2-table-sticky-header-stop)
|
|
|
|
if (showSkipLink)
|
|
.row.row-spaced-small.text-center
|
|
a(href=skipLinkTarget
|
|
event-tracking="skip-button-click"
|
|
event-tracking-mb="true"
|
|
event-tracking-trigger="click"
|
|
event-segmentation='{"location": "interstitial-page"}'
|
|
)
|
|
| #{translate("continue_with_free_plan")}
|
|
|
|
!= moduleIncludes("contactModalGeneral-marketing", locals)
|