update contact form and hugo modules
This commit is contained in:
parent
3e2ac9f852
commit
758bc53106
@ -164,7 +164,7 @@ function initialize() {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
new google.maps.Size(30, 50)
|
||||
new google.maps.Size(30, 50),
|
||||
);
|
||||
marker = new google.maps.Marker({
|
||||
position: nottingham,
|
||||
|
@ -371,7 +371,9 @@ button.swiper-pagination-bullet {
|
||||
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
|
||||
.swiper-pagination-bullet {
|
||||
display: inline-block;
|
||||
transition: 200ms transform, 200ms top;
|
||||
transition:
|
||||
200ms transform,
|
||||
200ms top;
|
||||
}
|
||||
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
|
||||
.swiper-pagination-horizontal.swiper-pagination-bullets
|
||||
@ -390,12 +392,16 @@ button.swiper-pagination-bullet {
|
||||
.swiper-pagination-bullet,
|
||||
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
|
||||
.swiper-pagination-bullet {
|
||||
transition: 200ms transform, 200ms left;
|
||||
transition:
|
||||
200ms transform,
|
||||
200ms left;
|
||||
}
|
||||
.swiper-horizontal.swiper-rtl
|
||||
> .swiper-pagination-bullets-dynamic
|
||||
.swiper-pagination-bullet {
|
||||
transition: 200ms transform, 200ms right;
|
||||
transition:
|
||||
200ms transform,
|
||||
200ms right;
|
||||
}
|
||||
/* Progress */
|
||||
.swiper-pagination-progressbar {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,27 +3,27 @@ module hugoplate.netlify.app
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/images v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/modal v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/search v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/tab v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/gethugothemes/hugo-modules/videos v0.0.0-20230731024856-cab17e406beb // indirect
|
||||
github.com/zeon-studio/hugoplate v0.0.0-20230731041653-56544f9e8606 // indirect
|
||||
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/images v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/modal v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // 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-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/tab v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/gethugothemes/hugo-modules/videos v0.0.0-20230731033118-be0c1c964f76 // indirect
|
||||
github.com/zeon-studio/hugoplate v0.0.0-20230805040115-3e2ac9f85227 // indirect
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html
|
||||
itemscope
|
||||
lang="{{ site.LanguageCode | default `en-US` }}"
|
||||
|
@ -13,16 +13,18 @@
|
||||
</label>
|
||||
<input
|
||||
id="name"
|
||||
name="name"
|
||||
class="form-input"
|
||||
placeholder="John Doe"
|
||||
type="text" />
|
||||
</div>
|
||||
<div class="mb-6">
|
||||
<label for="mail" class="form-label">
|
||||
<label for="email" class="form-label">
|
||||
Working Mail <span class="text-red-500">*</span>
|
||||
</label>
|
||||
<input
|
||||
id="mail"
|
||||
id="email"
|
||||
name="email"
|
||||
class="form-input"
|
||||
placeholder="john.doe@email.com"
|
||||
type="email" />
|
||||
@ -32,9 +34,10 @@
|
||||
Anything else? <span class="text-red-500">*</span>
|
||||
</label>
|
||||
<textarea
|
||||
id="message"
|
||||
name="message"
|
||||
class="form-input"
|
||||
placeholder="Message goes here..."
|
||||
id="message"
|
||||
rows="8"></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hugoplate",
|
||||
"description": "hugo tailwindcss boilerplate",
|
||||
"version": "1.7.1",
|
||||
"version": "1.7.2",
|
||||
"license": "MIT",
|
||||
"author": "zeon.studio",
|
||||
"scripts": {
|
||||
|
@ -11,7 +11,7 @@ const toggleComment = ({ filepath, regex }) => {
|
||||
if (hasComment) {
|
||||
updatedContent = updatedContent.replace(
|
||||
regex,
|
||||
matchedContent.replace("# ", "")
|
||||
matchedContent.replace("# ", ""),
|
||||
);
|
||||
fs.writeFileSync(filepath, updatedContent, "utf8");
|
||||
} else {
|
||||
@ -81,7 +81,7 @@ const setupProject = () => {
|
||||
{
|
||||
filepath: path.join(
|
||||
rootfolder,
|
||||
"exampleSite/config/_default/module.toml"
|
||||
"exampleSite/config/_default/module.toml",
|
||||
),
|
||||
regex: /\[\[imports\]\]\s*\r?\npath = "([^"]+)"/,
|
||||
},
|
||||
@ -91,7 +91,7 @@ const setupProject = () => {
|
||||
const folderName = getFolderName(rootfolder);
|
||||
const newfolderName = createNewfolder(
|
||||
path.join(rootfolder, "themes"),
|
||||
folderName
|
||||
folderName,
|
||||
);
|
||||
|
||||
folderList.forEach((folder) => {
|
||||
|
@ -13,7 +13,7 @@ const toggleComment = ({ filepath, regex }) => {
|
||||
if (hasBreakline) {
|
||||
updatedContent = updatedContent.replace(
|
||||
regex,
|
||||
matchedContent.replace(/# /gm, "")
|
||||
matchedContent.replace(/# /gm, ""),
|
||||
);
|
||||
fs.writeFileSync(filepath, updatedContent, "utf8");
|
||||
}
|
||||
@ -108,7 +108,7 @@ const setupTheme = () => {
|
||||
} else {
|
||||
fs.renameSync(
|
||||
path.join(rootFolder, file.name),
|
||||
path.join(folder, file.name)
|
||||
path.join(folder, file.name),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user