import{E as u}from"./NU7oMSf5.js";import{e as d,f as m,g as f,h as _,c as g,o as h,a as t,i as o,j as r,b as k,t as b,w as v,d as w,k as x}from"./U452nBqE.js";import{_ as U}from"./DlAUqK2U.js";const B={class:"home-container"},R=["src"],C={class:"container-info"},D={class:"info-title"},E=d({__name:"index",setup(L){const n=m(),a=r(()=>n.value?new URL(""+new URL("bg_dark.rigZrE2t.jpg",import.meta.url).href,import.meta.url).href:new URL(""+new URL("bg.DpXp6QBk.jpg",import.meta.url).href,import.meta.url).href),i=f(),c=r(()=>i.config),s=_(),p=()=>{x().token?s.push("/user"):s.push("/login")};return(S,e)=>{const l=u;return h(),g("div",B,[t("img",{class:"container-bg",src:o(a)},null,8,R),t("div",C,[t("div",D,b(o(c).web_title),1),e[1]||(e[1]=t("div",{class:"info-desc"},'"代码是写给人看的，只是恰好能被机器执行。"',-1)),e[2]||(e[2]=t("div",{class:"info-auth"},"— 罗伯特·C·马丁",-1)),k(l,{class:"info-btn",type:"primary",size:"large",onClick:p},{default:v(()=>[...e[0]||(e[0]=[w("会员中心",-1)])]),_:1})])])}}}),V=U(E,[["__scopeId","data-v-de160236"]]);export{V as default};
