From 75269a3a30e42b9c5684a3d7dd64d4e9d07b1b91 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 1 Sep 2023 12:55:40 +0000 Subject: [PATCH] test --- frontend/media/arrow-right.svg | 2 +- frontend/src/lib/assets/css/base.less | 2 ++ .../lib/components/Pagebuilder/Pagebuilder.svelte | 3 ++- frontend/src/lib/components/Pagebuilder/Rows.svelte | 13 +++++++++++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/frontend/media/arrow-right.svg b/frontend/media/arrow-right.svg index ea4eca1..13f0a28 100644 --- a/frontend/media/arrow-right.svg +++ b/frontend/media/arrow-right.svg @@ -1,3 +1,3 @@ - + diff --git a/frontend/src/lib/assets/css/base.less b/frontend/src/lib/assets/css/base.less index bf5bdc7..671b4ce 100644 --- a/frontend/src/lib/assets/css/base.less +++ b/frontend/src/lib/assets/css/base.less @@ -24,6 +24,8 @@ ol { a { text-decoration: none; font-weight: 700; + color: inherit; + font-weight: normal; } /* Tabellen */ diff --git a/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte b/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte index 97d0c95..e4e2f80 100644 --- a/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte +++ b/frontend/src/lib/components/Pagebuilder/Pagebuilder.svelte @@ -21,6 +21,7 @@ export let row: Row export let pageId: string export let bright: boolean + export let isHP: boolean function checkNestedPath() { const pathSegments = location.pathname.split("/").filter((segment) => segment.length) @@ -67,7 +68,7 @@ class:dominant="{row.columns.some((col) => col.contentType == 'iconCycleCircle')}" > {#each row?.columns as col} -
+
{#if col?.contentType == "text"} {:else if col?.contentType == "textLink"} diff --git a/frontend/src/lib/components/Pagebuilder/Rows.svelte b/frontend/src/lib/components/Pagebuilder/Rows.svelte index 1b73e6d..46d6169 100644 --- a/frontend/src/lib/components/Pagebuilder/Rows.svelte +++ b/frontend/src/lib/components/Pagebuilder/Rows.svelte @@ -45,14 +45,23 @@ {#if page} {#if path == "/"}{/if} {#each page.rows as row, i} -
+
{#if row.row.backgroundImage}
img
{/if}
- +
{/each}