Skip to content

Commit

Permalink
update dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
salahlalami committed Sep 29, 2024
1 parent 0141618 commit 8ffda8f
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions frontend/src/apps/Header/UpgradeButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,8 @@ import { RocketOutlined } from '@ant-design/icons';

import useLanguage from '@/locale/useLanguage';

const SelfHostedPlan = () => {
const features = [
'Self-Hosted Premium Version',
'ulimited Users',
'Multi-Currency - ulimited currency',
'Multi-Branch - ulimited branch',
'Free 1 year update',
'24/7 priority support',
];

return (
<List
size="large"
footer={
<Button
type="primary"
size="large"
block
onClick={() => {
window.open('https://cloud.idurarapp.com');
}}
>
Purchase Now
</Button>
}
// bordered
dataSource={features}
renderItem={(item) => <List.Item style={{ textAlign: 'center' }}>{item}</List.Item>}
/>
);
};

export default function UpgradeButton() {
const translate = useLanguage();
const Content = () => {
return (
<SelfHostedPlan />
// <p>{translate('Do you need help on customize of this app')}</p>
// <Button
// type="primary"
// onClick={() => {
// window.open(`https://www.idurarapp.com/contact-us/`);
// }}
// >
// {translate('Contact us')}
// </Button>
// </>
);
};

return (
<Badge count={1} size="small">
Expand All @@ -64,8 +17,6 @@ export default function UpgradeButton() {
float: 'right',
marginTop: '5px',
cursor: 'pointer',
// background: '#f56a00',
// boxShadow: '0 2px 0 #f56a22',
}}
icon={<RocketOutlined />}
onClick={() => {
Expand Down

0 comments on commit 8ffda8f

Please sign in to comment.