HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/dmstechonline/whatsapp.dmstech.online/public/build/assets/Layout-8c23f395.js
import{r as d,q as k,c as t,h as a,t as o,a as e,n as g,u as l,j as i,g as c,J as C,b as p,F as $,o as n,i as h}from"./app-884e4ce3.js";import{_ as M}from"./LangToggle-54d6b98e.js";import{u as V}from"./useRtl-295d8c04.js";const A={class:"flex items-center bg-secondary/70 h-8 px-5 md:px-10 lg:px-20 2xl:px-60"},S={class:"text-sm text-white"},B={class:"truncate w-[20em] md:w-full flex items-center gap-x-1"},H={id:"section1",class:"pt-4 md:pt-10 px-5 md:px-10 lg:px-20 2xl:px-60 relative"},L={class:"flex justify-between items-center"},F=["src","alt"],j={key:1,class:"text-2xl"},P={class:"hidden lg:flex justify-center items-center text-md space-x-8"},U={href:"#section2",class:"cursor-pointer hover:border-b-2 border-black"},z={href:"#section4",class:"cursor-pointer hover:border-b-2 border-black"},N={href:"#section5",class:"cursor-pointer hover:border-b-2 border-black"},R={href:"#section6",class:"cursor-pointer hover:border-b-2 border-black"},E={href:"#section7",class:"cursor-pointer hover:border-b-2 border-black"},D={class:"flex justify-end items-center text-md"},J={id:"section7",class:"bg-gray-300/10 px-5 md:px-10 lg:px-20 md:pt-10 pb-5 2xl:px-60"},Q={class:"md:flex"},T={class:"md:w-1/4 lg:w-1/2"},Y=["src","alt"],Z={key:1,class:"text-2xl mb-2"},q={class:"md:w-3/4 lg:w-1/2 md:flex md:justify-between text-sm space-y-8 md:space-y-0"},O={class:"text-xl font-regular mb-2"},G={class:"flex md:justify-between space-x-10 md:space-x-10 lg:space-x-20 space-y-2 md:space-y-0"},I={class:"space-y-2"},K={href:"#section2",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},W={href:"#section3",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},X={href:"#section4",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},ee={href:"#section5",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},se={href:"#section6",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},oe={class:"space-y-2"},re={class:"text-xl font-regular mb-2"},ae={class:"mb-2"},te={class:"mb-2"},le=["href"],ne={class:"mb-4"},ie=["href"],de={class:"flex space-x-4"},ce=["href"],he=["href"],pe=["href"],be=["href"],ve=["href"],fe={class:"mt-10 border-t pt-5 text-sm"},ue={class:"font-light"},_e={__name:"Layout",setup(me){computed(()=>usePage().props.config);const w=new Date().getFullYear(),b=d(null),v=d(null),f=d(null),u=d(null),m=d(null),{rtlClass:y,isRtl:_}=V(),x=()=>{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),k(()=>{x()}),(s,r)=>(n(),t($,null,[r[6]||(r[6]=a(o("test")+" ")),e("div",{class:g(l(y))},[e("div",A,[e("div",S,[e("div",B,[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)),a(" "+o(s.$t("Header.message")),1)])]),e("div",{class:g([l(_)?"mr-auto":"ml-auto"])},[i(M,{class:"text-white",languages:s.props.languages,currentLanguage:s.props.currentLanguage},null,8,["languages","currentLanguage"])],2)]),e("section",H,[e("div",L,[e("div",null,[s.props.companyConfig.logo?(n(),t("img",{key:0,class:"max-w-[150px]",src:"/media/"+s.props.companyConfig.logo,alt:s.props.companyConfig.company_name},null,8,F)):(n(),t("h1",j,o(s.props.companyConfig.company_name),1))]),e("div",P,[e("a",U,o(s.$t("Features")),1),e("a",z,o(s.$t("Pricing")),1),e("a",N,o(s.$t("Reviews")),1),e("a",R,o(s.$t("FAQs")),1),e("a",E,o(s.$t("Contact us")),1)]),e("div",D,[i(l(h),{href:"/login",class:"hidden md:inline-block mr-10 cursor-pointer hover:text-gray-400 border-black"},{default:c(()=>[a(o(s.$t("Login")),1)]),_:1}),i(l(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(()=>[a(o(s.$t("Sign Up")),1)]),_:1}),i(l(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(()=>[a(o(s.$t("Login")),1)]),_:1})])])]),C(s.$slots,"default"),e("footer",J,[e("div",Q,[e("div",T,[e("div",null,[s.props.companyConfig.logo?(n(),t("img",{key:0,class:"max-w-[150px]",src:"/media/"+s.props.companyConfig.logo,alt:s.props.companyConfig.company_name},null,8,Y)):(n(),t("h4",Z,o(s.props.companyConfig.company_name),1))])]),e("div",q,[e("div",null,[e("h4",O,o(s.$t("Links")),1),e("div",G,[e("div",I,[e("div",null,[e("a",K,o(s.$t("Features")),1)]),e("div",null,[e("a",W,o(s.$t("How it works")),1)]),e("div",null,[e("a",X,o(s.$t("Pricing")),1)]),e("div",null,[e("a",ee,o(s.$t("Reviews")),1)]),e("div",null,[e("a",se,o(s.$t("FAQs")),1)])]),e("div",oe,[e("div",null,[i(l(h),{href:"/signup",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[a(o(s.$t("Sign up")),1)]),_:1})]),e("div",null,[i(l(h),{href:"/login",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[a(o(s.$t("Login")),1)]),_:1})]),e("div",null,[i(l(h),{href:"/privacy",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[a(o(s.$t("Privacy Policy")),1)]),_:1})]),e("div",null,[i(l(h),{href:"/tos",class:"border-b-2 border-[#fafbfb] hover:border-b-2 hover:border-black"},{default:c(()=>[a(o(s.$t("Terms of Service")),1)]),_:1})])])])]),e("div",null,[e("div",null,[e("h4",re,o(s.$t("Contact us")),1),e("p",ae,o(s.props.companyConfig.address),1),e("p",te,[a(o(s.$t("Email"))+": ",1),e("a",{href:"mailto:"+s.props.companyConfig.email,class:"hover:underline"},o(s.props.companyConfig.email),9,le)]),e("p",ne,[a(o(s.$t("Phone"))+": ",1),e("a",{href:"tel:"+s.props.companyConfig.phone,class:"hover:underline"},o(s.props.companyConfig.phone),9,ie)]),e("div",de,[b.value?(n(),t("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,ce)):p("",!0),v.value?(n(),t("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,he)):p("",!0),f.value?(n(),t("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,pe)):p("",!0),m.value?(n(),t("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,be)):p("",!0),u.value?(n(),t("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,ve)):p("",!0)])])])])]),e("div",fe,[e("p",ue,o(s.$t("Copyright"))+" "+o(l(w))+". "+o(s.$t("All rights reserved"))+".",1)])])],2)],64))}};export{_e as default};