Compare commits

...

2 Commits

Author SHA1 Message Date
2d68e756a7 test
All checks were successful
deploy to production / deploy (push) Successful in 35s
2023-10-18 14:49:29 +00:00
48a5043de1 test 2023-10-18 14:47:27 +00:00
3 changed files with 38 additions and 10 deletions

View File

@ -68,6 +68,20 @@ subFields:
label: Zwei zu drei label: Zwei zu drei
helperText: "Ist dies aktiviert, so wird die Zeile in zwei zu drei Spalten aufgeteilt." helperText: "Ist dies aktiviert, so wird die Zeile in zwei zu drei Spalten aufgeteilt."
- name: nextPage
type: string
meta:
label: Nächste Seite
widget: select
choices:
endpoint: page
params:
sort: path
projection: navigation
mapping:
id: path
name: path
- name: columns - name: columns
type: object[] type: object[]
meta: meta:

View File

@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.268 4.21a.75.75 0 0 0-1.04 1.08l8.275 7.96H3.75a.75.75 0 1 0 0 1.5h18.752l-8.273 7.959a.75.75 0 0 0 1.04 1.08l9.428-9.069a1 1 0 0 0 0-1.441l-9.428-9.07-.001.001z" fill="#333"/>
</svg>

After

Width:  |  Height:  |  Size: 297 B

View File

@ -44,16 +44,27 @@
</h3> </h3>
{/if} {/if}
{#if nestedPath} {#if nestedPath}
<h3 <div style="display: flex; width: 100%; justify-content: space-between;">
style="cursor: pointer; display: flex; align-items: center; gap: 10px; line-height: 1.4;" <h3
on:keydown style="cursor: pointer; display: flex; align-items: center; gap: 10px; line-height: 1.4;"
on:click="{() => { on:keydown
$rerender = $rerender + 1 on:click="{() => {
navigate(nestedPath) $rerender = $rerender + 1
}}" navigate(nestedPath)
> }}"
<img src="/media/arrow-l.svg" alt="arrow" /> Zurück zur Übersicht >
</h3> <img src="/media/arrow-l.svg" alt="arrow" /> Zurück zur Übersicht
</h3>
<h3
style="cursor: pointer; display: flex; align-items: center; gap: 10px; line-height: 1.4;"
on:keydown
on:click="{() => {
navigate(row?.nextPage || nestedPath)
}}"
>
zum nächsten Profil <img src="/media/arrowr.svg" alt="arrow" />
</h3>
</div>
{/if} {/if}
{#if row.pageTitle} {#if row.pageTitle}
<h1>{row.pageTitle}</h1> <h1>{row.pageTitle}</h1>