aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/FeatureList.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/FeatureList.js')
-rw-r--r--src/components/ui/FeatureList.js99
1 files changed, 0 insertions, 99 deletions
diff --git a/src/components/ui/FeatureList.js b/src/components/ui/FeatureList.js
deleted file mode 100644
index 14e7ec3c4..000000000
--- a/src/components/ui/FeatureList.js
+++ /dev/null
@@ -1,99 +0,0 @@
1import React, { Component } from 'react';
2import PropTypes from 'prop-types';
3import { defineMessages, injectIntl } from 'react-intl';
4
5import { FeatureItem } from './FeatureItem';
6
7const messages = defineMessages({
8 availableRecipes: {
9 id: 'pricing.features.recipes',
10 defaultMessage: 'Choose from more than 70 Services', // TODO: Make this dynamic
11 },
12 accountSync: {
13 id: 'pricing.features.accountSync',
14 defaultMessage: 'Account Synchronisation',
15 },
16 desktopNotifications: {
17 id: 'pricing.features.desktopNotifications',
18 defaultMessage: 'Desktop Notifications',
19 },
20 unlimitedServices: {
21 id: 'pricing.features.unlimitedServices',
22 defaultMessage: 'Add unlimited services',
23 },
24 spellchecker: {
25 id: 'pricing.features.spellchecker',
26 defaultMessage: 'Spellchecker support',
27 },
28 workspaces: {
29 id: 'pricing.features.workspaces',
30 defaultMessage: 'Workspaces',
31 },
32 customWebsites: {
33 id: 'pricing.features.customWebsites',
34 defaultMessage: 'Add Custom Websites',
35 },
36 onPremise: {
37 id: 'pricing.features.onPremise',
38 defaultMessage: 'On-premise & other Hosted Services',
39 },
40 thirdPartyServices: {
41 id: 'pricing.features.thirdPartyServices',
42 defaultMessage: 'Install 3rd party services',
43 },
44 serviceProxies: {
45 id: 'pricing.features.serviceProxies',
46 defaultMessage: 'Service Proxies',
47 },
48 teamManagement: {
49 id: 'pricing.features.teamManagement',
50 defaultMessage: 'Team Management',
51 },
52});
53
54export class FeatureList extends Component {
55 static propTypes = {
56 className: PropTypes.string,
57 featureClassName: PropTypes.string,
58 };
59
60 static defaultProps = {
61 className: '',
62 featureClassName: '',
63 };
64
65 render() {
66 const { className, featureClassName } = this.props;
67 const { intl } = this.props;
68
69 const features = [
70 messages.availableRecipes,
71 messages.accountSync,
72 messages.desktopNotifications,
73
74 messages.spellchecker,
75
76 messages.workspaces,
77 messages.customWebsites,
78 messages.thirdPartyServices,
79
80 messages.unlimitedServices,
81 messages.onPremise,
82 messages.serviceProxies,
83 messages.teamManagement,
84 ];
85
86 return (
87 <ul className={className}>
88 {features.map(feature => (
89 <FeatureItem
90 name={intl.formatMessage(feature)}
91 className={featureClassName}
92 />
93 ))}
94 </ul>
95 );
96 }
97}
98
99export default injectIntl(FeatureList);