topbar.hbs (1220B)
1 <a class="brand" href="#/account/overview" data-route="/account/overview" aria-label="{{appName}} account"> 2 <svg class="brand-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> 3 <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path> 4 </svg> 5 <span class="brand-name">{{appName}}</span> 6 </a> 7 <details class="user-menu"> 8 <summary aria-label="Account menu">{{> component/icon name="user"}}</summary> 9 <div class="user-panel"> 10 <div class="user-summary"> 11 <span class="user-name">{{user.name}}</span> 12 <span class="user-meta">{{user.email}}</span> 13 </div> 14 <div class="user-menu-list"> 15 <button class="user-menu-item" type="button" data-action="cycle-theme"> 16 {{> component/icon name="theme"}} 17 <span>Theme</span> 18 <span class="user-menu-value">{{themeLabel theme.value}}</span> 19 </button> 20 <button class="user-menu-item" type="button" data-action="sign-out"> 21 {{> component/icon name="signout"}} 22 <span>Sign out</span> 23 </button> 24 </div> 25 </div> 26 </details>