first commit

This commit is contained in:
2024-05-29 22:29:18 +02:00
commit 5058d7ae26
27 changed files with 4528 additions and 0 deletions

5
src/lib/env.js Normal file
View 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
View 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
View 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>