First almost fully functioning MVP.
Lacking: - Seasons cannot be added/edited - image upload - layout recipe/adding
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
<script lang="ts">
|
||||
import '$lib/components/nordtheme.css';
|
||||
import Recipes from '$lib/components/Recipes.svelte';
|
||||
import Search from './Search.svelte';
|
||||
let months = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
||||
let month : number;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
a.month{
|
||||
text-decoration: unset;
|
||||
font-family: sans-serif;
|
||||
border-radius: 1000px;
|
||||
background-color: var(--blue);
|
||||
color: var(--nord5);
|
||||
@@ -36,7 +39,9 @@ a.month:hover{
|
||||
<a class=month href="/rezepte/season/{i+1}">{month}</a>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<Search></Search>
|
||||
</section>
|
||||
<section>
|
||||
<slot name=recipes></slot>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user