Merging explore-redesign branch into develop for Explore July release #3

Merged
konstantina.galouni merged 6 commits from explore-redesign into develop 2023-07-05 11:15:39 +02:00

6 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 7ce16ab4b2 Merge remote-tracking branch 'origin/develop' into explore-redesign 2023-07-04 11:09:58 +03:00
Konstantinos Triantafyllou 4794bc9f62 Merge remote-tracking branch 'origin/develop' into explore-redesign 2023-06-26 15:32:44 +03:00
Konstantinos Triantafyllou a49dca9a91 Change input text color to black. Remove background from disabled action-icon and search-icon on background modifier 2023-05-15 14:41:19 +03:00
Konstantinos Triantafyllou 976591a247 Add mofifier background in input also for action-icon 2023-05-12 18:06:58 +03:00
Konstantinos Triantafyllou 856e482724 Add background modifier in search-input 2023-05-12 17:27:11 +03:00
Konstantina Galouni 4e9e2b25e1 [Library & openaire-theme & Explore | explore-redesign]: Added search form in menu (navbar) in landing pages.
1. search.less: Added css for modifier .small-vertical for .input-wrapper of <search-input>.
2. layout.service.ts: Added hasMenuSearchBarSubject: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false), parsing and getter/setter methods.
3. navigationBar.module.ts: Imported SearchInputModule.
4. navigationBar.component.ts:
   a. Added searchMode: boolean = false; and hasSearchBar: boolean = false; (and other helpful fields)
   b. Subscribe to queryParams to hide search bar and reset keyword | Subscribe to layoutService.hasMenuSearchBar to check if search should be included in navbar or not.
   c. Added methods "openSearch()" to show the search form and "goTo()" to trigger the search action and navigate to the search page.
5. navigationBar.component.html: Added <div search-input> and search-icon button to show search bar | Added checks if searchMode is enabled (search form visible) or not.
6. app-routing.module.ts: In routes for landing pages added in data: hasMenuSearchBar: true.
2023-05-11 17:17:16 +03:00