Commit 1e1403b4 authored by Dmytro Zavgorodniy's avatar Dmytro Zavgorodniy

[RNA-761] Add latest constants

parent 1b809bfd
export const BUDGET_RANGE = [10, 50]
export const BUDGET_RANGE = [10, 5000]
export const RATING_RANGE = [85, 100]
export const WINE_COLORS = ['red', 'white', 'rose']
export const ORDER_BY = [
'Search Relevance',
'Alphabetical',
'Price Low to High',
'Price High to Low',
]
export const WINE_TYPES = {
regular: 'Still',
}
......@@ -9,3 +15,10 @@ export const WINE_COLORS_MAP = {
white: '1,2,3',
rose: '4',
}
export const ORDER_BY_MAP = {
[ORDER_BY[0]]: undefined,
[ORDER_BY[1]]: 'name',
[ORDER_BY[2]]: 'price',
[ORDER_BY[3]]: '-price',
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment