|
5 | 5 | <h3>{{this.settings.appName}}</h3> |
6 | 6 | </LinkTo> |
7 | 7 | <div class="right menu nav-bar"> |
| 8 | + {{#if (and this.isNotEventPageRoute this.isNotExplorePageRoute)}} |
| 9 | + <div class="search-bar d-flex items-center space-between m-2 p-2"> |
| 10 | + <Input @class="prompt" @type="text" @key-up={{"handleKeyPress"}} @value={{this.event_name}} placeholder="Search Events" /> |
| 11 | + <i class="search icon"></i> |
| 12 | + </div> |
| 13 | + {{/if}} |
8 | 14 | {{#if (and (not this.session.isAuthenticated) this.isNotEventPageRoute)}} |
9 | 15 | <LinkTo |
10 | 16 | @route="pricing" class="item" |
11 | 17 | @activeClass="">{{t 'Pricing'}}</LinkTo> |
12 | | - {{/if}} |
13 | | - {{#if this.isNotEventPageRoute}} |
14 | | - <LinkTo |
15 | | - @route="explore" class="item" |
16 | | - @activeClass="">{{t 'Browse Events'}}</LinkTo> |
17 | 18 | {{/if}} |
18 | 19 | {{#if this.session.isAuthenticated}} |
19 | 20 | <NotificationDropdown /> |
|
67 | 68 | @route="index" class="item" @activeClass=""> |
68 | 69 | <div class="ui header small text">{{this.settings.appName}}</div> |
69 | 70 | </LinkTo> |
| 71 | + <div id="mobile-bar" class="search-bar search-bar-mobile d-flex items-center space-between m-1 p-2"> |
| 72 | + <i class="search icon" style="cursor: auto;"></i> |
| 73 | + <Input @class="prompt" @type="text" @key-up={{"handleKeyPress"}} @value={{this.event_name}} placeholder="Search Events" /> |
| 74 | + <div role="button" {{action "toggleSearchBar"}}> |
| 75 | + <i class="close icon" ></i> |
| 76 | + </div> |
| 77 | + </div> |
70 | 78 | <div class="right menu nav-bar"> |
| 79 | + {{#if (and this.isNotEventPageRoute this.isNotExplorePageRoute)}} |
| 80 | + <div role="button" class="item ui" {{action "toggleSearchBar"}}> |
| 81 | + <i class="search icon"></i> |
| 82 | + </div> |
| 83 | + {{/if}} |
71 | 84 | {{#if this.session.isAuthenticated}} |
72 | 85 | <NotificationDropdown |
73 | 86 | @notifications={{this.notifications}} /> |
|
0 commit comments