|
1 | 1 | <template> |
2 | 2 | <!-- eslint-disable max-len --> |
3 | 3 | <section> |
4 | | - <h1 class="text-5xl my-4 text-center sm:text-left leading-none onboarding-sub-container-content-heading">{{recommendations.length}} {{title}}</h1> |
5 | | - <div class="flex w-full items-stretch sm:items-center justify-center sm:justify-start mb-12 relative"> |
| 4 | + <h1 class="text-5xl my-4 text-center md:text-left leading-none onboarding-sub-container-content-heading">{{recommendations.length}} {{title}}</h1> |
| 5 | + <div class="flex w-full items-stretch sm:items-center justify-center md:justify-start mb-12 relative"> |
6 | 6 | <Sort |
7 | | - v-bind:options="['Youngest', 'Oldest', 'Closest', 'Farest', 'Most popular', 'Least popular', 'Most common interests', 'Least common interests']" |
| 7 | + v-bind:position="'left'" |
| 8 | + v-bind:options="['Youngest', 'Oldest', 'Closest', 'Furthest', 'Most popular', 'Least popular', 'Most common interests', 'Least common interests']" |
8 | 9 | v-on:sort="sort"></Sort> |
9 | 10 | <FilterSlider v-bind:name="'age'" v-on:filter="filter"></FilterSlider> |
10 | 11 | <FilterSlider v-bind:unit="'km'" v-bind:name="'distance'" v-on:filter="filter"></FilterSlider> |
11 | 12 | <FilterSlider v-bind:unit="'pts'" v-bind:name="'fame'" v-on:filter="filter"></FilterSlider> |
12 | | - <FilterSlider v-bind:name="'tags'" v-on:filter="filter"></FilterSlider> |
| 13 | + <MultipleFiltersDropdown |
| 14 | + v-bind:position="'right'" |
| 15 | + v-bind:options="[ |
| 16 | + 'swimming', 'wine', 'reading', 'foodie', 'netflix', 'music', 'yoga', 'golf', |
| 17 | + 'photography', 'baking', 'shopping', 'outdoors', 'art', 'travel', 'hiking', |
| 18 | + 'running', 'volunteering', 'cycling', 'climbing', 'tea', 'fishing', 'soccer', |
| 19 | + 'museum', 'dancing', 'surfing', 'karaoke', 'parties', 'diy', |
| 20 | + 'walking', 'cat lover', 'movies', 'gardening', 'trivia', 'working out', |
| 21 | + 'cooking', 'gamer', 'brunch', 'blogging', 'picknicking', 'athlete', |
| 22 | + 'dog lover', 'politics', 'environmentalism', 'instagram', 'spirituality', |
| 23 | + 'language exchange', 'sports', 'comedy', 'fashion', 'disney', 'vlogging', |
| 24 | + 'astrology', 'board games', 'craft beer', 'coffee', 'writer', |
| 25 | + ]" |
| 26 | + v-bind:name="'interests'" |
| 27 | + v-on:filter="filter"></MultipleFiltersDropdown> |
13 | 28 | </div> |
14 | 29 | <!-- <div class="flex flex-wrap items-center justify-start">--> |
15 | 30 | <div class="grid grid-cols-1 md:grid-cols-2 gap-2"> |
|
25 | 40 | import Sort from '@/components/shared/Sort.vue'; |
26 | 41 | import FilterSlider from '@/components/shared/FilterSlider.vue'; |
27 | 42 | import RecommendationCard from '@/components/app/recommendations/RecommendationCard.vue'; |
| 43 | +import MultipleFiltersDropdown from '@/components/shared/MultipleFiltersDropdown.vue'; |
28 | 44 |
|
29 | 45 | export default { |
30 | 46 | components: { |
31 | 47 | Sort, |
32 | 48 | RecommendationCard, |
33 | 49 | FilterSlider, |
| 50 | + MultipleFiltersDropdown, |
34 | 51 | }, |
35 | 52 | methods: { |
36 | 53 | sort() { |
|
0 commit comments