Skip to content

Commit 8ffda8f

Browse files
committed
update dashboard
1 parent 0141618 commit 8ffda8f

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

frontend/src/apps/Header/UpgradeButton.jsx

-49
Original file line numberDiff line numberDiff line change
@@ -6,55 +6,8 @@ import { RocketOutlined } from '@ant-design/icons';
66

77
import useLanguage from '@/locale/useLanguage';
88

9-
const SelfHostedPlan = () => {
10-
const features = [
11-
'Self-Hosted Premium Version',
12-
'ulimited Users',
13-
'Multi-Currency - ulimited currency',
14-
'Multi-Branch - ulimited branch',
15-
'Free 1 year update',
16-
'24/7 priority support',
17-
];
18-
19-
return (
20-
<List
21-
size="large"
22-
footer={
23-
<Button
24-
type="primary"
25-
size="large"
26-
block
27-
onClick={() => {
28-
window.open('https://cloud.idurarapp.com');
29-
}}
30-
>
31-
Purchase Now
32-
</Button>
33-
}
34-
// bordered
35-
dataSource={features}
36-
renderItem={(item) => <List.Item style={{ textAlign: 'center' }}>{item}</List.Item>}
37-
/>
38-
);
39-
};
40-
419
export default function UpgradeButton() {
4210
const translate = useLanguage();
43-
const Content = () => {
44-
return (
45-
<SelfHostedPlan />
46-
// <p>{translate('Do you need help on customize of this app')}</p>
47-
// <Button
48-
// type="primary"
49-
// onClick={() => {
50-
// window.open(`https://www.idurarapp.com/contact-us/`);
51-
// }}
52-
// >
53-
// {translate('Contact us')}
54-
// </Button>
55-
// </>
56-
);
57-
};
5811

5912
return (
6013
<Badge count={1} size="small">
@@ -64,8 +17,6 @@ export default function UpgradeButton() {
6417
float: 'right',
6518
marginTop: '5px',
6619
cursor: 'pointer',
67-
// background: '#f56a00',
68-
// boxShadow: '0 2px 0 #f56a22',
6920
}}
7021
icon={<RocketOutlined />}
7122
onClick={() => {

0 commit comments

Comments
 (0)