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

@ -3,27 +3,26 @@ module hugoplate.netlify.app
go 1.20
require (
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240204111603-f9576ac6d1fa // indirect
github.com/zeon-studio/hugoplate v0.0.0-20240129044505-c225f20d5453 // indirect
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240207043320-fa42312441f5 // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240207043320-fa42312441f5 // indirect
)

View File

@ -74,7 +74,7 @@ home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"]
[imaging]
# See https://github.com/disintegration/imaging
# Default JPEG or WebP quality setting. Default is 75.
quality = 90
quality = 80
resampleFilter = "Lanczos"
############################ Caches ##############################

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) }}

View File

@ -1,7 +1,7 @@
{
"name": "hugoplate",
"description": "hugo tailwindcss boilerplate",
"version": "1.12.0",
"version": "1.12.1",
"license": "MIT",
"author": "zeon.studio",
"scripts": {
@ -23,7 +23,7 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.33",
"postcss": "^8.4.34",
"postcss-cli": "^11.0.0",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "0.0.15",