mirror of
				https://gitlab.com/Alamantus/Readlebee.git
				synced 2025-11-04 02:07:11 +01:00 
			
		
		
		
	- Split initialization steps into their own files. - Use Choo routes instead of viewManager to properly set up 404 - Add styling for different colors of Picnic cards
		
			
				
	
	
		
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			277 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			277 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import html from 'choo/html';
 | 
						|
 | 
						|
export const errorView = (state, emit, i18n) => {
 | 
						|
  return html`<section class="error card">
 | 
						|
    <header>
 | 
						|
      <h1>${i18n.__('404.header')}</h1>
 | 
						|
    </header>
 | 
						|
    <footer>
 | 
						|
      <h2>${i18n.__('404.subheader')}</h2>
 | 
						|
    </footer>
 | 
						|
  </section>`;
 | 
						|
} |