You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.7 KiB
1 lines
2.7 KiB
var b=Object.defineProperty;var v=(s,e,a)=>e in s?b(s,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[e]=a;var u=(s,e,a)=>v(s,typeof e!="symbol"?e+"":e,a);import{aa as _,C as w,V as g,_ as h,g as p,x as k,h as y,j as t,q as i,i as l,w as d}from"./index-BLqts8WY.js";var C=Object.defineProperty,P=Object.getOwnPropertyDescriptor,m=(s,e,a,n)=>{for(var c=n>1?void 0:n?P(e,a):e,f=s.length-1,o;f>=0;f--)(o=s[f])&&(c=(n?o(e,a,c):o(c))||c);return n&&c&&C(e,a,c),c};let x=class extends g{constructor(){super(...arguments);u(this,"selected","")}};m([_],x.prototype,"selected",2);x=m([w],x);const j={id:"QuickNav",class:"fixed bottom-0 left-0 right-0 bg-slate-200 z-50"},N={class:"flex text-2xl p-2 gap-2 max-w-3xl mx-auto"},Q={class:"flex flex-col items-center"},$={class:"flex flex-col items-center"},D={class:"flex flex-col items-center"},O={class:"flex flex-col items-center"},V={class:"flex flex-col items-center"};function B(s,e,a,n,c,f){const o=p("fa"),r=p("router-link");return k(),y("nav",j,[t("ul",N,[t("li",{class:i({"basis-1/5":!0,"rounded-md":!0,"bg-slate-400 text-white":s.selected==="Home","text-slate-500":s.selected!=="Home"})},[l(r,{to:{name:"home"},class:"block text-center py-2 px-1"},{default:d(()=>[t("div",Q,[l(o,{icon:"house-chimney",class:"fa-fw"}),e[0]||(e[0]=t("span",{class:"text-xs mt-1"},"feed",-1))])]),_:1})],2),t("li",{class:i({"basis-1/5":!0,"rounded-md":!0,"bg-slate-400 text-white":s.selected==="Discover","text-slate-500":s.selected!=="Discover"})},[l(r,{to:{name:"discover"},class:"block text-center py-2 px-1"},{default:d(()=>[t("div",$,[l(o,{icon:"magnifying-glass",class:"fa-fw"}),e[1]||(e[1]=t("span",{class:"text-xs mt-1"},"search",-1))])]),_:1})],2),t("li",{class:i({"basis-1/5":!0,"rounded-md":!0,"bg-slate-400 text-white":s.selected==="Projects","text-slate-500":s.selected!=="Projects"})},[l(r,{to:{name:"projects"},class:"block text-center py-2 px-1"},{default:d(()=>[t("div",D,[l(o,{icon:"hand",class:"fa-fw"}),e[2]||(e[2]=t("span",{class:"text-xs mt-1"},"your work",-1))])]),_:1})],2),t("li",{class:i({"basis-1/5":!0,"rounded-md":!0,"bg-slate-400 text-white":s.selected==="Contacts","text-slate-500":s.selected!=="Contacts"})},[l(r,{to:{name:"contacts"},class:"block text-center py-2 px-1"},{default:d(()=>[t("div",O,[l(o,{icon:"users",class:"fa-fw"}),e[3]||(e[3]=t("span",{class:"text-xs mt-1"},"contacts",-1))])]),_:1})],2),t("li",{class:i({"basis-1/5":!0,"rounded-md":!0,"bg-slate-400 text-white":s.selected==="Profile","text-slate-500":s.selected!=="Profile"})},[l(r,{to:{name:"account"},class:"block text-center py-2 px-1"},{default:d(()=>[t("div",V,[l(o,{icon:"circle-user",class:"fa-fw"}),e[4]||(e[4]=t("span",{class:"text-xs mt-1"},"profile",-1))])]),_:1})],2)])])}const E=h(x,[["render",B]]);export{E as Q};
|
|
|