addedd fabform

This commit is contained in:
Md-Saad
2022-08-24 19:10:07 +06:00
parent a6d668b124
commit 261c48732d
5 changed files with 45 additions and 3 deletions

View File

@@ -28,4 +28,19 @@
} }
} }
} }
}
.contact-form-generator {
margin-top: 20px;
a{
color: $text-color-dark;
text-transform: uppercase;
margin-bottom: 50px;
letter-spacing: 3px;
@include tablet{
font-size: 20px;
}
@include desktop{
margin-bottom: 70px;
}
}
} }

View File

@@ -61,4 +61,23 @@
} }
} }
} }
&-copyright{
p{
color: $white;
margin: 50px auto 0;
text-align: center;
}
a{
color: $text-color-dark;
text-transform: uppercase;
margin-bottom: 50px;
letter-spacing: 3px;
@include tablet{
font-size: 20px;
}
@include desktop{
margin-bottom: 70px;
}
}
}
} }

View File

@@ -1,7 +1,7 @@
baseURL = "http://example.org/" baseURL = "http://example.org/"
languageCode = "en-us" languageCode = "en-us"
title = "Roxo | Creative Design Agency" title = "Roxo | Creative Design Agency"
theme = "roxo" theme = "roxo-hugo"
summarylength = 25 summarylength = 25
# Site Menus # Site Menus
@@ -38,7 +38,7 @@ summarylength = 25
# Google Analitycs # Google Analitycs
googleAnalitycsID = "Your ID" googleAnalitycsID = "Your ID"
# We're using formspree.io for form handling, paste your formspree url below # We're using formspree.io for form handling, paste your formspree url below
formspreeFormUrl = "https://formspree.io/myykjpje" fabform = "https://fabform.io/f/USAg2Jl"
# Contact Form # Contact Form
[params.contactForm] [params.contactForm]

View File

@@ -10,7 +10,7 @@
<div class="col-lg-6 ml-auto"> <div class="col-lg-6 ml-auto">
<div class="site-contact-form"> <div class="site-contact-form">
<h4>{{ .Params.form_heading }}</h4> <h4>{{ .Params.form_heading }}</h4>
<form id="contact-form" action="{{ .Site.Params.formspreeFormUrl }}" method="POST"> <form id="contact-form" action="{{ .Site.Params.fabform }}" method="POST">
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
<input type="text" class="form-control" name="first-name" id="first-name" placeholder="{{ .Site.Params.contactForm.placeholder_first_name }}"> <input type="text" class="form-control" name="first-name" id="first-name" placeholder="{{ .Site.Params.contactForm.placeholder_first_name }}">
@@ -46,6 +46,9 @@
<p id="contact-form-status"></p> <p id="contact-form-status"></p>
</div> </div>
</form> </form>
<p class="contact-form-generator">
<a href="https://app.fabform.io/" target="_blank">** Static website forms</a>
</p>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -62,6 +62,11 @@
</p> </p>
</a> </a>
</div> </div>
<div class="col-12">
<div class="site-footer-copyright">
<p>© Copyright {{ dateFormat "2006" now }} - All Rights Reserved by <a href="https://staticmania.com/" target="_blank">StaticMania</a> </p>
</div>
</div>
</div> </div>
</div> </div>
</footer> </footer>