pruebas locas
							parent
							
								
									c6d23aa131
								
							
						
					
					
						commit
						b1083c934e
					
				@ -0,0 +1,15 @@
 | 
			
		||||
<script>
 | 
			
		||||
  import {templates} from '$lib/templates/templates'
 | 
			
		||||
  export let template;
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<div class="heading" style=`top: ${templates[template].heading.top}`>
 | 
			
		||||
	<input type="text" placeholder="Ej. Charla, taller, coloquio" />
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
  .heading {
 | 
			
		||||
    position: absolute;
 | 
			
		||||
  }
 | 
			
		||||
</style>
 | 
			
		||||
@ -1,6 +1,18 @@
 | 
			
		||||
import { verde } from '$lib/templates/verde';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
* @type {Array<Object>} 
 | 
			
		||||
 * @typedef {{
 | 
			
		||||
  * name: string;
 | 
			
		||||
  * heading: Object;
 | 
			
		||||
  * title: string;
 | 
			
		||||
  * subtitle: string;
 | 
			
		||||
  * datetime: string;
 | 
			
		||||
  * weekday: string;
 | 
			
		||||
  * content: string;
 | 
			
		||||
  * address: string;
 | 
			
		||||
 * }} Template
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/** @type Array<Template> */
 | 
			
		||||
export const templates = [];
 | 
			
		||||
templates.push(verde);
 | 
			
		||||
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue