From d24599cbb25d00a31bd75ba6ed7cc1ce2b0abc94 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 29 May 2024 09:46:10 +0000 Subject: [PATCH] Update documentation --- assets/{index-DzSfOfPL.js => index-CVRXA5gS.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-DzSfOfPL.js => index-CVRXA5gS.js} (99%) diff --git a/assets/index-DzSfOfPL.js b/assets/index-CVRXA5gS.js similarity index 99% rename from assets/index-DzSfOfPL.js rename to assets/index-CVRXA5gS.js index 0c06d9d..f900399 100644 --- a/assets/index-DzSfOfPL.js +++ b/assets/index-CVRXA5gS.js @@ -32,4 +32,4 @@ import{d as Y,r as w,o as E,a as o,c as n,b as t,u as h,t as u,F as y,e as $,p a

至于用起来觉得好不好,咱就不好说了,面子上总是要说好的。

`,fe={class:"jn-jobs mt-5 position-relative",id:"Jobs"},ye={class:"badge bg-purple jn-badge"},je={class:"row justify-content-evenly mt-5 mx-0"},we={class:"jn-left-panel mb-4 col-md-5 col-12"},$e={class:"jn-h2"},ke=["innerHTML"],Te={key:0,class:"jn-right-panel col-md-7 col-12"},Oe={class:"nav nav-underline mb-3 text-nowrap overflow-x-scroll flex-nowrap",id:"pills-tab",role:"tablist"},Ee=["onClick","id","aria-selected"],Pe=["id","aria-labelledby"],Le={class:"fs-4"},Ie={class:"fw-bold"},Me=["href"],Se={class:"badge bg-purple"},xe=["innerHTML"],Re={__name:"Jobs",setup(c){const b=S(),m=A(()=>b.isMobile),r=w(!1),i=w(0),e=w(""),l=Object.assign({"/contents/jobs/bz.md":()=>p(()=>import("./bz-B9YIxwh5.js"),[],import.meta.url),"/contents/jobs/cmww.md":()=>p(()=>import("./cmww-Dmn1kJsW.js"),[],import.meta.url),"/contents/jobs/geekpark.md":()=>p(()=>import("./geekpark-B8YRSbR6.js"),[],import.meta.url),"/contents/jobs/knb.md":()=>p(()=>import("./knb-C5zY_p_G.js"),[],import.meta.url),"/contents/jobs/qdan.md":()=>p(()=>import("./qdan-Bn8rjQcH.js"),[],import.meta.url),"/contents/jobs/qingmang.md":()=>p(()=>import("./qingmang-CuEJQuZC.js"),[],import.meta.url),"/contents/jobs/yokeneng.md":()=>p(()=>import("./yokeneng-BNte6w8r.js"),[],import.meta.url)}),g=M([]),_=async()=>{const d=Object.values(l).map(v=>v().then(s=>({html:a(s.html,"bi-arrow-right-circle-fill"),attributes:s.attributes})));g.push(...await Promise.all(d)),g.sort((v,s)=>v.attributes.dated.toString().replace(/
  • /g,`

    `).replace(/<\/li>/g,"

    ").replace(/
      /g,"").replace(/<\/ul>/g,"");return e.value=a(he,"bi-emoji-expressionless-fill"),E(async()=>{await _()}),(d,v)=>(o(),n("div",fe,[t("span",ye,u(h(z).Badge),1),t("div",je,[t("div",we,[t("h2",$e,u(h(z).Title),1),t("div",{innerHTML:e.value},null,8,ke)]),r.value?(o(),n("div",Te,[t("ul",Oe,[(o(!0),n(y,null,$(g,(s,f)=>(o(),n("li",{class:"nav-item",role:"presentation",key:"nav-item-"+s.attributes.id},[t("button",{class:j(["nav-link",{active:i.value===f}]),onClick:k=>i.value=f,id:"pills-"+s.attributes.id+"-tab",type:"button",role:"tab","aria-selected":i.value===f},u(s.attributes.company),11,Ee)]))),128))]),t("div",{class:j(["tab-content jn-tab-content card jn-card mb-5",[m.value?"p-4 jn-jobs-content-mobile":"p-5"]]),id:"pills-tabContent"},[(o(!0),n(y,null,$(g,(s,f)=>(o(),n("div",{class:j(["tab-pane fade",{"show active":i.value===f}]),key:"tab-pane-"+s.attributes.id,id:"jobs-"+s.attributes.id,role:"tabpanel","aria-labelledby":"pills-"+s.attributes.id+"-tab",tabindex:"0"},[t("div",Le,[t("span",Ie,u(s.attributes.title),1),I(" @ "),t("a",{class:"text-decoration-none link-purple",href:s.attributes.url,target:"_blank",rel:"noopener noreferrer"},u(s.attributes.company),9,Me)]),t("div",Se,u(s.attributes.range),1),t("div",{class:"mt-3 fw-light",innerHTML:s.html},null,8,xe)],10,Pe))),128))],2)])):P("",!0)])]))}},Ae=T(Re,[["__scopeId","data-v-f022d29f"]]),De=""+new URL("bv-Dt9ebM-t.jpg",import.meta.url).href,Ve=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"})),Ce=""+new URL("geekpark-rwMom74B.jpg",import.meta.url).href,He=Object.freeze(Object.defineProperty({__proto__:null,default:Ce},Symbol.toStringTag,{value:"Module"})),Be=""+new URL("knb-BiKj7Ozh.jpg",import.meta.url).href,Fe=Object.freeze(Object.defineProperty({__proto__:null,default:Be},Symbol.toStringTag,{value:"Module"})),ze=""+new URL("qdan-DRSd0YN1.png",import.meta.url).href,Ue=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"})),Ne=""+new URL("spidenote-CO6asJZL.png",import.meta.url).href,qe=Object.freeze(Object.defineProperty({__proto__:null,default:Ne},Symbol.toStringTag,{value:"Module"})),We=""+new URL("tichome-Cxz2HSFa.jpg",import.meta.url).href,Je=Object.freeze(Object.defineProperty({__proto__:null,default:We},Symbol.toStringTag,{value:"Module"})),Ge=""+new URL("yokeneng-D2Ti_uGH.jpg",import.meta.url).href,Ke=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"})),Ye=""+new URL("youle-B7NS0G3Q.png",import.meta.url).href,Xe=Object.freeze(Object.defineProperty({__proto__:null,default:Ye},Symbol.toStringTag,{value:"Module"})),U={Badge:"代表产品",Title:"创造是糖"},Ze=`

      这个人喜欢挑战自己,也喜欢不断吸收新知识,做过的产品比较多,做了后来消失了的也不少。

      对他来说,创造是一种快乐,也是一个生活方式。

      -`,Qe=c=>(x("data-v-3261516b"),c=c(),R(),c),ts={class:"jn-products mt-5 position-relative",id:"Products"},es={class:"badge bg-dark jn-badge"},ss={class:"row justify-content-evenly mt-5 mx-0"},os={class:"jn-left-panel mb-4 col-md-5 col-12"},ns={class:"sticky-wrapper"},is={class:"jn-h2"},as=["innerHTML"],rs={key:0,class:"jn-right-panel col-md-7 col-12"},ls={class:"col-12 mb-5 jn-product-card"},cs={class:"card jn-card"},ds={class:"card-body"},_s={class:"card-title"},us=["href"],ms=Qe(()=>t("i",{class:"bi bi-arrow-up-right-circle"},null,-1)),ps=[ms],bs={class:"card-title mt-3"},gs={class:"row my-3 align-items-start"},vs=["innerHTML"],hs={class:"col-md-4 col-12 pb-2"},fs={class:"jn-cover-img"},ys=["src","alt"],js={__name:"Products",setup(c){const b=S(),m=A(()=>b.isMobile),r=w(!1),i=w(""),e=d=>d.toString().replace(/
    • /g,'

      ').replace(/<\/li>/g,"

      ").replace(/
        /g,"").replace(/<\/ul>/g,"");i.value=e(Ze);const l=Object.assign({"/contents/products/bv.md":()=>p(()=>import("./bv-CHCVVZdY.js"),[],import.meta.url),"/contents/products/geekpark.md":()=>p(()=>import("./geekpark-DWZSZIis.js"),[],import.meta.url),"/contents/products/knb.md":()=>p(()=>import("./knb-sJAI04Bt.js"),[],import.meta.url),"/contents/products/qdan.md":()=>p(()=>import("./qdan-Rt7wStma.js"),[],import.meta.url),"/contents/products/spidernote.md":()=>p(()=>import("./spidernote-B8aNAllj.js"),[],import.meta.url),"/contents/products/tichome.md":()=>p(()=>import("./tichome-dOtRDgD9.js"),[],import.meta.url),"/contents/products/yokeneng.md":()=>p(()=>import("./yokeneng-D7c5WErf.js"),[],import.meta.url),"/contents/products/youle.md":()=>p(()=>import("./youle-clqEXf9W.js"),[],import.meta.url)}),g=Object.assign({"/contents/products/images/bv.jpg":Ve,"/contents/products/images/geekpark.jpg":He,"/contents/products/images/knb.jpg":Fe,"/contents/products/images/qdan.png":Ue,"/contents/products/images/spidenote.png":qe,"/contents/products/images/tichome.jpg":Je,"/contents/products/images/yokeneng.jpg":Ke,"/contents/products/images/youle.png":Xe}),_=M([]),a=async()=>{const d=Object.values(l).map(async v=>{const s=await v(),f=s.attributes,k=Object.keys(g).find(K=>K.includes(f.cover)),G=k?g[k].default:null;return{html:e(s.html),attributes:{...f,cover:G}}});_.push(...await Promise.all(d)),_.sort((v,s)=>s.attributes.date-v.attributes.date),r.value=!0};return E(async()=>{await a(),m.value||X(".sticky-wrapper",{stickyBitStickyOffset:100})}),(d,v)=>(o(),n("div",ts,[t("span",es,u(h(U).Badge),1),t("div",ss,[t("div",os,[t("div",ns,[t("h2",is,u(h(U).Title),1),t("div",{innerHTML:i.value},null,8,as)])]),r.value?(o(),n("div",rs,[(o(!0),n(y,null,$(_,(s,f)=>(o(),n("div",{key:s,class:"row justify-content-between"},[t("div",ls,[t("div",cs,[t("div",ds,[t("h5",_s,[I(u(s.attributes.title)+" ",1),t("a",{class:"text-decoration-none link-dark",href:s.attributes.url,target:"_blank",rel:"noopener noreferrer"},ps,8,us)]),t("div",bs,[(o(!0),n(y,null,$(s.attributes.tags,k=>(o(),n("span",{key:f,class:"badge bg-dark jn-tags me-2"},u(k),1))),128))]),t("div",gs,[t("div",{innerHTML:s.html,class:"jn-card-text col-md-8 col-12 jn-products-text"},null,8,vs),t("div",hs,[t("div",fs,[t("img",{src:s.attributes.cover,class:"img-fluid",alt:s.attributes.title},null,8,ys)])])])])])])]))),128))])):P("",!0)])]))}},ws=T(js,[["__scopeId","data-v-3261516b"]]),$s={Badge:"业余的贡献"},ks="",Ts=c=>(x("data-v-677d43b6"),c=c(),R(),c),Os={class:"jn-works mt-5 position-relative",id:"Works"},Es={class:"badge bg-success jn-badge"},Ps={key:0,class:"row mt-5 mx-0 jn-works-row"},Ls={class:"card jn-works-card h-100"},Is={class:"card-body"},Ms={class:"card-title"},Ss=["href"],xs=Ts(()=>t("i",{class:"bi bi-arrow-up-right-circle"},null,-1)),Rs=[xs],As={class:"card-title mt-3"},Ds=["innerHTML"],Vs={__name:"Works",setup(c){const b=w(!1),m=w(""),r=g=>g.toString().replace(/
      • /g,'

        ').replace(/<\/li>/g,"

        ").replace(/
          /g,"").replace(/<\/ul>/g,"");m.value=r(ks);const i=Object.assign({"/contents/works/bochana.md":()=>p(()=>import("./bochana-CVMKqIYa.js"),[],import.meta.url),"/contents/works/easyhomepage.md":()=>p(()=>import("./easyhomepage-BzVdTZip.js"),[],import.meta.url),"/contents/works/knbformatter.md":()=>p(()=>import("./knbformatter-KSy5TLyD.js"),[],import.meta.url),"/contents/works/macify.md":()=>p(()=>import("./macify-BocSStuH.js"),[],import.meta.url),"/contents/works/myip.md":()=>p(()=>import("./myip-Co1r-Iqx.js"),[],import.meta.url),"/contents/works/ohearningscal.md":()=>p(()=>import("./ohearningscal-EEjrO4Ll.js"),[],import.meta.url),"/contents/works/pingall.md":()=>p(()=>import("./pingall-D6YWdQgt.js"),[],import.meta.url),"/contents/works/pm2048.md":()=>p(()=>import("./pm2048-CstBnA3J.js"),[],import.meta.url),"/contents/works/retiremoney.md":()=>p(()=>import("./retiremoney-BxwZJ1_r.js"),[],import.meta.url)}),e=M([]),l=async()=>{const g=Object.values(i).map(_=>_().then(a=>({html:a.html,attributes:a.attributes})));e.push(...await Promise.all(g)),e.sort((_,a)=>_.attributes.date{await l()}),(g,_)=>(o(),n("div",Os,[t("span",Es,u(h($s).Badge),1),b.value?(o(),n("div",Ps,[(o(!0),n(y,null,$(Math.ceil(e.length/3),a=>(o(),n("div",{key:a,class:"row"},[(o(!0),n(y,null,$(e.slice((a-1)*3,a*3),(d,v)=>(o(),n("div",{key:d.id,class:"col-md-4 col-12 mb-5"},[t("div",Ls,[t("div",Is,[t("h5",Ms,[I(u(d.attributes.title)+" ",1),t("a",{class:"text-decoration-none link-success",href:d.attributes.url,target:"_blank",rel:"noopener noreferrer"},Rs,8,Ss)]),t("div",As,[(o(!0),n(y,null,$(d.attributes.tags,s=>(o(),n("span",{key:s,class:"badge bg-success jn-tags me-2"},u(s),1))),128))]),t("div",{innerHTML:d.html,class:"jn-card-text"},null,8,Ds)])])]))),128))]))),128))])):P("",!0)]))}},Cs=T(Vs,[["__scopeId","data-v-677d43b6"]]),C={Badge:"阿禅怎么卖?",Buy:"就买这个!",alertTitle:"你还真点了购买",alertMessage:"在下面的联系方式里找一个来联系吧"},H=c=>(x("data-v-e78d00c9"),c=c(),R(),c),Hs={class:"jn-pricing mt-5 position-relative",id:"Pricing"},Bs={class:"badge bg-purple jn-badge"},Fs={key:0,class:"row mt-5 mx-0 jn-pricing-row px-4"},zs={class:"card jn-card mb-4 position-relative jn-animate-card"},Us={class:"card-title"},Ns={class:"card-subtitle mb-2 mb-4 opacity-50"},qs={class:"card-body"},Ws={class:"jn-plan-detail"},Js={class:"list-group list-group-flush"},Gs={class:"list-group-item border-0"},Ks=H(()=>t("i",{class:"bi bi-check-circle-fill text-success"},null,-1)),Ys={class:"list-group-item border-0"},Xs=H(()=>t("i",{class:"bi bi-x-circle-fill text-danger"},null,-1)),Zs={class:"jn-plan-buy row m-3"},Qs={class:"toast-container p-3 jn-toast"},to={class:"toast-header"},eo=H(()=>t("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1)),so={class:"toast-body"},oo={__name:"Pricing",setup(c){const b=w(!1),m=w({}),r=w(null),i=(a=2e3)=>{m.value={alertTitle:C.alertTitle,alertMessage:C.alertMessage,alertStyle:"text-success"},r.value?new Z(r.value,{delay:2e3}).show():console.error("Toast element not found")},e=Object.assign({"/contents/pricing/plan1.md":()=>p(()=>import("./plan1-DDmFkp3Q.js"),[],import.meta.url),"/contents/pricing/plan2.md":()=>p(()=>import("./plan2-tDL9TLGb.js"),[],import.meta.url),"/contents/pricing/plan3.md":()=>p(()=>import("./plan3-B1bMLKMk.js"),[],import.meta.url)}),l=M([]),g=async()=>{const a=Object.values(e).map(d=>d().then(v=>({html:v.html,attributes:v.attributes})));l.push(...await Promise.all(a)),l.sort((d,v)=>d.attributes.date{const a=window.innerWidth,v=(a-1600)/2,s=document.querySelector(".jn-toast");a>1600?s.style.right=`${v+0}px`:s.style.right="0"};return E(()=>{window.addEventListener("resize",_),_()}),E(async()=>{await g()}),(a,d)=>(o(),n(y,null,[t("div",Hs,[t("span",Bs,u(h(C).Badge),1),b.value?(o(),n("div",Fs,[(o(!0),n(y,null,$(l,(v,s)=>(o(),n("div",{key:v,class:"col-mb-4 col-xl-4 col-xxl-4 col-12 mb-5"},[t("div",zs,[t("div",{class:j(["jn-plan-title",{"bg-primary":s%3===0,"bg-success":s%3===1,"bg-purple":s%3===2}])},[t("h5",Us,u(v.attributes.Title),1),t("h6",Ns,u(v.attributes.Subtitle),1)],2),t("div",qs,[t("div",Ws,[t("ul",Js,[(o(!0),n(y,null,$(v.attributes.Includes,f=>(o(),n("li",Gs,[Ks,I(" "+u(f),1)]))),256)),(o(!0),n(y,null,$(v.attributes.Excludes,f=>(o(),n("li",Ys,[Xs,I(" "+u(f),1)]))),256))])]),t("div",Zs,[t("button",{class:j(["btn",{"btn-primary":s%3===0,"btn-success":s%3===1,"btn-purple":s%3===2}]),onClick:i},u(v.attributes.Price),3)])])])]))),128))])):P("",!0)]),t("div",Qs,[t("div",{id:"toastInfoMask",class:"toast",role:"alert",ref_key:"toastEl",ref:r,"aria-live":"assertive","aria-atomic":"true"},[t("div",to,[t("strong",{class:j(["me-auto",m.value.alertStyle])},u(m.value.alertTitle),3),eo]),t("div",so,u(m.value.alertMessage),1)],512)])],64))}},no=T(oo,[["__scopeId","data-v-e78d00c9"]]),L={Title:"阿禅",Subtitle:"就是这样一个做产品的人。",ContactTitle:"怎么联系?",ContactSubtitle:"你可以通过多种联系方式找到他。基本上每个社交网络都有他的身影,但作为 30 多岁的种老年人,他有时候会假装收不到你的信息然后不回复。所以,务必不要发一个类似「在吗」这样的信息,直接说你要什么就好了。",Social:[{name:"GitHub",icon:"github",url:"https://github.com/jason5ng32"},{name:"Twitter",icon:"twitter",url:"https://twitter.com/jason5ng32"},{name:"LinkedIn",icon:"linkedin",url:"https://www.linkedin.com/in/jason5ng32"},{name:"Email",icon:"envelope",url:"mailto:fromhomepage@kenengba.com"},{name:"Instagram",icon:"instagram",url:"https://www.instagram.com/jason5ng32"},{name:"博客",icon:"rss",url:"https://kenengba.com"},{name:"Wikipedia",icon:"wikipedia",url:"https://zh.wikipedia.org/wiki/%E4%BC%8D%E5%98%89%E8%B4%A4"}]},io={class:"jn-footer mt-5 position-relative",id:"Footer"},ao={class:"row p-5 w-100"},ro={class:"col-md-6 col-lg-6 col-12"},lo={class:"opacity-75"},co={class:"col-md-6 col-lg-6 col-12"},_o={class:"opacity-75"},uo={class:"flex"},mo=["href","title"],po={class:"jn-footer-placeholder"},bo={__name:"Footer",setup(c){const b=S(),m=A(()=>b.isMobile),r=new Date().getFullYear();return(i,e)=>(o(),n("div",io,[t("div",ao,[t("div",ro,[t("h1",null,u(h(L).Title),1),t("p",lo,u(h(L).Subtitle),1)]),t("div",co,[t("h3",null,u(h(L).ContactTitle),1),t("p",_o,u(h(L).ContactSubtitle),1),t("div",uo,[(o(!0),n(y,null,$(h(L).Social,(l,g)=>(o(),n("a",{key:g,class:j([m.value?"jn-footer-social-mobile me-3":"jn-footer-social-desktop me-4"]),href:l.url,title:l.name,target:"_blank"},[t("i",{class:j(["bi","bi-"+l.icon])},null,2)],10,mo))),128))])])]),t("div",po,u(h(L).Title)+" © "+u(h(r)),1)]))}},go=T(bo,[["__scopeId","data-v-f4b73c5b"]]),vo={id:"main-part",class:"container mt-2 px-0"},ho={"data-bs-spy":"scroll","data-bs-target":"#navbar-top","data-bs-root-margin":"0px 0px -40%","data-bs-smooth-scroll":"true",class:"rounded-2",tabindex:"0"},fo={__name:"App",setup(c){const b=S(),m=A(()=>b.isMobile),r=(e,l=200,g,_=!1)=>{Q().reveal(e,{delay:l,duration:1e3,origin:g,distance:"100px",reset:_})};return(()=>{let e=document.getElementById("jn-loading");e&&(e.style.display="none")})(),E(()=>{r(".jn-introduce-bg",200,"bottom",!1),r(".jn-introduce-title",600,"top",!1),r(".jn-introduce-subtitle",600,"left",!1),r(".jn-introduce-doc",1600,"bottom",!1),setTimeout(()=>{r(".conversation-right",200,"right",!1),r(".conversation-left",200,"left",!1),r(".jn-animate-card",200,"bottom",!1)},1e3)}),(e,l)=>(o(),n(y,null,[O(ht),t("div",vo,[t("div",ho,[O(Pt),t("div",{class:j([m.value?"jn-items-full-width":"jn-items"])},[O(se),O(ve),O(Ae),O(ws),O(Cs),O(no)],2)]),O(go)])],64))}},yo=T(fo,[["__scopeId","data-v-09be0a06"]]),q=tt(yo),W=et();q.use(W);const jo=S(W),wo=st({app:"MyIP",plugins:[ot({measurementIds:["G-Z5G5JGDFMK"]})]});wo.page();function J(){jo.setIsMobile(window.innerWidth<768)}J();window.addEventListener("resize",J);q.mount("#app"); +`,Qe=c=>(x("data-v-3261516b"),c=c(),R(),c),ts={class:"jn-products mt-5 position-relative",id:"Products"},es={class:"badge bg-dark jn-badge"},ss={class:"row justify-content-evenly mt-5 mx-0"},os={class:"jn-left-panel mb-4 col-md-5 col-12"},ns={class:"sticky-wrapper"},is={class:"jn-h2"},as=["innerHTML"],rs={key:0,class:"jn-right-panel col-md-7 col-12"},ls={class:"col-12 mb-5 jn-product-card"},cs={class:"card jn-card"},ds={class:"card-body"},_s={class:"card-title"},us=["href"],ms=Qe(()=>t("i",{class:"bi bi-arrow-up-right-circle"},null,-1)),ps=[ms],bs={class:"card-title mt-3"},gs={class:"row my-3 align-items-start"},vs=["innerHTML"],hs={class:"col-md-4 col-12 pb-2"},fs={class:"jn-cover-img"},ys=["src","alt"],js={__name:"Products",setup(c){const b=S(),m=A(()=>b.isMobile),r=w(!1),i=w(""),e=d=>d.toString().replace(/
        • /g,'

          ').replace(/<\/li>/g,"

          ").replace(/
            /g,"").replace(/<\/ul>/g,"");i.value=e(Ze);const l=Object.assign({"/contents/products/bv.md":()=>p(()=>import("./bv-CHCVVZdY.js"),[],import.meta.url),"/contents/products/geekpark.md":()=>p(()=>import("./geekpark-DWZSZIis.js"),[],import.meta.url),"/contents/products/knb.md":()=>p(()=>import("./knb-sJAI04Bt.js"),[],import.meta.url),"/contents/products/qdan.md":()=>p(()=>import("./qdan-Rt7wStma.js"),[],import.meta.url),"/contents/products/spidernote.md":()=>p(()=>import("./spidernote-B8aNAllj.js"),[],import.meta.url),"/contents/products/tichome.md":()=>p(()=>import("./tichome-dOtRDgD9.js"),[],import.meta.url),"/contents/products/yokeneng.md":()=>p(()=>import("./yokeneng-D7c5WErf.js"),[],import.meta.url),"/contents/products/youle.md":()=>p(()=>import("./youle-clqEXf9W.js"),[],import.meta.url)}),g=Object.assign({"/contents/products/images/bv.jpg":Ve,"/contents/products/images/geekpark.jpg":He,"/contents/products/images/knb.jpg":Fe,"/contents/products/images/qdan.png":Ue,"/contents/products/images/spidenote.png":qe,"/contents/products/images/tichome.jpg":Je,"/contents/products/images/yokeneng.jpg":Ke,"/contents/products/images/youle.png":Xe}),_=M([]),a=async()=>{const d=Object.values(l).map(async v=>{const s=await v(),f=s.attributes,k=Object.keys(g).find(K=>K.includes(f.cover)),G=k?g[k].default:null;return{html:e(s.html),attributes:{...f,cover:G}}});_.push(...await Promise.all(d)),_.sort((v,s)=>s.attributes.date-v.attributes.date),r.value=!0};return E(async()=>{await a(),m.value||X(".sticky-wrapper",{stickyBitStickyOffset:100})}),(d,v)=>(o(),n("div",ts,[t("span",es,u(h(U).Badge),1),t("div",ss,[t("div",os,[t("div",ns,[t("h2",is,u(h(U).Title),1),t("div",{innerHTML:i.value},null,8,as)])]),r.value?(o(),n("div",rs,[(o(!0),n(y,null,$(_,(s,f)=>(o(),n("div",{key:s,class:"row justify-content-between"},[t("div",ls,[t("div",cs,[t("div",ds,[t("h5",_s,[I(u(s.attributes.title)+" ",1),t("a",{class:"text-decoration-none link-dark",href:s.attributes.url,target:"_blank",rel:"noopener noreferrer"},ps,8,us)]),t("div",bs,[(o(!0),n(y,null,$(s.attributes.tags,k=>(o(),n("span",{key:f,class:"badge bg-dark jn-tags me-2"},u(k),1))),128))]),t("div",gs,[t("div",{innerHTML:s.html,class:"jn-card-text col-md-8 col-12 jn-products-text"},null,8,vs),t("div",hs,[t("div",fs,[t("img",{src:s.attributes.cover,class:"img-fluid",alt:s.attributes.title},null,8,ys)])])])])])])]))),128))])):P("",!0)])]))}},ws=T(js,[["__scopeId","data-v-3261516b"]]),$s={Badge:"业余的贡献"},ks="",Ts=c=>(x("data-v-677d43b6"),c=c(),R(),c),Os={class:"jn-works mt-5 position-relative",id:"Works"},Es={class:"badge bg-success jn-badge"},Ps={key:0,class:"row mt-5 mx-0 jn-works-row"},Ls={class:"card jn-works-card h-100"},Is={class:"card-body"},Ms={class:"card-title"},Ss=["href"],xs=Ts(()=>t("i",{class:"bi bi-arrow-up-right-circle"},null,-1)),Rs=[xs],As={class:"card-title mt-3"},Ds=["innerHTML"],Vs={__name:"Works",setup(c){const b=w(!1),m=w(""),r=g=>g.toString().replace(/
          • /g,'

            ').replace(/<\/li>/g,"

            ").replace(/
              /g,"").replace(/<\/ul>/g,"");m.value=r(ks);const i=Object.assign({"/contents/works/bochana.md":()=>p(()=>import("./bochana-CVMKqIYa.js"),[],import.meta.url),"/contents/works/easyhomepage.md":()=>p(()=>import("./easyhomepage-BzVdTZip.js"),[],import.meta.url),"/contents/works/knbformatter.md":()=>p(()=>import("./knbformatter-KSy5TLyD.js"),[],import.meta.url),"/contents/works/macify.md":()=>p(()=>import("./macify-BocSStuH.js"),[],import.meta.url),"/contents/works/myip.md":()=>p(()=>import("./myip-Co1r-Iqx.js"),[],import.meta.url),"/contents/works/ohearningscal.md":()=>p(()=>import("./ohearningscal-EEjrO4Ll.js"),[],import.meta.url),"/contents/works/pingall.md":()=>p(()=>import("./pingall-D6YWdQgt.js"),[],import.meta.url),"/contents/works/pm2048.md":()=>p(()=>import("./pm2048-CstBnA3J.js"),[],import.meta.url),"/contents/works/retiremoney.md":()=>p(()=>import("./retiremoney-BxwZJ1_r.js"),[],import.meta.url)}),e=M([]),l=async()=>{const g=Object.values(i).map(_=>_().then(a=>({html:a.html,attributes:a.attributes})));e.push(...await Promise.all(g)),e.sort((_,a)=>_.attributes.date{await l()}),(g,_)=>(o(),n("div",Os,[t("span",Es,u(h($s).Badge),1),b.value?(o(),n("div",Ps,[(o(!0),n(y,null,$(Math.ceil(e.length/3),a=>(o(),n("div",{key:a,class:"row"},[(o(!0),n(y,null,$(e.slice((a-1)*3,a*3),(d,v)=>(o(),n("div",{key:d.id,class:"col-md-4 col-12 mb-5"},[t("div",Ls,[t("div",Is,[t("h5",Ms,[I(u(d.attributes.title)+" ",1),t("a",{class:"text-decoration-none link-success",href:d.attributes.url,target:"_blank",rel:"noopener noreferrer"},Rs,8,Ss)]),t("div",As,[(o(!0),n(y,null,$(d.attributes.tags,s=>(o(),n("span",{key:s,class:"badge bg-success jn-tags me-2"},u(s),1))),128))]),t("div",{innerHTML:d.html,class:"jn-card-text"},null,8,Ds)])])]))),128))]))),128))])):P("",!0)]))}},Cs=T(Vs,[["__scopeId","data-v-677d43b6"]]),C={Badge:"阿禅怎么卖?",Buy:"就买这个!",alertTitle:"你还真点了购买",alertMessage:"在下面的联系方式里找一个来联系吧"},H=c=>(x("data-v-e78d00c9"),c=c(),R(),c),Hs={class:"jn-pricing mt-5 position-relative",id:"Pricing"},Bs={class:"badge bg-purple jn-badge"},Fs={key:0,class:"row mt-5 mx-0 jn-pricing-row px-4"},zs={class:"card jn-card mb-4 position-relative jn-animate-card"},Us={class:"card-title"},Ns={class:"card-subtitle mb-2 mb-4 opacity-50"},qs={class:"card-body"},Ws={class:"jn-plan-detail"},Js={class:"list-group list-group-flush"},Gs={class:"list-group-item border-0"},Ks=H(()=>t("i",{class:"bi bi-check-circle-fill text-success"},null,-1)),Ys={class:"list-group-item border-0"},Xs=H(()=>t("i",{class:"bi bi-x-circle-fill text-danger"},null,-1)),Zs={class:"jn-plan-buy row m-3"},Qs={class:"toast-container p-3 jn-toast"},to={class:"toast-header"},eo=H(()=>t("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1)),so={class:"toast-body"},oo={__name:"Pricing",setup(c){const b=w(!1),m=w({}),r=w(null),i=(a=2e3)=>{m.value={alertTitle:C.alertTitle,alertMessage:C.alertMessage,alertStyle:"text-success"},r.value?new Z(r.value,{delay:2e3}).show():console.error("Toast element not found")},e=Object.assign({"/contents/pricing/plan1.md":()=>p(()=>import("./plan1-DDmFkp3Q.js"),[],import.meta.url),"/contents/pricing/plan2.md":()=>p(()=>import("./plan2-tDL9TLGb.js"),[],import.meta.url),"/contents/pricing/plan3.md":()=>p(()=>import("./plan3-B1bMLKMk.js"),[],import.meta.url)}),l=M([]),g=async()=>{const a=Object.values(e).map(d=>d().then(v=>({html:v.html,attributes:v.attributes})));l.push(...await Promise.all(a)),l.sort((d,v)=>d.attributes.date{const a=window.innerWidth,v=(a-1600)/2,s=document.querySelector(".jn-toast");a>1600?s.style.right=`${v+0}px`:s.style.right="0"};return E(()=>{window.addEventListener("resize",_),_()}),E(async()=>{await g()}),(a,d)=>(o(),n(y,null,[t("div",Hs,[t("span",Bs,u(h(C).Badge),1),b.value?(o(),n("div",Fs,[(o(!0),n(y,null,$(l,(v,s)=>(o(),n("div",{key:v,class:"col-mb-4 col-xl-4 col-xxl-4 col-12 mb-5"},[t("div",zs,[t("div",{class:j(["jn-plan-title",{"bg-primary":s%3===0,"bg-success":s%3===1,"bg-purple":s%3===2}])},[t("h5",Us,u(v.attributes.Title),1),t("h6",Ns,u(v.attributes.Subtitle),1)],2),t("div",qs,[t("div",Ws,[t("ul",Js,[(o(!0),n(y,null,$(v.attributes.Includes,f=>(o(),n("li",Gs,[Ks,I(" "+u(f),1)]))),256)),(o(!0),n(y,null,$(v.attributes.Excludes,f=>(o(),n("li",Ys,[Xs,I(" "+u(f),1)]))),256))])]),t("div",Zs,[t("button",{class:j(["btn",{"btn-primary":s%3===0,"btn-success":s%3===1,"btn-purple":s%3===2}]),onClick:i},u(v.attributes.Price),3)])])])]))),128))])):P("",!0)]),t("div",Qs,[t("div",{id:"toastInfoMask",class:"toast",role:"alert",ref_key:"toastEl",ref:r,"aria-live":"assertive","aria-atomic":"true"},[t("div",to,[t("strong",{class:j(["me-auto",m.value.alertStyle])},u(m.value.alertTitle),3),eo]),t("div",so,u(m.value.alertMessage),1)],512)])],64))}},no=T(oo,[["__scopeId","data-v-e78d00c9"]]),L={Title:"阿禅",Subtitle:"就是这样一个做产品的人。",ContactTitle:"怎么联系?",ContactSubtitle:"你可以通过多种联系方式找到他。基本上每个社交网络都有他的身影,但作为 30 多岁的中老年人,他有时候会假装收不到你的信息然后不回复。所以,务必不要发一个类似「在吗」这样的信息,直接说你要什么就好了。",Social:[{name:"GitHub",icon:"github",url:"https://github.com/jason5ng32"},{name:"Twitter",icon:"twitter",url:"https://twitter.com/jason5ng32"},{name:"LinkedIn",icon:"linkedin",url:"https://www.linkedin.com/in/jason5ng32"},{name:"Email",icon:"envelope",url:"mailto:fromhomepage@kenengba.com"},{name:"Instagram",icon:"instagram",url:"https://www.instagram.com/jason5ng32"},{name:"博客",icon:"rss",url:"https://kenengba.com"},{name:"Wikipedia",icon:"wikipedia",url:"https://zh.wikipedia.org/wiki/%E4%BC%8D%E5%98%89%E8%B4%A4"}]},io={class:"jn-footer mt-5 position-relative",id:"Footer"},ao={class:"row p-5 w-100"},ro={class:"col-md-6 col-lg-6 col-12"},lo={class:"opacity-75"},co={class:"col-md-6 col-lg-6 col-12"},_o={class:"opacity-75"},uo={class:"flex"},mo=["href","title"],po={class:"jn-footer-placeholder"},bo={__name:"Footer",setup(c){const b=S(),m=A(()=>b.isMobile),r=new Date().getFullYear();return(i,e)=>(o(),n("div",io,[t("div",ao,[t("div",ro,[t("h1",null,u(h(L).Title),1),t("p",lo,u(h(L).Subtitle),1)]),t("div",co,[t("h3",null,u(h(L).ContactTitle),1),t("p",_o,u(h(L).ContactSubtitle),1),t("div",uo,[(o(!0),n(y,null,$(h(L).Social,(l,g)=>(o(),n("a",{key:g,class:j([m.value?"jn-footer-social-mobile me-3":"jn-footer-social-desktop me-4"]),href:l.url,title:l.name,target:"_blank"},[t("i",{class:j(["bi","bi-"+l.icon])},null,2)],10,mo))),128))])])]),t("div",po,u(h(L).Title)+" © "+u(h(r)),1)]))}},go=T(bo,[["__scopeId","data-v-f4b73c5b"]]),vo={id:"main-part",class:"container mt-2 px-0"},ho={"data-bs-spy":"scroll","data-bs-target":"#navbar-top","data-bs-root-margin":"0px 0px -40%","data-bs-smooth-scroll":"true",class:"rounded-2",tabindex:"0"},fo={__name:"App",setup(c){const b=S(),m=A(()=>b.isMobile),r=(e,l=200,g,_=!1)=>{Q().reveal(e,{delay:l,duration:1e3,origin:g,distance:"100px",reset:_})};return(()=>{let e=document.getElementById("jn-loading");e&&(e.style.display="none")})(),E(()=>{r(".jn-introduce-bg",200,"bottom",!1),r(".jn-introduce-title",600,"top",!1),r(".jn-introduce-subtitle",600,"left",!1),r(".jn-introduce-doc",1600,"bottom",!1),setTimeout(()=>{r(".conversation-right",200,"right",!1),r(".conversation-left",200,"left",!1),r(".jn-animate-card",200,"bottom",!1)},1e3)}),(e,l)=>(o(),n(y,null,[O(ht),t("div",vo,[t("div",ho,[O(Pt),t("div",{class:j([m.value?"jn-items-full-width":"jn-items"])},[O(se),O(ve),O(Ae),O(ws),O(Cs),O(no)],2)]),O(go)])],64))}},yo=T(fo,[["__scopeId","data-v-09be0a06"]]),q=tt(yo),W=et();q.use(W);const jo=S(W),wo=st({app:"MyIP",plugins:[ot({measurementIds:["G-Z5G5JGDFMK"]})]});wo.page();function J(){jo.setIsMobile(window.innerWidth<768)}J();window.addEventListener("resize",J);q.mount("#app"); diff --git a/index.html b/index.html index 35af5d9..2c48b7f 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@ } } - +