| Current Path : /home/users/unlimited/www/whatsapp-crm/public/build/assets/ |
| Current File : /home/users/unlimited/www/whatsapp-crm/public/build/assets/Layout-c88e6dd3.js |
import{r as d,q as y,c as a,a as e,k as t,t as o,f as n,g as c,u as i,J as _,b as p,o as l,l as h}from"./app-f1493ab2.js";import{_ as x}from"./LangToggle-d2b58a25.js";const k={class:"flex items-center bg-secondary/70 h-8 px-5 md:px-10 lg:px-20 2xl:px-60"},C={class:"text-sm text-white"},$={class:"truncate w-[20em] md:w-full flex items-center gap-x-1"},M={class:"ml-auto"},V={id:"section1",class:"pt-4 md:pt-10 px-5 md:px-10 lg:px-20 2xl:px-60 relative"},A={class:"flex justify-between items-center"},S=["src","alt"],B={key:1,class:"text-2xl"},H={class:"hidden lg:flex justify-center items-center text-md space-x-8"},L={href:"#section2",class:"cursor-pointer hover:border-b-2 border-black"},P={href:"#section4",class:"cursor-pointer hover:border-b-2 border-black"},U={href:"#section5",class:"cursor-pointer hover:border-b-2 border-black"},j={href:"#section6",class:"cursor-pointer hover:border-b-2 border-black"},F={href:"#section7",class:"cursor-pointer hover:border-b-2 border-black"},N={class:"flex justify-end items-center text-md"},z={id:"section7",class:"bg-gray-300/10 px-5 md:px-10 lg:px-20 md:pt-10 pb-5 2xl:px-60"},E={class:"md:flex"},D={class:"md:w-1/4 lg:w-1/2"},J=["src","alt"],Q={key:1,class:"text-2xl mb-2"},R={class:"md:w-3/4 lg:w-1/2 md:flex md:justify-between text-sm space-y-8 md:space-y-0"},T={class:"text-xl font-regular mb-2"},Y={class:"flex md:justify-between space-x-10 md:space-x-10 lg:space-x-20 space-y-2 md:space-y-0"},Z={class:"space-y-2"},q={href:"#section2",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},O={href:"#section3",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},G={href:"#section4",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},I={href:"#section5",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},K={href:"#section6",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},W={class:"space-y-2"},X={class:"text-xl font-regular mb-2"},ee={class:"mb-2"},se={class:"mb-2"},oe=["href"],re={class:"mb-4"},ae=["href"],te={class:"flex space-x-4"},le=["href"],ne=["href"],ie=["href"],de=["href"],ce=["href"],he={class:"mt-10 border-t pt-5 text-sm"},pe={class:"font-light"},ue={__name:"Layout",setup(be){computed(()=>usePage().props.config);const g=new Date().getFullYear(),b=d(null),v=d(null),f=d(null),u=d(null),m=d(null),w=()=>{try{const s=JSON.parse(props.companyConfig.socials);b.value=s.facebook||null,v.value=s.twitter||null,f.value=s.instagram||null,u.value=s.slack||null,m.value=s.linkedin||null}catch(s){console.error("Error parsing socials:",s)}};return d(1),d(1),y(()=>{w()}),(s,r)=>(l(),a("div",null,[e("div",k,[e("div",C,[e("div",$,[r[0]||(r[0]=e("span",null,[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 48 48"},[e("path",{fill:"currentColor",d:"M44 24c0 11.046-8.954 20-20 20S4 35.046 4 24S12.954 4 24 4s20 8.954 20 20m-20-4c-.69 0-1.25.56-1.25 1.25v12.5a1.25 1.25 0 1 0 2.5 0v-12.5c0-.69-.56-1.25-1.25-1.25m0-3a2 2 0 1 0 0-4a2 2 0 0 0 0 4"})])],-1)),t(" "+o(s.$t("Header.message")),1)])]),e("div",M,[n(x,{class:"text-white",languages:s.props.languages,currentLanguage:s.props.currentLanguage},null,8,["languages","currentLanguage"])])]),e("section",V,[e("div",A,[e("div",null,[s.props.companyConfig.logo?(l(),a("img",{key:0,class:"max-w-[150px]",src:"/media/"+s.props.companyConfig.logo,alt:s.props.companyConfig.company_name},null,8,S)):(l(),a("h1",B,o(s.props.companyConfig.company_name),1))]),e("div",H,[e("a",L,o(s.$t("Features")),1),e("a",P,o(s.$t("Pricing")),1),e("a",U,o(s.$t("Reviews")),1),e("a",j,o(s.$t("FAQs")),1),e("a",F,o(s.$t("Contact us")),1)]),e("div",N,[n(i(h),{href:"/login",class:"hidden md:inline-block mr-10 cursor-pointer hover:text-gray-400 border-black"},{default:c(()=>[t(o(s.$t("Login")),1)]),_:1}),n(i(h),{href:"/signup",class:"hidden md:inline-block bg-primary hover:bg-secondary text-white p-2 rounded-lg text-sm w-fit px-8"},{default:c(()=>[t(o(s.$t("Sign Up")),1)]),_:1}),n(i(h),{href:"/login",class:"md:hidden bg-primary hover:bg-secondary text-white p-2 rounded-lg text-sm flex w-fit px-8"},{default:c(()=>[t(o(s.$t("Login")),1)]),_:1})])])]),_(s.$slots,"default"),e("footer",z,[e("div",E,[e("div",D,[e("div",null,[s.props.companyConfig.logo?(l(),a("img",{key:0,class:"max-w-[150px]",src:"/media/"+s.props.companyConfig.logo,alt:s.props.companyConfig.company_name},null,8,J)):(l(),a("h4",Q,o(s.props.companyConfig.company_name),1))])]),e("div",R,[e("div",null,[e("h4",T,o(s.$t("Links")),1),e("div",Y,[e("div",Z,[e("div",null,[e("a",q,o(s.$t("Features")),1)]),e("div",null,[e("a",O,o(s.$t("How it works")),1)]),e("div",null,[e("a",G,o(s.$t("Pricing")),1)]),e("div",null,[e("a",I,o(s.$t("Reviews")),1)]),e("div",null,[e("a",K,o(s.$t("FAQs")),1)])]),e("div",W,[e("div",null,[n(i(h),{href:"/signup",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[t(o(s.$t("Sign up")),1)]),_:1})]),e("div",null,[n(i(h),{href:"/login",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[t(o(s.$t("Login")),1)]),_:1})]),e("div",null,[n(i(h),{href:"/privacy",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[t(o(s.$t("Privacy Policy")),1)]),_:1})]),e("div",null,[n(i(h),{href:"/tos",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[t(o(s.$t("Terms of Service")),1)]),_:1})])])])]),e("div",null,[e("div",null,[e("h4",X,o(s.$t("Contact us")),1),e("p",ee,o(s.props.companyConfig.address),1),e("p",se,[t(o(s.$t("Email"))+": ",1),e("a",{href:"mailto:"+s.props.companyConfig.email,class:"hover:underline"},o(s.props.companyConfig.email),9,oe)]),e("p",re,[t(o(s.$t("Phone"))+": ",1),e("a",{href:"tel:"+s.props.companyConfig.phone,class:"hover:underline"},o(s.props.companyConfig.phone),9,ae)]),e("div",te,[b.value?(l(),a("a",{key:0,href:b.value,class:"cursor-pointer"},r[1]||(r[1]=[e("svg",{class:"hover:text-secondary",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},[e("path",{fill:"currentColor",d:"M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95"})],-1)]),8,le)):p("",!0),v.value?(l(),a("a",{key:1,href:v.value,class:"cursor-pointer"},r[2]||(r[2]=[e("svg",{class:"hover:text-secondary",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},[e("path",{fill:"currentColor",d:"M22 5.8a8.49 8.49 0 0 1-2.36.64a4.13 4.13 0 0 0 1.81-2.27a8.21 8.21 0 0 1-2.61 1a4.1 4.1 0 0 0-7 3.74a11.64 11.64 0 0 1-8.45-4.29a4.16 4.16 0 0 0-.55 2.07a4.09 4.09 0 0 0 1.82 3.41a4.05 4.05 0 0 1-1.86-.51v.05a4.1 4.1 0 0 0 3.3 4a3.93 3.93 0 0 1-1.1.17a4.9 4.9 0 0 1-.77-.07a4.11 4.11 0 0 0 3.83 2.84A8.22 8.22 0 0 1 3 18.34a7.93 7.93 0 0 1-1-.06a11.57 11.57 0 0 0 6.29 1.85A11.59 11.59 0 0 0 20 8.45v-.53a8.43 8.43 0 0 0 2-2.12"})],-1)]),8,ne)):p("",!0),f.value?(l(),a("a",{key:2,href:f.value,class:"cursor-pointer"},r[3]||(r[3]=[e("svg",{class:"hover:text-secondary",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},[e("path",{fill:"currentColor",d:"M17.34 5.46a1.2 1.2 0 1 0 1.2 1.2a1.2 1.2 0 0 0-1.2-1.2m4.6 2.42a7.59 7.59 0 0 0-.46-2.43a4.94 4.94 0 0 0-1.16-1.77a4.7 4.7 0 0 0-1.77-1.15a7.3 7.3 0 0 0-2.43-.47C15.06 2 14.72 2 12 2s-3.06 0-4.12.06a7.3 7.3 0 0 0-2.43.47a4.78 4.78 0 0 0-1.77 1.15a4.7 4.7 0 0 0-1.15 1.77a7.3 7.3 0 0 0-.47 2.43C2 8.94 2 9.28 2 12s0 3.06.06 4.12a7.3 7.3 0 0 0 .47 2.43a4.7 4.7 0 0 0 1.15 1.77a4.78 4.78 0 0 0 1.77 1.15a7.3 7.3 0 0 0 2.43.47C8.94 22 9.28 22 12 22s3.06 0 4.12-.06a7.3 7.3 0 0 0 2.43-.47a4.7 4.7 0 0 0 1.77-1.15a4.85 4.85 0 0 0 1.16-1.77a7.59 7.59 0 0 0 .46-2.43c0-1.06.06-1.4.06-4.12s0-3.06-.06-4.12M20.14 16a5.61 5.61 0 0 1-.34 1.86a3.06 3.06 0 0 1-.75 1.15a3.19 3.19 0 0 1-1.15.75a5.61 5.61 0 0 1-1.86.34c-1 .05-1.37.06-4 .06s-3 0-4-.06a5.73 5.73 0 0 1-1.94-.3a3.27 3.27 0 0 1-1.1-.75a3 3 0 0 1-.74-1.15a5.54 5.54 0 0 1-.4-1.9c0-1-.06-1.37-.06-4s0-3 .06-4a5.54 5.54 0 0 1 .35-1.9A3 3 0 0 1 5 5a3.14 3.14 0 0 1 1.1-.8A5.73 5.73 0 0 1 8 3.86c1 0 1.37-.06 4-.06s3 0 4 .06a5.61 5.61 0 0 1 1.86.34a3.06 3.06 0 0 1 1.19.8a3.06 3.06 0 0 1 .75 1.1a5.61 5.61 0 0 1 .34 1.9c.05 1 .06 1.37.06 4s-.01 3-.06 4M12 6.87A5.13 5.13 0 1 0 17.14 12A5.12 5.12 0 0 0 12 6.87m0 8.46A3.33 3.33 0 1 1 15.33 12A3.33 3.33 0 0 1 12 15.33"})],-1)]),8,ie)):p("",!0),m.value?(l(),a("a",{key:3,href:m.value,class:"cursor-pointer"},r[4]||(r[4]=[e("svg",{class:"hover:text-secondary",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16"},[e("path",{fill:"currentColor",d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248c-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586c.173-.431.568-.878 1.232-.878c.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252c-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"})],-1)]),8,de)):p("",!0),u.value?(l(),a("a",{key:4,href:u.value,class:"cursor-pointer"},r[5]||(r[5]=[e("svg",{class:"hover:text-secondary",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},[e("path",{fill:"currentColor",d:"M2 14.67a2 2 0 1 0 4 0v-2H4a2 2 0 0 0-2 2m12.64-3.34a2 2 0 0 0 2-2V4a2 2 0 1 0-4 0v5.33a2 2 0 0 0 2.02 2Zm7.32-2a2 2 0 1 0-4 0v2h2a2 2 0 0 0 2.04-2ZM9.34 12.67a2 2 0 0 0-2 2V20a2 2 0 1 0 4 0v-5.33a2 2 0 0 0-2-2M14.66 18h-2v2a2 2 0 1 0 2-2M20 12.67h-5.34a2 2 0 0 0 0 4H20a2 2 0 0 0 0-4M9.34 7.33H4a2 2 0 1 0 0 4h5.34a2 2 0 0 0 0-4m0-5.33a2 2 0 0 0 0 4h2V4a2 2 0 0 0-2-2"})],-1)]),8,ce)):p("",!0)])])])])]),e("div",he,[e("p",pe,o(s.$t("Copyright"))+" "+o(i(g))+". "+o(s.$t("All rights reserved"))+".",1)])])]))}};export{ue as default};