update contact form and hugo modules

This commit is contained in:
somrat sorkar 2023-08-06 08:19:16 +06:00
parent 3e2ac9f852
commit 758bc53106
12 changed files with 259 additions and 244 deletions

View File

@ -164,7 +164,7 @@ function initialize() {
null, null,
null, null,
null, null,
new google.maps.Size(30, 50) new google.maps.Size(30, 50),
); );
marker = new google.maps.Marker({ marker = new google.maps.Marker({
position: nottingham, position: nottingham,

View File

@ -371,7 +371,9 @@ button.swiper-pagination-bullet {
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet { .swiper-pagination-bullet {
display: inline-block; display: inline-block;
transition: 200ms transform, 200ms top; transition:
200ms transform,
200ms top;
} }
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-horizontal.swiper-pagination-bullets
@ -390,12 +392,16 @@ button.swiper-pagination-bullet {
.swiper-pagination-bullet, .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
.swiper-pagination-bullet { .swiper-pagination-bullet {
transition: 200ms transform, 200ms left; transition:
200ms transform,
200ms left;
} }
.swiper-horizontal.swiper-rtl .swiper-horizontal.swiper-rtl
> .swiper-pagination-bullets-dynamic > .swiper-pagination-bullets-dynamic
.swiper-pagination-bullet { .swiper-pagination-bullet {
transition: 200ms transform, 200ms right; transition:
200ms transform,
200ms right;
} }
/* Progress */ /* Progress */
.swiper-pagination-progressbar { .swiper-pagination-progressbar {

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html <html
itemscope itemscope
lang="{{ site.LanguageCode | default `en-US` }}" lang="{{ site.LanguageCode | default `en-US` }}"

View File

@ -13,16 +13,18 @@
</label> </label>
<input <input
id="name" id="name"
name="name"
class="form-input" class="form-input"
placeholder="John Doe" placeholder="John Doe"
type="text" /> type="text" />
</div> </div>
<div class="mb-6"> <div class="mb-6">
<label for="mail" class="form-label"> <label for="email" class="form-label">
Working Mail <span class="text-red-500">*</span> Working Mail <span class="text-red-500">*</span>
</label> </label>
<input <input
id="mail" id="email"
name="email"
class="form-input" class="form-input"
placeholder="john.doe@email.com" placeholder="john.doe@email.com"
type="email" /> type="email" />
@ -32,9 +34,10 @@
Anything else? <span class="text-red-500">*</span> Anything else? <span class="text-red-500">*</span>
</label> </label>
<textarea <textarea
id="message"
name="message"
class="form-input" class="form-input"
placeholder="Message goes here..." placeholder="Message goes here..."
id="message"
rows="8"></textarea> rows="8"></textarea>
</div> </div>
<button type="submit" class="btn btn-primary">Submit</button> <button type="submit" class="btn btn-primary">Submit</button>

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.7.1", "version": "1.7.2",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {

View File

@ -11,7 +11,7 @@ const toggleComment = ({ filepath, regex }) => {
if (hasComment) { if (hasComment) {
updatedContent = updatedContent.replace( updatedContent = updatedContent.replace(
regex, regex,
matchedContent.replace("# ", "") matchedContent.replace("# ", ""),
); );
fs.writeFileSync(filepath, updatedContent, "utf8"); fs.writeFileSync(filepath, updatedContent, "utf8");
} else { } else {
@ -81,7 +81,7 @@ const setupProject = () => {
{ {
filepath: path.join( filepath: path.join(
rootfolder, rootfolder,
"exampleSite/config/_default/module.toml" "exampleSite/config/_default/module.toml",
), ),
regex: /\[\[imports\]\]\s*\r?\npath = "([^"]+)"/, regex: /\[\[imports\]\]\s*\r?\npath = "([^"]+)"/,
}, },
@ -91,7 +91,7 @@ const setupProject = () => {
const folderName = getFolderName(rootfolder); const folderName = getFolderName(rootfolder);
const newfolderName = createNewfolder( const newfolderName = createNewfolder(
path.join(rootfolder, "themes"), path.join(rootfolder, "themes"),
folderName folderName,
); );
folderList.forEach((folder) => { folderList.forEach((folder) => {

View File

@ -13,7 +13,7 @@ const toggleComment = ({ filepath, regex }) => {
if (hasBreakline) { if (hasBreakline) {
updatedContent = updatedContent.replace( updatedContent = updatedContent.replace(
regex, regex,
matchedContent.replace(/# /gm, "") matchedContent.replace(/# /gm, ""),
); );
fs.writeFileSync(filepath, updatedContent, "utf8"); fs.writeFileSync(filepath, updatedContent, "utf8");
} }
@ -108,7 +108,7 @@ const setupTheme = () => {
} else { } else {
fs.renameSync( fs.renameSync(
path.join(rootFolder, file.name), path.join(rootFolder, file.name),
path.join(folder, file.name) path.join(folder, file.name),
); );
} }
} }