mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 23:20:47 +02:00
781c1c97c7
* Update split test config and infrastructure for plans-page-layout-v3
* Implement view for `old-plans-page-annual` variant of the new split test:
- Make `annual` the default view for all elements on the old plans page
- Change the tooltip background to green for monthly/student view
* Implement a new design for the new plans page:
- switch annual and monthly locations (annual on the left now)
- change the tooltip background to green color for all choice
- make the monthly-annual switch has green background if annual is chosen
* Fix mobile view plans page header style
GitOrigin-RevId: b2b3c6ac6adbe26bf6def7e072493f503793cfcb
70 lines
1.5 KiB
JavaScript
70 lines
1.5 KiB
JavaScript
const plansV2Features = require('./plansV2Features')
|
|
|
|
const config = {
|
|
individual: {
|
|
tableHead: {
|
|
individual_free: {},
|
|
individual_personal: {},
|
|
individual_collaborator: {},
|
|
individual_professional: {},
|
|
},
|
|
features: plansV2Features.individual,
|
|
highlightedColumn: {
|
|
index: 2,
|
|
text: {
|
|
monthly: 'MOST POPULAR',
|
|
annual: 'MOST POPULAR',
|
|
},
|
|
},
|
|
eventTrackingKey: 'plans-page-click',
|
|
additionalEventSegmentation: {
|
|
'plans-page-layout-v3': 'new-plans-page',
|
|
},
|
|
},
|
|
group: {
|
|
tableHead: {
|
|
group_collaborator: {},
|
|
group_professional: {},
|
|
group_organization: {},
|
|
},
|
|
features: plansV2Features.group,
|
|
highlightedColumn: {
|
|
index: 0,
|
|
text: {
|
|
annual: 'MOST POPULAR',
|
|
},
|
|
},
|
|
eventTrackingKey: 'plans-page-click',
|
|
additionalEventSegmentation: {
|
|
'plans-page-layout-v3': 'new-plans-page',
|
|
},
|
|
},
|
|
student: {
|
|
baseColspan: 2,
|
|
maxColumn: 3,
|
|
tableHead: {
|
|
student_free: {
|
|
colspan: 3,
|
|
},
|
|
student_student: {
|
|
showExtraContent: false,
|
|
colspan: 3,
|
|
},
|
|
},
|
|
features: plansV2Features.student,
|
|
highlightedColumn: {
|
|
index: 1,
|
|
text: {
|
|
monthly: 'SAVE 20% ON ANNUAL PLAN',
|
|
annual: 'SAVING 20%',
|
|
},
|
|
},
|
|
eventTrackingKey: 'plans-page-click',
|
|
additionalEventSegmentation: {
|
|
'plans-page-layout-v3': 'new-plans-page',
|
|
},
|
|
},
|
|
}
|
|
|
|
module.exports = config
|