Übernahme Suchbegriff und Typsuche

This commit is contained in:
Simon Martens
2025-03-13 13:45:48 +01:00
parent 962ffcca17
commit 96153381fb
6 changed files with 40 additions and 19 deletions

View File

@@ -1,7 +1,10 @@
{{ $model := . }}
<div id="searchcontrol" class="container-normal">
<div
id="searchcontrol"
class="container-normal"
x-data="{ placeholder: '{{ $model.parameters.Placeholder }}'">
<div id="searchheading" class="flex flex-row justify-between min-h-14 items-end relative">
<nav id="searchnav" class="flex flex-row items-end">
<div
@@ -18,13 +21,13 @@
>
-->
<a
href="/suche/baende"
:href="'/suche/baende/?p='+placeholder"
class="block no-underline"
{{ if eq $model.type "baende" }}aria-current="page"{{- end -}}
>Bänden</a
>
<a
href="/suche/beitraege"
:href="'/suche/beitraege/?p='+placeholder"
class="block no-underline"
{{ if eq $model.type "beitraege" }}aria-current="page"{{- end -}}
>Beiträgen</a