diff --git a/themes/fiptheme/assets/sass/stage.scss b/themes/fiptheme/assets/sass/stage.scss
index 9b343da..592cf3e 100644
--- a/themes/fiptheme/assets/sass/stage.scss
+++ b/themes/fiptheme/assets/sass/stage.scss
@@ -2,7 +2,7 @@
margin-bottom: 4rem;
}
-.o-stage img {
+.o-stage > img {
width: 100%;
aspect-ratio: 4/1;
max-width: 1320px;
@@ -15,17 +15,27 @@
align-items: center;
}
-.o-stage__search-container {
+.o-stage__search {
position: absolute;
width: 60%;
+ height: 6rem;
left: 50%;
transform: translate(-50%);
display: flex;
+ background-color: white;
+
+ .pagefind-ui__drawer {
+ background-color: white;
+ padding: 0 1rem;
+ overscroll-behavior: contain;
+ height: 26rem;
+ overflow-y: scroll;
+ }
}
.o-stage__search-field {
width: 100%;
- height: 6rem;
+
padding-left: 1rem;
padding-right: 1rem;
background-color: white;
diff --git a/themes/fiptheme/layouts/_default/home.html b/themes/fiptheme/layouts/_default/home.html
index dfcacff..b40526f 100644
--- a/themes/fiptheme/layouts/_default/home.html
+++ b/themes/fiptheme/layouts/_default/home.html
@@ -1,27 +1,18 @@
{{ define "main" }}
-
-
-
-
- {{ partial "stage.html" }}
-
- {{ .Content }}
- {{ T "country"}}:
- {{ range where site.RegularPages "Section" "country"}}
- {{ .Title }}
- {{ end }}
-
-
-
-
-
Die neuesten Neuigkeiten 🔥
- {{ range first 3 (where site.RegularPages "Section" "news") }}
- {{ partial "teaser.html" . }}
- {{ end }}
-
-
+ {{ partial "stage.html" }}
+
+ {{ .Content }}
+ {{ T "country"}}:
+ {{ range where site.RegularPages "Section" "country"}}
+ {{ .Title }}
+ {{ end }}
+
+
+
+
Die neuesten Neuigkeiten 🔥
+ {{ range first 3 (where site.RegularPages "Section" "news") }}
+ {{ partial "teaser.html" . }}
+ {{ end }}
+
+
{{ end }}
diff --git a/themes/fiptheme/layouts/partials/head.html b/themes/fiptheme/layouts/partials/head.html
index 503befb..60f6b46 100644
--- a/themes/fiptheme/layouts/partials/head.html
+++ b/themes/fiptheme/layouts/partials/head.html
@@ -10,7 +10,16 @@
{{ $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "sass/main.scss" | toCSS $options | minify }}
+
+
+
+
+
diff --git a/themes/fiptheme/layouts/partials/stage.html b/themes/fiptheme/layouts/partials/stage.html
index e40e25c..d86a9ec 100644
--- a/themes/fiptheme/layouts/partials/stage.html
+++ b/themes/fiptheme/layouts/partials/stage.html
@@ -1,8 +1,5 @@
{{ $image := resources.Get "images/startpage.webp" }}
-
-
+
+
\ No newline at end of file
diff --git a/themes/fiptheme/layouts/partials/teaser.html b/themes/fiptheme/layouts/partials/teaser.html
index 7b73bcf..5cf6eeb 100644
--- a/themes/fiptheme/layouts/partials/teaser.html
+++ b/themes/fiptheme/layouts/partials/teaser.html
@@ -1,6 +1,6 @@
{{ $image := .Page.Resources.GetMatch "image.webp" }}
-
+
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}