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
3.2 KiB
1 lines
3.2 KiB
import{E as _}from"./DC4XoMQp.js";import{E as y}from"./Bjtl-9Gw.js";import{v as g,d as h,m as k}from"./BPRC2v3K.js";import{u as v,a as w,b}from"./Ch8OMI22.js";import{o as r}from"./PFP8Cci7.js";import{f as E,c as p,a,t as u,g as l,b as V,w as n,A as x,o,z as m,d,u as s}from"./Ca9y1zsW.js";import"./DaX0k22-.js";import"./YeUNH851.js";import"./B3sO6I2n.js";import"./Immh241S.js";import"./sr4qPEz_.js";import"./BR6Cm0N-.js";const C={class:"banner m-auto relative sm:flex"},U=x('<svg viewBox="0 0 1440 181" fill="none" xmlns="http://www.w3.org/2000/svg" class="pointer-events-none absolute w-full top-[-2px] transition-all text-green-5 flex-shrink-0 opacity-100 duration-[400ms] opacity-80 -z-10"><mask id="path-1-inside-1_414_5526" fill="white"><path d="M0 0H1440V181H0V0Z"></path></mask><path d="M0 0H1440V181H0V0Z" fill="url(#paint0_linear_414_5526)" fill-opacity="0.22"></path><path d="M0 2H1440V-2H0V2Z" fill="url(#paint1_linear_414_5526)" mask="url(#path-1-inside-1_414_5526)"></path><defs><linearGradient id="paint0_linear_414_5526" x1="720" y1="0" x2="720" y2="181" gradientUnits="userSpaceOnUse"><stop stop-color="currentColor"></stop><stop offset="1" stop-color="currentColor" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_414_5526" x1="0" y1="90.5" x2="1440" y2="90.5" gradientUnits="userSpaceOnUse"><stop stop-color="currentColor" stop-opacity="0"></stop><stop offset="0.395" stop-color="currentColor"></stop><stop offset="1" stop-color="currentColor" stop-opacity="0"></stop></linearGradient></defs></svg>',1),B={class:"md:w-screen-xl m-auto"},S={class:"py-8 sm:py-16",_path:"/templates",_dir:"",_draft:"false",_partial:"false",_locale:"",_id:"content:4.templates.yml",_type:"yaml",_source:"content",_file:"4.templates.yml",_stem:"4.templates",_extension:"yml"},I={key:0,class:"gap-8 sm:gap-y-16 grid lg:grid-cols-2 lg:items-center"},H={class:""},z={class:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl lg:text-5xl"},M=a("span",null,"WEBSOFT",-1),N={key:0},G={class:"mt-4 text-lg text-gray-500 dark:text-gray-400"},P=E({__name:"Banner",props:{layout:{},title:{default:"Templates"},desc:{default:"Explore community templates to get up and running in a few seconds."},buyUrl:{default:"https://github.com/websoft9/ansible-templates"}},setup(T){return v(),w(),b(),(t,e)=>{const i=_,f=y;return o(),p("div",C,[U,a("div",B,[a("div",S,[t.layout?(o(),p("div",I,[a("div",H,[a("h1",z,[M,t.layout.name?(o(),p("span",N,u(t.layout.name),1)):l("",!0)]),a("div",G,u(t.layout.description),1),V(f,{class:"mt-4"},{default:n(()=>[t.layout.demoUrl?(o(),m(i,{key:0,icon:"ElIconView"in t?t.ElIconView:s(g),size:"large",onClick:e[0]||(e[0]=c=>s(r)(t.layout.demoUrl))},{default:n(()=>[d(" 演示地址 ")]),_:1},8,["icon"])):l("",!0),t.layout.buyUrl?(o(),m(i,{key:1,icon:"ElIconBottom"in t?t.ElIconBottom:s(h),size:"large",onClick:e[1]||(e[1]=c=>s(r)(t.layout.buyUrl))},{default:n(()=>[d(" 下载模版 ")]),_:1},8,["icon"])):l("",!0),t.layout.docUrl?(o(),m(i,{key:2,icon:"ElIconMemo"in t?t.ElIconMemo:s(k),size:"large",onClick:e[2]||(e[2]=c=>s(r)(t.layout.docUrl))},{default:n(()=>[d(" 帮助文档 ")]),_:1},8,["icon"])):l("",!0)]),_:1})])])):l("",!0)])])])}}});export{P as default};
|