first commit
This commit is contained in:
		
							
								
								
									
										5
									
								
								src/lib/env.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/lib/env.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
export const env = {
 | 
			
		||||
    api_url: "http://localhost:3000",
 | 
			
		||||
    youpage: "http://localhost:3002",
 | 
			
		||||
    sites_host: "127.0.0.1.nip.io:3001"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										2
									
								
								src/lib/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								src/lib/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
// place files you want to import through the `$lib` alias in this folder.
 | 
			
		||||
export * from "./env";
 | 
			
		||||
							
								
								
									
										22
									
								
								src/lib/ui/header.svelte
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/lib/ui/header.svelte
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
<script>
 | 
			
		||||
    export let title;
 | 
			
		||||
    export let subtitle;
 | 
			
		||||
 | 
			
		||||
    export let titleClasses = "";
 | 
			
		||||
    export let subtitleClasses = "";
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<div class="mt-44 mb-20 bg-white text-center w-full">
 | 
			
		||||
    <div class="section-wrapper">
 | 
			
		||||
        {#if title}
 | 
			
		||||
            <h1 class="text-7xl/none mb-5 font-bold {titleClasses}">
 | 
			
		||||
                {title}
 | 
			
		||||
            </h1>
 | 
			
		||||
        {/if}
 | 
			
		||||
        {#if subtitle}
 | 
			
		||||
            <p class="text-2xl/normal max-w-2xl mx-auto text-gray-700 {subtitleClasses}">
 | 
			
		||||
                {subtitle}
 | 
			
		||||
            </p>
 | 
			
		||||
        {/if}
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user