style update mainpage
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{{if .Site.Data.features}}
|
||||
<div class="bg-tlgray-200 py-6 md:py-10">
|
||||
<div class="features-box bg-tlgray-200 py-6 md:py-10">
|
||||
<div class="container mx-auto max-w-7xl">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3">
|
||||
{{ range .Site.Data.features }}
|
||||
{{if .link }}<a href="{{ .link }}">{{ end }}
|
||||
<div
|
||||
class="bg-white text-center mx-2 px-4 py-10 flex flex-row justify-center items-center duration-300 transform h-full hover:-translate-y-1 hover:shadow-lg">
|
||||
class="feature-box text-center mx-2 px-4 py-10 flex flex-row justify-center items-center duration-300 transform h-full hover:-translate-y-1 hover:shadow-lg">
|
||||
<div class="p-1">
|
||||
{{if .icon }}
|
||||
<span class="{{ .icon }} text-5xl"></span>
|
||||
@@ -20,4 +20,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user