site-libsoc/Server/public/js/components/footer-component.js

2 lines
1.7 KiB
JavaScript
Raw Normal View History

2023-06-25 23:35:08 +07:00
import{S as t,i as e,a,b as o,s,e as n,c as r,n as i,d as c,h,p as l,j as d}from"./index-01c5cbf1.js";function p(t){let e,a,s,p,f,g,m,u,w;return{c(){e=n("footer"),a=n("div"),s=n("div"),s.innerHTML='<div id="contact-us-container"><h2>CONTACT US</h2> \n \n <p>WhatsApp: <a href="https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh" target="_blank" rel="noreferrer">group invite link</a></p></div>',p=r(),f=n("button"),f.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="42.545" height="72.601" viewBox="0 0 42.545 72.601"><g id="Group_268" data-name="Group 268" transform="translate(-6.177 -2.399)"><rect id="Rectangle_146" data-name="Rectangle 146" width="11" height="51" rx="5.5" transform="translate(22 24)" fill="#DD1C1A"></rect><path id="Path_1145" data-name="Path 1145" d="M23.814,4.021a5,5,0,0,1,7.372,0l16.134,17.6c2.94,3.207,1.046,10.4-3.686,8.379S28.02,14.081,28.391,13.524,16.544,27.976,11.366,30,4.741,24.828,7.68,21.621Z" fill="#DD1C1A"></path></g></svg>',g=r(),m=n("p"),m.textContent="© 2023 A global network of Libertarian Socialists",this.c=i,c(s,"id","footer-grid-content-container"),c(s,"class","logged"),c(f,"id","footer-up"),c(f,"aria-label","go up"),c(m,"id","footer-copyright"),c(a,"id","footer-content-container")},m(n,r){o(n,e,r),h(e,a),h(a,s),h(a,p),h(a,f),h(a,g),h(a,m),u||(w=l(f,"click",t[0]),u=!0)},p:i,i:i,o:i,d(t){t&&d(e),u=!1,w()}}}function f(t){return[()=>{location.href="#"}]}class g extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';@import '/css/footer.css';</style>",e(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},f,p,s,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("footer-component",g);export{g as default};