update image modules and modified homepage image sizes

This commit is contained in:
somrat sorkar
2024-02-07 10:48:22 +06:00
parent 3f9a7b1365
commit 74d9d9b8cc
4 changed files with 29 additions and 30 deletions

View File

@@ -4,8 +4,8 @@
<section class="section pt-14">
<div class="container">
<div class="row justify-center">
<div class="lg:col-7 mb-8 text-center">
<h1 class="mb-4">
<div class="lg:col-7 md:col-9 mb-8 text-center">
<h1 class="mb-4 text-h3 lg:text-h1">
{{ .title | markdownify }}
</h1>
<p class="mb-8">
@@ -26,7 +26,7 @@
{{ end }}
</div>
<div class="col-12">
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" ) }}
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }}
</div>
</div>
</div>
@@ -43,7 +43,7 @@
class="mb:md-0 {{ if not (modBool $i 2) }}
md:order-2
{{ end }} md:col-5 mb-6">
{{ partial "image" (dict "Src" .image "Alt" "feature image") }}
{{ partial "image" (dict "Src" .image "Alt" "feature image" "DisplayXL" "520x" "DisplayLG" "425x" "DisplayMD" "360x") }}
</div>
<div
class="{{ if not (modBool $i 2) }}