From d40b8d06c2af2f13b718cc15af32355df0a08e27 Mon Sep 17 00:00:00 2001 From: brookee Date: Fri, 1 Mar 2024 22:14:48 -0500 Subject: [PATCH] update --- hugo.toml | 27 +++++++---- .../layouts/partials/contact_form.html | 2 +- .../layouts/partials/social.html | 39 ++-------------- themes/agnes-hugo-theme/static/css/style.css | 45 ++++++++++--------- 4 files changed, 47 insertions(+), 66 deletions(-) diff --git a/hugo.toml b/hugo.toml index 9df9a24..9dfb409 100644 --- a/hugo.toml +++ b/hugo.toml @@ -13,7 +13,7 @@ Favicon = "https://example.com/favicon.png" [menu] [[menu.external]] -name = "Contact" +name = "App" url = "#" weight = 1 @@ -22,10 +22,21 @@ name = "About us" url = "#" weight = 2 -[params.social] -TwitterURL = "http://google.com" -GoogleURL = "http://google.com" -FacebookURL = "http://google.com" +[[params.social]] +name = "Facebook" +icon = "fab fa-facebook-f" +url = "http://facebook.com" + +[[params.social]] +name = "Twitter" +icon = "fab fa-twitter" +url = "http://twitter.com" + +[[params.social]] +name = "Google" +icon = "fab fa-google" +url = "http://google.com" + [params.content] LeadTitle = "Bellas Keys" @@ -109,8 +120,8 @@ icon = "fa-solid fa-envelope" [[params.contact_forms]] name = "contact_form" fields = [ - { name = "Name", type = "text", required = true }, - { name = "Email", type = "email", required = true }, - { name = "Phone #", type = "tel", required = false, class = "full-width" }, + { name = "Name", type = "text", placeholder = "test", required = true }, + { name = "Email", type = "email", placeholder = "test", required = true }, + { name = "Phone #", type = "tel", placeholder = "test", required = false, class = "full-width" }, { name = "Message", type = "textarea", required = true, class = "full-width" }, ] diff --git a/themes/agnes-hugo-theme/layouts/partials/contact_form.html b/themes/agnes-hugo-theme/layouts/partials/contact_form.html index 558ecce..5537f78 100644 --- a/themes/agnes-hugo-theme/layouts/partials/contact_form.html +++ b/themes/agnes-hugo-theme/layouts/partials/contact_form.html @@ -7,7 +7,7 @@ {{ if eq $field.type "textarea" }} {{ else }} - + {{ end }} {{ end }} diff --git a/themes/agnes-hugo-theme/layouts/partials/social.html b/themes/agnes-hugo-theme/layouts/partials/social.html index fcfceb1..5d43a8f 100644 --- a/themes/agnes-hugo-theme/layouts/partials/social.html +++ b/themes/agnes-hugo-theme/layouts/partials/social.html @@ -1,40 +1,9 @@