@@ -14,14 +14,14 @@ import {DietType, PoliticalType, RelationshipType, RomanticType} from 'web/lib/u
1414import { FilterFields } from "common/filters" ;
1515import { ShortBioToggle } from "web/components/filters/short-bio-toggle" ;
1616import { PrefGenderFilter , PrefGenderFilterText } from "./pref-gender-filter"
17- import { KidsLabel , WantsKidsFilter , WantsKidsIcon } from "web/components/filters/wants-kids-filter" ;
17+ import { KidsLabel , WantsKidsFilter } from "web/components/filters/wants-kids-filter" ;
1818import { wantsKidsLabels } from "common/wants-kids" ;
19- import { FaChild } from "react-icons/fa"
2019import { HasKidsFilter , HasKidsLabel } from "./has-kids-filter"
2120import { hasKidsLabels } from "common/has-kids" ;
2221import { RomanticFilter , RomanticFilterText } from "web/components/filters/romantic-filter" ;
2322import { DietFilter , DietFilterText } from "web/components/filters/diet-filter" ;
2423import { PoliticalFilter , PoliticalFilterText } from "web/components/filters/political-filter" ;
24+ import { EducationFilter , EducationFilterText } from "web/components/filters/education-filter" ;
2525
2626function MobileFilters ( props : {
2727 filters : Partial < FilterFields >
@@ -198,7 +198,7 @@ function MobileFilters(props: {
198198 filters . wants_kids_strength != null &&
199199 filters . wants_kids_strength !== - 1
200200 }
201- // icon={<WantsKidsIcon strength={filters.wants_kids_strength ?? -1}/>}
201+ // icon={<WantsKidsIcon strength={filters.wants_kids_strength ?? -1}/>}
202202 selection = {
203203 < KidsLabel
204204 strength = { filters . wants_kids_strength ?? - 1 }
@@ -221,7 +221,7 @@ function MobileFilters(props: {
221221 openFilter = { openFilter }
222222 setOpenFilter = { setOpenFilter }
223223 isActive = { filters . has_kids != null && filters . has_kids !== - 1 }
224- // icon={<FaChild className="text-ink-900 h-4 w-4"/>}
224+ // icon={<FaChild className="text-ink-900 h-4 w-4"/>}
225225 selection = {
226226 < HasKidsLabel
227227 has_kids = { filters . has_kids ?? - 1 }
@@ -279,6 +279,24 @@ function MobileFilters(props: {
279279 < PoliticalFilter filters = { filters } updateFilter = { updateFilter } />
280280 </ MobileFilterSection >
281281
282+ { /* EDUCATION */ }
283+ < MobileFilterSection
284+ title = "Education"
285+ openFilter = { openFilter }
286+ setOpenFilter = { setOpenFilter }
287+ isActive = { hasAny ( filters . education_levels ) }
288+ selection = {
289+ < EducationFilterText
290+ options = { filters . education_levels as string [ ] }
291+ highlightedClass = {
292+ hasAny ( filters . education_levels ) ? 'text-primary-600' : 'text-ink-900'
293+ }
294+ />
295+ }
296+ >
297+ < EducationFilter filters = { filters } updateFilter = { updateFilter } />
298+ </ MobileFilterSection >
299+
282300 { /* Short Bios */ }
283301 < Col className = "p-4 pb-2" >
284302 < ShortBioToggle
0 commit comments