theodor90 / hotel-booking

1 stars 0 forks source link

Searchbar #3

Open theodor90 opened 3 months ago

theodor90 commented 3 months ago

Libraries used: https://lesscss.org/ https://rsuitejs.com/

mattiasvlex commented 3 months ago

@mattiasvlex : Mergade "search bar" med main eftersom det bara var nya filer.

First draft added. Date picker works well, destination picker needs some more work.

theodor90 commented 3 months ago

Directory changes "searchbar" --> "datepicker, destinationpicker, inputsearchbar"

├─ components/ │ ├─ searchbar/ │ │ ├─ datepicker/ │ │ ├─ destinationpicker/ │ │ ├─ inputsearchbar/

mattiasvlex commented 3 months ago

Done! However the "SearchBar" files are the whole search bar and the "picker" components are children, so made it this way:

SearchBar (with jsx and css), subfolders DatePicker and DestinationPicker.

theodor90 commented 3 months ago

Folders needs to be lowercase @mattiasvlex

al-swe commented 3 months ago

Updated layout to: Destination select, from date input and to date input. With small css changes to suit new layout.

Added search functionality that filters visible rooms depending on user input data.