forked from cybrespace/pinafore
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			383 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			383 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <:Window bind:online />
 | |
| <Nav :page />
 | |
| 
 | |
| <div class="container">
 | |
|   <main>
 | |
|     <slot></slot>
 | |
|   </main>
 | |
| </div>
 | |
| <script>
 | |
| 	import Nav from './Nav.html';
 | |
|   import { store } from '../_store/store'
 | |
| 
 | |
| 	export default {
 | |
| 	  oncreate() {
 | |
| 	    this.observe('online', online => {
 | |
| 	      this.store.set({online: online})
 | |
|       })
 | |
|     },
 | |
| 		components: {
 | |
| 			Nav
 | |
| 		},
 | |
|     store: () => store
 | |
| 	}
 | |
| </script> |