style for product summary / added home page link on navbar

This commit is contained in:
2023-08-26 09:18:05 +02:00
parent 2848fea893
commit 67cec28198
3 changed files with 13 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{{ 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>
<h1 class="title text-5xl mb-4 text-white-custom">{{.Title}}</h1>
<div class="content py-1">{{.Content}}</div>
<div class="grid grid-cols-1 md:grid-cols-2 mb-2 gap-2">
{{ range .Pages.ByWeight }}

View File

@@ -8,11 +8,11 @@
</style>
<a href="{{ .Permalink }}">
<div class="summary border p-3">
<div class="summary border p-3 border-green-custom">
<h2 class="text-3xl title-product-summary">
{{ .Title }}
</h2>
<img src="{{ .Params.image | relURL }}" alt="-product-image-">
<p class="description-product-summary">{{ .Description }}</p>
<p class="description-product-summary text-white-custom">{{ .Description }}</p>
</div>
</a>