Erstellt Preislisten, PHPMAiler installiert

This commit is contained in:
Andreas Hnida 2024-02-21 09:12:01 +00:00
commit 3217c0a202
35 changed files with 1011 additions and 73 deletions

View file

@ -1,51 +1,51 @@
<!doctype html>
<html
itemscope
class="{{- if not site.Params.theme_switcher -}}
{{- site.Params.theme_default -}}
{{- end -}}"
lang="{{ site.LanguageCode | default `en-US` }}"
itemtype="http://schema.org/WebPage">
<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}
itemscope
class="{{- if not site.Params.theme_switcher -}}
{{- site.Params.theme_default -}}
{{- end -}}"
lang="{{ site.LanguageCode | default `en-US` }}"
itemtype="http://schema.org/WebPage">
<head>
<!-- head (don't cache it) -->
{{ partial "essentials/head.html" . }}
<!-- style (always cache it) -->
{{ partialCached "essentials/style.html" . }}
</head>
<!-- style (always cache it) -->
{{ partialCached "essentials/style.html" . }}
</head>
<body>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ partialCached "gtm-noscript.html" . }}
{{ else }}
{{ partial "preloader.html" . }}
<body>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "preloader.html" . }}
{{ partialCached "gtm-noscript.html" . }}
{{ else }}
{{ partial "preloader.html" . }}
<!-- tailwind size indicator -->
{{ partial "components/tw-size-indicator.html" . }}
{{ partial "testPartial" . }}
{{ end }}
<!-- tailwind size indicator -->
{{ partial "components/tw-size-indicator.html" . }}
{{ partial "testPartial" . }}
{{ end }}
<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }}
{{ partial "search-modal.html" (dict "Context" . ) }}
<!-- header (don't cache it) -->
{{ partial "essentials/header.html" . }}
{{ partial "search-modal.html" (dict "Context" . ) }}
<main>
{{ block "main" . }}{{ end }}
</main>
<main>
{{ block "main" . }}{{ end }}
</main>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/footer.html" . }}
{{ partialCached "essentials/script.html" . }}
{{ else }}
{{ partial "essentials/footer.html" . }}
{{ partial "essentials/script.html" . }}
{{ end }}
</body>
<!-- cache partial only in production -->
{{ if hugo.IsProduction }}
{{ partialCached "essentials/footer.html" . }}
{{ partialCached "essentials/script.html" . }}
{{ else }}
{{ partial "essentials/footer.html" . }}
{{ partial "essentials/script.html" . }}
{{ end }}
</body>
</html>

View file

@ -1,5 +1,5 @@
{{ define "main" }}
{{ .Content }}
<div class="content">
{{ .Content }}
</div>
{{ end }}

View file

@ -0,0 +1,11 @@
<div role="alert" class="alert light-text relative flex w-2/3 px-4 py-4 mx-auto text-base text-white bg-green-500 {{ with .Get "background-color" }}bg-{{ . }} {{ end }} rounded-lg font-regular">
<div class="shrink-0">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-8 h-8">
<path stroke-linecap="round" stroke-linejoin="round"
d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z">
</path>
</svg>
</div>
<div class="ml-3 mr-12">{{ trim .Inner "\r\n" | .Page.RenderString }}</div>
</div>

View file

@ -1,3 +1,3 @@
<div class="aligncenter text-center content-center">
{{ .Inner }}
{{ .InnerDeindent }}
</div>

View file

@ -1,5 +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-10">
<div class="relative flex flex-col h-full mt-6 text-gray-700 bg-white shadow-md bg-clip-border rounded-xl ">
<div class="p-10 h-full">
{{ .Inner }}
</div>
</div>

View file

@ -0,0 +1,5 @@
<section class="bg-cover items-center pt-32 pb-32 {{ with .Get "light-text" }}light-text {{ end }}" style="{{ with .Get "fixed" }}background-attachment: fixed;{{ end }}background-image: url('{{ with .Get "background-image" }}{{ . }}{{ end }}');{{ with .Get "background-color" }}background-color: {{ . }}{{ end }};">
<div class="container items-center" >
{{ .InnerDeindent }}
</div>
</section>

View file

@ -1 +1 @@
<i class="verua-icon far fa-{{ .Get "name" }} fa-fw text-5xl text-primary"></i>
<i class="verua-icon far text-primary {{ with .Get "size"}} text-{{ . }} {{ end }} {{ with .Get "color"}} text-{{ . }} {{ end }} fa-{{ .Get "name" }} fa-fw "></i>

View file

@ -1,6 +1,5 @@
<section class="bg-cover items-center pt-32 pb-32 {{ with .Get "light-text" }}light-text {{ end }}" style="{{ with .Get "fixed" }}background-attachment: fixed;{{ end }}background-image: url('{{ with .Get "background-image" }}{{ . }}{{ end }}');{{ with .Get "background-color" }}background-color: {{ . }}{{ end }};">
<section class="bg-cover items-center pt-32 pb-32 {{ with .Get "light-text" }}light-text {{ end }} {{ with .Get "classes" }} {{ . }} {{ end }}" style="{{ with .Get "fixed" }}background-attachment: fixed;{{ end }}background-image: url('{{ with .Get "background-image" }}{{ . }}{{ end }}');{{ with .Get "background-color" }}background-color: {{ . }}{{ end }};">
<div class="container items-center" >
{{ .Inner }}
</div>
</section>

View file

@ -0,0 +1,5 @@
<section class="bg-cover items-center pt-32 pb-32 {{ with .Get "light-text" }}light-text {{ end }} {{ with .Get "classes" }} {{ . }} {{ end }}" style="{{ with .Get "fixed" }}background-attachment: fixed;{{ end }}background-image: url('{{ with .Get "background-image" }}{{ . }}{{ end }}');{{ with .Get "background-color" }}background-color: {{ . }}{{ end }};">
<div class="container items-center" >
{{ .Inner }}
</div>
</section>

View file

@ -1,4 +1,6 @@
{{/* TODO ADD S M L Modes */}}
{{/* TODO FIX HEIGHT ISSUE */}}
{{/* TODO FIX Slider Height on Mobile when no Headline is given */}}
<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">