Files
overleaf-cep/services/web/app/src/Features/Subscription/plansConfig.js
T
M Fahru cf9d90b7f9 Merge pull request #17303 from overleaf/mf-fix-plans-page-mobile
[web] Fix plans page table styling on both desktop and mobile

GitOrigin-RevId: 252bbaf7245751b1cfe07286a0fe19069219bb5b
2024-03-04 09:04:08 +00:00

65 lines
1.3 KiB
JavaScript

const plansFeatures = require('./plansFeatures')
const config = {
individual: {
maxColumn: 3,
tableHead: {
individual_free: {},
individual_collaborator: {},
individual_professional: {},
},
features: plansFeatures.individual,
highlightedColumn: {
index: 1,
text: {
monthly: 'most_popular',
annual: 'most_popular',
},
},
eventTrackingKey: 'plans-page-click',
additionalEventSegmentation: {},
},
group: {
maxColumn: 3,
tableHead: {
group_collaborator: {},
group_professional: {},
group_organization: {},
},
features: plansFeatures.group,
highlightedColumn: {
index: 0,
text: {
annual: 'most_popular',
},
},
eventTrackingKey: 'plans-page-click',
additionalEventSegmentation: {},
},
student: {
baseColspan: 1,
maxColumn: 3,
tableHead: {
student_free: {
colspan: 1,
},
student_student: {
showExtraContent: false,
colspan: 1,
},
},
features: plansFeatures.student,
highlightedColumn: {
index: 1,
text: {
monthly: 'save_20_percent_by_paying_annually',
annual: 'saving_20_percent',
},
},
eventTrackingKey: 'plans-page-click',
additionalEventSegmentation: {},
},
}
module.exports = config