2021-09-10 15:38:53 +00:00
|
|
|
import variables from 'modules/variables';
|
2022-10-30 16:56:26 +00:00
|
|
|
import { memo } from 'react';
|
|
|
|
|
2021-03-23 09:44:57 +00:00
|
|
|
import Tabs from './backend/Tabs';
|
2020-11-04 12:01:18 +00:00
|
|
|
|
2021-08-15 21:28:37 +00:00
|
|
|
import MarketplaceTab from '../marketplace/sections/Marketplace';
|
|
|
|
|
2022-10-30 16:56:26 +00:00
|
|
|
function Marketplace(props) {
|
2021-03-17 13:01:53 +00:00
|
|
|
return (
|
2022-04-11 21:57:07 +00:00
|
|
|
<Tabs changeTab={(type) => props.changeTab(type)} current="marketplace">
|
2022-08-26 09:45:32 +00:00
|
|
|
<div label={variables.getMessage('modals.main.marketplace.all')} name="all">
|
2022-04-11 21:57:07 +00:00
|
|
|
<MarketplaceTab type="all" />
|
|
|
|
</div>
|
2022-08-26 09:45:32 +00:00
|
|
|
<div label={variables.getMessage('modals.main.marketplace.photo_packs')} name="photo_packs">
|
2022-04-11 21:57:07 +00:00
|
|
|
<MarketplaceTab type="photo_packs" />
|
|
|
|
</div>
|
2022-08-26 09:45:32 +00:00
|
|
|
<div label={variables.getMessage('modals.main.marketplace.quote_packs')} name="quote_packs">
|
2022-04-11 21:57:07 +00:00
|
|
|
<MarketplaceTab type="quote_packs" />
|
|
|
|
</div>
|
2022-08-26 09:45:32 +00:00
|
|
|
<div
|
|
|
|
label={variables.getMessage('modals.main.marketplace.preset_settings')}
|
|
|
|
name="preset_settings"
|
|
|
|
>
|
2022-04-11 21:57:07 +00:00
|
|
|
<MarketplaceTab type="preset_settings" />
|
|
|
|
</div>
|
2022-08-29 20:07:52 +00:00
|
|
|
<div label={variables.getMessage('modals.main.marketplace.collections')} name="collections">
|
2022-08-16 15:38:22 +00:00
|
|
|
<MarketplaceTab type="collections" />
|
2022-08-01 17:28:02 +00:00
|
|
|
</div>
|
2021-03-23 09:44:57 +00:00
|
|
|
</Tabs>
|
2021-03-17 13:01:53 +00:00
|
|
|
);
|
|
|
|
}
|
2022-10-30 16:56:26 +00:00
|
|
|
|
2022-11-06 11:59:59 +00:00
|
|
|
export default memo(Marketplace);
|