Merge pull request 'feat/careers-page-form' (#48) from feat/careers-page-form into main

Reviewed-on: brooksbingham/theme-elegance#48
feat/careers-page-form
jatiny 2024-11-12 08:21:10 +00:00
commit 322bf145b4
2 changed files with 21 additions and 0 deletions

View File

@ -33,6 +33,11 @@
{block name='cms_content'} {block name='cms_content'}
{$cms.content nofilter} {$cms.content nofilter}
{block name='careers-page-form'}
{if $page.meta.title == 'Careers' || $page.meta.title == 'careers'}
{include file="../misc/careers-page-form.tpl"}
{/if}
{/block}
{/block} {/block}
{block name='hook_cms_dispute_information'} {block name='hook_cms_dispute_information'}

View File

@ -0,0 +1,16 @@
<div class="flex flex-col items-center my-24 gap-8">
<img src="https://brooksbingham.com/img/logo-1715173509.jpg" alt="brooksbingham-company-logo" width="64" height="64" />
<form action="" method="post" autocomplete="off" class="flex flex-col gap-4 max-w-4xl mx-auto w-full">
<input name="careersPageForm" value="careers-page-form" class="hidden" />
<div class="w-full flex flex-col md:flex-row gap-3">
<input name="firstName" type="text" placeholder="First name*" class="flex-grow" required />
<input name="lastName" type="text" placeholder="Last name*" class="flex-grow" required />
</div>
<input name="email" type="email" placeholder="Email*" class="" required />
<input name="subject" type="text" placeholder="Subject*" class="hidden" />
<textarea name="message" type="text" placeholder="Tell us about your experience in sales and why you're interested in brooksbingham" class="" rows="4"></textarea>
<button class="uppercase py-2 flex-1 text-center border border-blue-950 hover:text-blue-900 hover:border-blue-900 hover:underline text-blue-950 font-medium max-h-[40px]" type="submit">
Send
</button>
</form>
</div>