|
69 | 69 | </div> |
70 | 70 |
|
71 | 71 | <div class="mobile only row"> |
72 | | - <div class="ui navbar tiny menu"> |
| 72 | + <div class="ui navbar {{if (and this.showSessions this.showSpeakers this.showExhibitors (not isNotPublicPageRoute)) 'six item item-public' 'tiny'}} menu"> |
73 | 73 | <a href="#" class="menu item open sidebar"> |
74 | 74 | <i class="large content icon"></i> |
75 | 75 | </a> |
|
86 | 86 | </button> |
87 | 87 | {{else}} |
88 | 88 | <button class="item btn-un-bd" {{on "click" this.handleClick}}> |
89 | | - <div class="ui header small text">Home</div> |
| 89 | + <div class="ui header small text item-padding">Home</div> |
90 | 90 | </button> |
91 | 91 | {{/if}} |
92 | 92 | {{/if}} |
|
103 | 103 | </button> |
104 | 104 | {{else}} |
105 | 105 | <button class="item btn-un-bd" {{on "click" this.handleClick}}> |
106 | | - <div class="ui header small text">Home</div> |
| 106 | + <div class="ui header small text item-padding">Home</div> |
107 | 107 | </button> |
108 | 108 | {{/if}} |
109 | 109 | {{/if}} |
110 | 110 | {{/if}} |
111 | | - |
| 111 | + {{#if (not this.isNotPublicPageRoute)}} |
| 112 | + {{#if this.showSessions}} |
| 113 | + <div role="button" class="item menu-item-public{{if (not (and showSessions showSpeakers showExhibitors)) 'item-padding' ''}} " {{on "click" (fn this.redirectToPage 'schedule')}}>Schedule</div> |
| 114 | + {{/if}} |
| 115 | + {{#if this.showSpeakers}} |
| 116 | + <div role="button" class="item menu-item-public {{if (not (and showSessions showSpeakers showExhibitors)) 'item-padding' ''}} " {{on "click" (fn this.redirectToPage 'speakers')}}>Speakers</div> |
| 117 | + {{/if}} |
| 118 | + {{#if this.showExhibitors}} |
| 119 | + <div role="button" class="item menu-item-public item-exhibition" {{on "click" (fn this.redirectToPage 'exhibition')}}>Exhibition</div> |
| 120 | + {{/if}} |
| 121 | + {{/if}} |
112 | 122 | <div id="mobile-bar" class="search-bar search-bar-mobile d-flex items-center space-between m-1 p-2"> |
113 | 123 | <Input @class="prompt" id="mobileSearchBar" @type="text" @key-up={{action "handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} /> |
114 | 124 | <i role="button" class="search icon" style="cursor: auto;" {{on "click" this.searchOnClick}}></i> |
115 | 125 | </div> |
116 | | - <div class="right menu nav-bar"> |
117 | | - {{#if this.session.isAuthenticated}} |
| 126 | + <div class="{{if (and showSessions showSpeakers showExhibitors (not isNotPublicPageRoute)) 'item-menu-right' 'right menu nav-bar' }}"> |
| 127 | + {{!-- {{#if this.session.isAuthenticated}} --}} |
118 | 128 | {{!-- <NotificationDropdown |
119 | 129 | @notifications={{this.notifications}} /> --}} |
120 | | - {{/if}} |
| 130 | + {{!-- {{/if}} --}} |
121 | 131 | {{#if (and this.isNotEventPageRoute this.isNotExplorePageRoute this.isNotWizardPageRoute)}} |
122 | 132 | <div role="button" class="item ui" {{action "toggleMobileSearchBar"}} > |
123 | 133 | <i class="search icon"></i> |
|
133 | 143 | </LinkTo> |
134 | 144 | {{else}} |
135 | 145 | <LinkTo |
136 | | - @route="index" class="item" @activeClass=""> |
137 | | - <div class="ui header small text">{{this.settings.appName}}</div> |
| 146 | + @route="index" class="item {{if (and showSessions showSpeakers showExhibitors (not isNotPublicPageRoute)) 'rm-pd-l' ''}}" @activeClass=""> |
| 147 | + <div class="ui header small text " >{{this.settings.appName}}</div> |
138 | 148 | </LinkTo> |
139 | 149 | {{/if}} |
140 | 150 | {{else}} |
141 | | - <a href="{{href-to 'login'}}" class="item">{{t 'Login'}}</a> |
| 151 | + <a href="{{href-to 'login'}}" class="item {{if (and showSessions showSpeakers showExhibitors (not isNotPublicPageRoute)) 'rm-pd-l' ''}}">{{t 'Login'}}</a> |
142 | 152 | {{/if}} |
143 | 153 | </div> |
144 | 154 | </div> |
|
0 commit comments