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

2 lines
1.9 KiB
JavaScript

import{S as t,i as e,a,b as r,s as o,e as n,c as s,n as i,d as c,g as l,p as h,h as d}from"./index-95aedb1a.js";function p(t){let e,a,o,p,g,m,f,u,w;return{c(){e=n("footer"),a=n("div"),o=n("div"),o.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" style="margin-left: 0.5rem;">invite link</a></p> \n <p>Discord: <a href="https://discord.gg/xAPZmyr8B6" target="_blank" rel="noreferrer" style="margin-left: 2rem;">invite link</a></p></div>',p=s(),g=n("button"),g.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>',m=s(),f=n("p"),f.textContent="© 2023 A global network of Libertarian Socialists",this.c=i,c(o,"id","footer-grid-content-container"),c(o,"class","logged"),c(g,"id","footer-up"),c(g,"aria-label","go up"),c(f,"id","footer-copyright"),c(a,"id","footer-content-container")},m(n,s){r(n,e,s),l(e,a),l(a,o),l(a,p),l(a,g),l(a,m),l(a,f),u||(w=h(g,"click",t[0]),u=!0)},p:i,i:i,o:i,d(t){t&&d(e),u=!1,w()}}}function g(t){return[()=>{location.href="#"}]}class m 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},g,p,o,{},null),t&&t.target&&r(t.target,this,t.anchor)}}customElements.define("footer-component",m);export{m as default};