mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 00:45:40 -05:00
43c92642c6
* Implement Back to School 2023 banners and modal * Only show WritefullPromoBanner if not showing BackToSchoolModal GitOrigin-RevId: 3bd2ea48fa6d66f112cc26662a61be05cf7daafd
41 lines
2.5 KiB
Text
41 lines
2.5 KiB
Text
extends ../layout-marketing
|
|
|
|
block entrypointVar
|
|
- entrypoint = 'pages/project-list'
|
|
|
|
block vars
|
|
- var suppressNavContentLinks = true
|
|
|
|
block append meta
|
|
meta(name="ol-usersBestSubscription" data-type="json" content=usersBestSubscription)
|
|
meta(name="ol-notifications" data-type="json" content=notifications)
|
|
meta(name="ol-notificationsInstitution" data-type="json" content=notificationsInstitution)
|
|
meta(name="ol-userEmails" data-type="json" content=userEmails)
|
|
meta(name="ol-allInReconfirmNotificationPeriods" data-type="json" content=allInReconfirmNotificationPeriods)
|
|
meta(name="ol-user" data-type="json" content=user)
|
|
meta(name="ol-userAffiliations" data-type="json" content=userAffiliations)
|
|
meta(name="ol-reconfirmedViaSAML" content=reconfirmedViaSAML)
|
|
meta(name="ol-survey" data-type="json" content=survey)
|
|
meta(name="ol-tags" data-type="json" content=tags)
|
|
meta(name="ol-portalTemplates" data-type="json" content=portalTemplates)
|
|
meta(name="ol-prefetchedProjectsBlob" data-type="json" content=prefetchedProjectsBlob)
|
|
if (suggestedLanguageSubdomainConfig)
|
|
meta(name="ol-suggestedLanguage" data-type="json" content=Object.assign(suggestedLanguageSubdomainConfig, {
|
|
lngName: translate(suggestedLanguageSubdomainConfig.lngCode),
|
|
imgUrl: buildImgPath("flags/24/" + suggestedLanguageSubdomainConfig.lngCode + ".png")
|
|
}))
|
|
meta(name="ol-currentUrl" data-type="string" content=currentUrl)
|
|
meta(name="ol-showGroupsAndEnterpriseBanner" data-type="boolean" content=showGroupsAndEnterpriseBanner)
|
|
meta(name="ol-showWritefullPromoBanner" data-type="boolean" content=showWritefullPromoBanner)
|
|
meta(name="ol-groupsAndEnterpriseBannerVariant" data-type="string" content=groupsAndEnterpriseBannerVariant)
|
|
meta(name="ol-showInrGeoBanner" data-type="boolean" content=showInrGeoBanner)
|
|
meta(name="ol-inrGeoBannerVariant" data-type="string" content=inrGeoBannerVariant)
|
|
meta(name="ol-inrGeoBannerSplitTestName" data-type="string" content=inrGeoBannerSplitTestName)
|
|
meta(name="ol-showLATAMBanner" data-type="boolean" content=showLATAMBanner)
|
|
meta(name="ol-recommendedCurrency" data-type="string" content=recommendedCurrency)
|
|
meta(name="ol-showBackToSchoolModal" data-type="boolean" content=showBackToSchoolModal)
|
|
meta(name="ol-welcomePageRedesignVariant" data-type="string" content=welcomePageRedesignVariant)
|
|
meta(name="ol-groupSubscriptionsPendingEnrollment" data-type="json" content=groupSubscriptionsPendingEnrollment)
|
|
|
|
block content
|
|
main.content.content-alt.project-list-react#project-list-root
|