Angelegt Seite "Ambulante Pflege", Shortcode "Card"

This commit is contained in:
Andreas Hnida 2024-02-20 13:51:18 +00:00
commit e047c4d2df
12 changed files with 76 additions and 20 deletions

View file

@ -1,16 +1,5 @@
{{ define "main" }}
{{ partial "page-header" . }}
<section class="section-sm">
<div class="container">
<div class="row justify-center">
<div class="lg:col-10">
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

View file

@ -0,0 +1,5 @@
<div class="relative flex flex-col mt-6 text-gray-700 bg-white shadow-md bg-clip-border rounded-xl w-96">
<div class="p-6">
{{ .Inner }}
</div>
</div>

View file

@ -1,7 +1,7 @@
<div class="slides h-screen md:h-full {{ if isset .Params "first" }}current{{ end }}" style="background-image:url('{{ .Get "image" }}')">
<h1 class="mb-4 text-4xl font-extrabold leading-none tracking-tight md:text-5xl lg:text-6xl">
{{ if ne (.Get "title") "" }}
<h1 class="mb-4 text-4xl font-extrabold leading-none tracking-tight md:text-5xl lg:text-6xl">
{{ .Get "title" }}
{{ end }}
</h1>
{{ end }}
</div>

View file

@ -1,3 +1,4 @@
{{/* TODO ADD S M L Modes */}}
<section class="hero-slider h-screen md:h-[750px]">
<div class="verua-slider-wrapper">
<div class="verua-slider h-screen md:h-[750px]" id="verua-slider">
@ -36,6 +37,5 @@ slideNumber = slideNumber+1;
}
slides[slideNumber].classList.add("current");
}
</script>
<!-- /Hero Slider -->