mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
66 lines
1.3 KiB
JavaScript
66 lines
1.3 KiB
JavaScript
/*
|
|
* Marketplace specific configuration.
|
|
*/
|
|
|
|
export const amenities = [
|
|
{
|
|
key: 'towels',
|
|
label: 'Towels',
|
|
},
|
|
{
|
|
key: 'bathroom',
|
|
label: 'Bathroom',
|
|
},
|
|
{
|
|
key: 'swimming_pool',
|
|
label: 'Swimming pool',
|
|
},
|
|
{
|
|
key: 'own_drinks',
|
|
label: 'Own drinks allowed',
|
|
},
|
|
{
|
|
key: 'jacuzzi',
|
|
label: 'Jacuzzi',
|
|
},
|
|
{
|
|
key: 'audiovisual_entertainment',
|
|
label: 'Audiovisual entertainment',
|
|
},
|
|
{
|
|
key: 'barbeque',
|
|
label: 'Barbeque',
|
|
},
|
|
{
|
|
key: 'own_food_allowed',
|
|
label: 'Own food allowed',
|
|
},
|
|
];
|
|
|
|
export const categories = [
|
|
{ key: 'smoke', label: 'Smoke' },
|
|
{ key: 'electric', label: 'Electric' },
|
|
{ key: 'wood', label: 'Wood' },
|
|
{ key: 'other', label: 'Other' },
|
|
];
|
|
|
|
// Price filter configuration
|
|
// Note: unlike most prices this is not handled in subunits
|
|
export const priceFilterConfig = {
|
|
min: 0,
|
|
max: 1000,
|
|
step: 5,
|
|
};
|
|
|
|
// Activate booking dates filter on search page
|
|
export const dateRangeFilterConfig = {
|
|
active: true,
|
|
};
|
|
|
|
// Activate keyword filter on search page
|
|
|
|
// NOTE: If you are ordering search results by distance the keyword search can't be used at the same time.
|
|
// You can turn off ordering by distance in config.js file
|
|
export const keywordFilterConfig = {
|
|
active: true,
|
|
};
|