update style 1
All checks were successful
Website / Website veröffentlichen (push) Successful in 9s

This commit is contained in:
2024-08-11 22:54:07 +02:00
parent 3e9e1c50a8
commit 0d1a0a5fdf
20 changed files with 32 additions and 125 deletions

View File

@@ -35,6 +35,7 @@
<div class="mx-auto my-10 max-w-6xl">
<div class="mx-3 col-span-3 lg:col-span-2 px-2">
<h1 class="title text-5xl mb-4">{{.Title}}</h1>
<hr>
<div class="content py-1">{{.Content}}</div>
{{ $paginator := .Paginate (where .Data.Pages "Type" "in" site.Params.mainSections) 6 }}
{{ range $paginator.Pages }}

View File

@@ -35,8 +35,9 @@
{{ define "main" }}
<div class="mx-auto my-10 max-w-6xl">
<div class="mx-3 col-span-3 lg:col-span-2 px-2">
<h1 class="title text-5xl mb-4">{{.Title}}</h1>
<div class="content prose md:prose-lg lg:prose-xl max-w-none py-1">{{.Content}}</div>
<h1 class="title text-5xl mb-4 text-white-custom">{{.Title}}</h1>
<hr style="border-color: #00ad8e;">
<div class="content md:prose-lg lg:prose-xl max-w-none py-1 text-white-custom">{{.Content}}</div>
</div>
</div>
{{ end }}

View File

@@ -4,7 +4,7 @@
<div class="flex flex-wrap justify-center text-gray-300 my-5">
<a href="blog/"
class="duration-200 px-6 py-3 bg-darker-green-custom hover:opacity-80 hover:text-white relative block focus:outline-none text-md text-center">
class="duration-200 px-6 py-3 bg-darker-green-custom hover:opacity-80 hover:text-white relative block focus:outline-none text-md text-center text-white">
Alle Beiträge >
</a>
</div>

View File

@@ -1,15 +1,15 @@
<form name="contact" action="https://getform.io/" method="POST">
<div class="input">
<input type="text" placeholder="Name" name="name" class="p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
<input type="text" placeholder="Name" name="name" class="text-lightgray-custom p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
</div>
<div class="input">
<input type="text" placeholder="Email" name="mail" class="p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
<input type="text" placeholder="Email" name="mail" class="text-lightgray-custom p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
</div>
<div class="input">
<input type="text" placeholder="Title" name="title" class="p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
<input type="text" placeholder="Betreff" name="title" class="text-lightgray-custom p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required>
</div>
<div class="input">
<textarea rows="5" cols="30" placeholder="Message" name="message" class="p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required></textarea>
<textarea rows="5" cols="30" placeholder="Nachricht" name="message" class="text-lightgray-custom p-4 bg-gray-200 border border-gray-200 focus:outline-none focus:bg-white focus:border-gray-500" required></textarea>
</div>
<input type="submit" value="Submit" class="px-8 py-2 duration-200 bg-gray-800 text-white cursor-pointer transition-colors hover:bg-gray-400">
<input type="submit" value="Absenden" class="px-8 py-2 transition-400 bg-darker-green-custom btn-custom text-white cursor-pointer transition-colors hover:opacity-80 hover:text-white">
</form>