* fix(scrolling): use body as scrolling container Fixes #526 * fixup tests and focus
		
			
				
	
	
		
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			531 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			531 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <Nav {page} />
 | |
| 
 | |
| <div class="main-content">
 | |
|   <main>
 | |
|     <slot></slot>
 | |
|   </main>
 | |
|   {#if !$isUserLoggedIn && page === 'home'}
 | |
|     <InformationalFooter />
 | |
|   {/if}
 | |
| </div>
 | |
| <script>
 | |
|   import Nav from './Nav.html'
 | |
|   import { store } from '../_store/store'
 | |
|   import InformationalFooter from './InformationalFooter.html'
 | |
| 
 | |
|   export default {
 | |
|     components: {
 | |
|       Nav,
 | |
|       InformationalFooter
 | |
|     },
 | |
|     oncreate () {
 | |
|       let { page } = this.get()
 | |
|       this.store.set({ currentPage: page })
 | |
|     },
 | |
|     store: () => store
 | |
|   }
 | |
| </script> |