parent
b90690321c
commit
8e1d6d6dca
4 changed files with 45 additions and 5 deletions
7
content/thankyou/index.md
Normal file
7
content/thankyou/index.md
Normal 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!
|
|
@ -1,6 +1,9 @@
|
|||
{{ 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">
|
||||
{{ if .Params.thankyou }} {{ partial "thankyou.html" . }} {{ else }}
|
||||
<div class="flex flex-col">
|
||||
<p class="text-4xl font-bold">{{ .Title }}</p>
|
||||
<p class="text-lg">{{ .Params.subTitle }}</p>
|
||||
|
@ -10,9 +13,8 @@
|
|||
"rental_catalog.html" . }} {{ end }} {{ if .Params.art }} {{ partial
|
||||
"artist_catalog.html" . }} {{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "questions.html" . }} {{ partial "contact_form.html" . }} {{
|
||||
partial "gallery.html" . }}
|
||||
{{ end }} {{ partial "questions.html" . }} {{ partial "contact_form.html" .
|
||||
}} {{ partial "gallery.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
5
themes/gallo/layouts/partials/thankyou.html
Normal file
5
themes/gallo/layouts/partials/thankyou.html
Normal 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>
|
|
@ -12,7 +12,7 @@ public_folder: "/media"
|
|||
media_folder: "themes/gallo/static/media"
|
||||
|
||||
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
|
||||
show_preview_links: false
|
||||
search: false
|
||||
|
@ -112,6 +112,32 @@ collections:
|
|||
fields:
|
||||
- { label: Question, name: question, widget: string }
|
||||
- { 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
|
||||
label: Catalog
|
||||
file: content/catalog/index.md
|
||||
|
|
Loading…
Add table
Reference in a new issue