style for product summary / added home page link on navbar
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user