1import{X as e,o as t,q as n,t as r}from"./jsx-runtime-BrWLLCaR.js";import{n as i}from"./lib-CTvDBb3H.js";import{t as a}from"./icons-C-5PvJhV.js";import{_t as o}from"./fathom-client.esm-BPc-J2XC.js";import{n as s,r as c,t as l}from"./ApplyLink-2l-4CqP3.js";import{t as u}from"./utils-DXvNMmLB.js";import{t as d}from"./reviews-BdM1Yx9q.js";var f=e(n(),1),p=r(),m=({videoId:e,className:t=``})=>(0,p.jsx)(`div`,{className:`relative h-0 ${t}`,style:{paddingBottom:`56.25%`},children:(0,p.jsx)(`iframe`,{title:`Youtube embed`,className:`absolute top-0 left-0 h-full w-full`,src:`https://www.youtube.com/embed/${e}`,frameBorder:`0`,loading:`lazy`,referrerPolicy:`strict-origin-when-cross-origin`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,allowFullScreen:!0})}),h=({label:e})=>(0,p.jsxs)(`section`,{className:`relative h-fit w-full`,children:[(0,p.jsx)(`div`,{className:`absolute top-0 left-0 h-full w-full`,children:(0,p.jsx)(o,{fallbackSrc:`/images/kitchen.jpg`,webpSrcSet:`/images/optimized/kitchen-640.webp 640w, /images/optimized/kitchen-1280.webp 1280w, /images/optimized/kitchen-1920.webp 1920w`,sizes:`100vw`,width:4896,height:3264,alt:``,"aria-hidden":!0,loading:e===`top`?`eager`:`lazy`,fetchPriority:e===`top`?`high`:`low`,decoding:`async`,className:`h-full w-full object-cover`})}),(0,p.jsxs)(`div`,{className:`relative z-10 flex h-full flex-col lg:flex-row`,children:[(0,p.jsx)(`div`,{className:`flex flex-1 flex-col justify-end bg-grey-100/90 p-8 md:p-16 lg:p-20`,children:(0,p.jsxs)(`div`,{children:[(0,p.jsxs)(`h2`,{className:`mb-8 flex flex-col text-lg leading-tight md:text-2xl lg:mb-12`,children:[(0,p.jsx)(`span`,{children:`I want to...`}),(0,p.jsx)(`span`,{className:`font-serif text-[12vw] font-bold leading-tight md:text-[9vw] lg:text-[6vw]`,children:`Purchase`}),(0,p.jsx)(`span`,{children:`my dream home.`})]}),(0,p.jsxs)(`div`,{children:[(0,p.jsx)(l,{className:`btn btn--outline mr-8`,children:`Apply Now`}),(0,p.jsxs)(i,{to:`/purchase`,className:`link`,"aria-label":`Learn more about purchasing a home`,"data-track":!0,"data-event-category":`Learn More`,"data-event-action":`Viewed Learn More`,"data-event-label":`Home - Purchase - ${e}`,children:[`Learn More`,(0,p.jsx)(`span`,{className:`sr-only`,children:` about purchasing a home`})]})]})]})}),(0,p.jsx)(`div`,{className:`flex flex-1 flex-col justify-end bg-primary/90 p-8 text-white md:p-16 lg:p-20`,children:(0,p.jsxs)(`div`,{children:[(0,p.jsxs)(`h2`,{className:`mb-8 flex flex-col text-lg leading-tight md:text-2xl lg:mb-12`,children:[(0,p.jsx)(`span`,{children:`I want to...`}),(0,p.jsx)(`span`,{className:`font-serif text-[12vw] font-bold leading-tight md:text-[9vw] lg:text-[6vw]`,children:`Refinance`}),(0,p.jsx)(`span`,{children:`my current home.`})]}),(0,p.jsxs)(`div`,{children:[(0,p.jsx)(l,{className:`btn btn--outline-light mr-8`,children:`Apply Now`}),(0,p.jsxs)(i,{to:`/refinance`,className:`link link--light`,"aria-label":`Learn more about refinancing a home`,"data-track":!0,"data-event-category":`Learn More`,"data-event-action":`Viewed Learn More`,"data-event-label":`Home - Refinance - ${e}`,children:[`Learn More`,(0,p.jsx)(`span`,{className:`sr-only`,children:` about refinancing a home`})]})]})]})})]})]}),g=t(function(){let[e,t]=(0,f.useState)(!1);return(0,p.jsxs)(`main`,{children:[(0,p.jsx)(h,{label:`top`}),(0,p.jsxs)(`section`,{className:`hidden items-center bg-black py-6 px-8 text-white md:flex`,children:[(0,p.jsxs)(`p`,{className:`m-0 flex-1`,children:[(0,p.jsx)(`strong`,{className:`font-serif`,children:`Not sure what your best option may be?`}),` `,`Learn about how we can help you below.`]}),(0,p.jsx)(`div`,{className:`w-6`,children:(0,p.jsx)(a,{direction:`down`,className:`h-auto w-full`})})]}),(0,p.jsxs)(`section`,{className:`mx-auto mt-10 mb-16 flex w-10/12 flex-col-reverse gap-x-16 gap-y-8 md:my-16 lg:my-32 lg:mr-0 lg:ml-auto lg:w-11/12 lg:flex-row lg:items-center xl:my-40`,children:[(0,p.jsxs)(`div`,{className:`flex max-w-2xl flex-1 flex-col`,children:[(0,p.jsx)(`p`,{className:`mb-2 font-semibold uppercase text-primary-dark md:text-lg`,children:`Our Mission`}),(0,p.jsx)(`h2`,{className:`mb-6 font-serif text-3xl font-bold leading-tight md:text-4xl xl:text-5xl`,children:`There is a difference in mortgage companies.`}),(0,p.jsx)(`p`,{className:`mb-12 font-serif leading-relaxed text-grey-800`,children:`At Alabama Home Mortgage, we strive to make your mortgage lending experience as stress-free as possible. We understand that purchasing or refinancing a home can be intimidating. However, our goal is to partner with you to customize a plan that fits your needs and puts your mind at ease. We work hard to exceed customer expectations on time, every time.`}),(0,p.jsxs)(`div`,{className:`flex flex-1 flex-col md:flex-row lg:flex-col xl:flex-row`,children:[(0,p.jsx)(l,{className:`btn btn--primary mb-4 py-4 px-12 capitalize md:mb-0 md:mr-6 lg:mb-4 lg:mr-0 xl:mr-6 xl:mb-0`,children:`Apply for a loan now`}),(0,p.jsx)(`a`,{className:`btn btn--outline py-4 px-12 capitalize`,href:u,"data-track":!0,"data-event-category":`Learn More`,"data-event-action":`Called`,"data-event-label":`Home - Mission`,children:`Call us to learn more`})]})]}),(0,p.jsxs)(`button`,{className:`group relative block flex-1`,"data-track":!0,"data-event-category":`Video`,"data-event-action":`Opened`,"data-event-label":`Home - Mission`,onClick:()=>t(!0),children:[(0,p.jsx)(o,{className:`h-auto w-full`,alt:`Alabama Home Mortgage building`,fallbackSrc:`/images/ahm-building.jpg`,webpSrcSet:`/images/optimized/ahm-building-386.webp 386w, /images/optimized/ahm-building-772.webp 772w`,sizes:`(min-width: 1024px) 46vw, 83vw`,width:772,height:434,loading:`lazy`,decoding:`async`}),(0,p.jsx)(`div`,{className:`absolute top-1/2 left-1/2 z-10 h-0 w-0 -translate-x-1/2 -translate-y-1/2 border-y-[2rem] border-l-[4rem] border-r-0 border-y-transparent border-l-white/70 border-r-transparent transition group-hover:scale-105 group-hover:border-l-white`})]}),(0,p.jsx)(c.Root,{show:e,as:f.Fragment,children:(0,p.jsxs)(s,{open:e,onClose:()=>t(!1),children:[(0,p.jsx)(c.Child,{as:f.Fragment,enter:`ease-out duration-300`,enterFrom:`opacity-0`,enterTo:`opacity-100`,leave:`ease-in duration-200`,leaveFrom:`opacity-100`,leaveTo:`opacity-0`,children:(0,p.jsx)(`div`,{className:`fixed inset-0 z-10 bg-gray-800 bg-opacity-75 transition-opacity`})}),(0,p.jsx)(`div`,{className:`fixed inset-0 z-10 overflow-y-auto`,children:(0,p.jsx)(`div`,{className:`flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0`,children:(0,p.jsx)(c.Child,{as:f.Fragment,enter:`ease-out duration-300`,enterFrom:`opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95`,enterTo:`opacity-100 translate-y-0 sm:scale-100`,leave:`ease-in duration-200`,leaveFrom:`opacity-100 translate-y-0 sm:scale-100`,leaveTo:`opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95`,children:(0,p.jsxs)(s.Panel,{className:`w-5/6 overflow-hidden rounded-lg bg-black shadow-xl`,children:[(0,p.jsx)(m,{videoId:`vG9EBcWBgP4`}),(0,p.jsxs)(`div`,{className:`flex items-center justify-end gap-4 p-4 text-white`,children:[(0,p.jsx)(`a`,{className:`underline hover:no-underline`,href:`https://www.youtube.com/watch?v=vG9EBcWBgP4`,target:`_blank`,rel:`noopener noreferrer`,children:`Watch on YouTube`}),(0,p.jsx)(`button`,{type:`button`,className:`btn btn--primary`,onClick:()=>t(!1),children:`Close Video`})]})]})})})})]})})]}),(0,p.jsxs)(`section`,{className:`relative bg-grey-100 md:text-center md:text-white`,children:[(0,p.jsx)(`div`,{className:`md:aspect-w-5 md:aspect-h-3 xl:aspect-w-16 xl:aspect-h-9`,children:(0,p.jsx)(o,{fallbackSrc:`/images/team.jpg`,webpSrcSet:`/images/optimized/team-640.webp 640w, /images/optimized/team-1280.webp 1280w, /images/optimized/team-1920.webp 1920w`,sizes:`100vw`,width:5464,height:3070,alt:`Alabama Home Mortgage team`,className:`h-full w-full object-cover`,loading:`lazy`,decoding:`async`})}),(0,p.jsx)(`div`,{className:`home--team inset-0 mx-auto w-10/12 md:absolute md:w-full`,children:(0,p.jsxs)(`div`,{className:`mx-auto max-w-4xl py-16 md:px-16 lg:pt-24 xl:pt-32`,children:[(0,p.jsx)(`p`,{className:`mb-2 font-semibold uppercase text-primary-dark md:text-lg md:text-grey-200`,children:`Our Team`}),(0,p.jsx)(`h2`,{className:`mb-6 font-serif text-3xl font-bold leading-tight md:text-4xl lg:text-5xl`,children:`We are experienced, but more importantly we care.`}),(0,p.jsx)(`p`,{className:`mb-12 font-serif leading-relaxed text-grey-800 md:text-grey-200`,children:`We are your neighbors. Alabama Home Mortgage is conveniently located in Wetumpka, AL. Our team of experienced and dedicated mortgage professionals were all born and raised in the River Region. We believe that securing a mortgage should not be a one-time transactional event. We work to establish a relationship with our customers to ensure they feel comfortable and confident to call on us again and refer their family and friends.`})]})})]}),(0,p.jsxs)(`section`,{className:`mx-auto my-16 flex w-4/5 flex-col md:my-40`,children:[(0,p.jsxs)(`div`,{className:`max-w-3xl flex-1`,children:[(0,p.jsx)(`p`,{className:`mb-2 font-semibold uppercase text-primary-dark md:text-lg`,children:`Our Reviews`}),(0,p.jsx)(`h2`,{className:`mb-6 font-serif text-3xl font-bold leading-tight md:text-4xl lg:text-5xl`,children:`Past performance is the best indicator of future performance.`}),(0,p.jsx)(`p`,{className:`mb-12 font-serif leading-relaxed text-grey-800`,children:`See what others say about their experience with Alabama Home Mortgage below.`})]}),(0,p.jsx)(d,{})]}),(0,p.jsx)(h,{label:`bottom`})]})});export{g as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.