update
All checks were successful
Hugo / build (push) Successful in 3s

This commit is contained in:
brooke 2024-08-16 14:05:53 -04:00
parent b90690321c
commit 8e1d6d6dca
4 changed files with 45 additions and 5 deletions

View file

@ -0,0 +1,7 @@
---
date: '2024-08-16'
title: Thank you for your inquiry!
thankyou: true
---
You should receive an email with more information, we hope to be in contact soon!

View file

@ -1,6 +1,9 @@
{{ define "main" }} {{ define "main" }}
<div class="flex justify-center px-2 sm:px-16 pt-16 bg-white text-black min-h-[700px]"> <div
class="flex justify-center px-2 sm:px-16 pt-16 bg-white text-black min-h-[700px]"
>
<div class="mb-24 w-full max-w-[1200px] h-full"> <div class="mb-24 w-full max-w-[1200px] h-full">
{{ if .Params.thankyou }} {{ partial "thankyou.html" . }} {{ else }}
<div class="flex flex-col"> <div class="flex flex-col">
<p class="text-4xl font-bold">{{ .Title }}</p> <p class="text-4xl font-bold">{{ .Title }}</p>
<p class="text-lg">{{ .Params.subTitle }}</p> <p class="text-lg">{{ .Params.subTitle }}</p>
@ -10,9 +13,8 @@
"rental_catalog.html" . }} {{ end }} {{ if .Params.art }} {{ partial "rental_catalog.html" . }} {{ end }} {{ if .Params.art }} {{ partial
"artist_catalog.html" . }} {{ end }} "artist_catalog.html" . }} {{ end }}
</div> </div>
{{ end }} {{ partial "questions.html" . }} {{ partial "contact_form.html" .
{{ partial "questions.html" . }} {{ partial "contact_form.html" . }} {{ }} {{ partial "gallery.html" . }}
partial "gallery.html" . }}
</div> </div>
</div> </div>
{{ end }} {{ end }}

View file

@ -0,0 +1,5 @@
<div class="flex flex-col">
<p class="text-4xl font-bold text-center">{{ .Title }}</p>
<p class="text-lg text-center">{{ .Params.subTitle }}</p>
<div class="mt-2 flex flex-col gap-4 text-center">{{ .Content }}</div>
</div>

View file

@ -12,7 +12,7 @@ public_folder: "/media"
media_folder: "themes/gallo/static/media" media_folder: "themes/gallo/static/media"
site_url: https://www.gallowelding.com site_url: https://www.gallowelding.com
logo_url: https://www.gallowelding.com/img/gallo_welding.svg logo_url: https://www.gallowelding.com/media/gallo_welding.svg
locale: en locale: en
show_preview_links: false show_preview_links: false
search: false search: false
@ -112,6 +112,32 @@ collections:
fields: fields:
- { label: Question, name: question, widget: string } - { label: Question, name: question, widget: string }
- { label: Answer, name: answer, widget: markdown } - { label: Answer, name: answer, widget: markdown }
- name: contact
label: Contact Page
file: content/contact/index.md
fields:
- label: Title
name: title
widget: string
- label: Date Last Edited
name: date
widget: datetime
- label: Contact Form HTML
name: frame
widget: code
- name: thankyou
label: Contact "Thank You" Page
file: content/thankyou/index.md
fields:
- label: Title
name: title
widget: string
- label: Date Last Edited
name: date
widget: datetime
- label: Body
name: body
widget: markdown
- name: catalog - name: catalog
label: Catalog label: Catalog
file: content/catalog/index.md file: content/catalog/index.md