Icon route added

This commit is contained in:
2023-07-03 12:39:34 +02:00
parent c7b257180f
commit e4e153fe1b
12 changed files with 205 additions and 27 deletions

View File

@ -4,7 +4,6 @@
import type { PageData } from './$types';
import "$lib/components/nordtheme.css"
import MultiImgWrapper from './MultiImgWrapper.svelte'
import EditButton from '$lib/components/EditButton.svelte';
import InstructionsPage from '$lib/components/InstructionsPage.svelte';
import IngredientsPage from '$lib/components/IngredientsPage.svelte';
@ -188,7 +187,7 @@ h4{
<TitleImgParallax src=/images/{data.images[0].mediapath}>
<div class=title>
<a class="icon" href='/rezepte/season/{data.season[0]}'>{data.icon}</a>
<a class="icon" href='/rezepte/icon/{data.icon}'>{data.icon}</a>
<h1>{@html data.name}</h1>
{#if data.description && ! data.preamble}
<p>{data.description}</p>