Files
notxia.github.io/_nuxt/aLC51L97.js
T
2026-05-25 19:33:56 +00:00

2 lines
1.7 KiB
JavaScript

import{a as g}from"./DOcrFhLB.js";import{k as _,p as h,q as d,g as p,d as e,v as o,f,s as l,r as x,b as v,y as w,x as k,j as i,E as $,F as L}from"./Y9k_4dHZ.js";import{_ as R}from"./B6McaJ0R.js";const b=""+new URL("penguin.5LDqNDgQ.png",import.meta.url).href,y=""+new URL("llama.ByH6F09n.png",import.meta.url).href,C=""+new URL("rock.DHcr55eL.png",import.meta.url).href,B=""+new URL("coconut.IYkd_pOJ.png",import.meta.url).href,N=""+new URL("red-panda.Bf2KiHt1.png",import.meta.url).href,U={key:0,class:"w-52"},D=["src"],E={class:"text-center text-sm mt-2 select-none"},F=_({__name:"RandomSomething",setup(u){const s=[{name:"penguin",image:b},{name:"llama",image:y},{name:"rock",image:C},{name:"coconut",image:B},{name:"red panda",image:N}],t=l(""),m=l("");function a(){const n=x(s.filter(r=>r.name!==t.value));t.value=n.name,m.value=n.image}function c(){v("change-something"),a()}return h(()=>{a()}),(n,r)=>t.value!==""?(d(),p("div",U,[e("img",{src:m.value,alt:"",class:"h-40 max-w-xs max-w- mx-auto animate-float",onClick:c},null,8,D),e("p",E,o(n.$t(t.value)),1)])):f("",!0)}}),H={class:"relative z-10"},S={class:"block md:flex justify-center items-center"},V={class:"text-center md:text-left"},j={class:"text-2xl md:text-3xl font-semibold uppercase"},q={class:"text-2xl md:text-3xl font-semibold uppercase"},I={class:"text-xl lowercase"},O={class:"w-fit mx-auto mt-5 md:m-0 md:ml-10"},J=_({__name:"index",setup(u){const{t:s}=w();return k({title:s("title_home")}),(t,m)=>{const a=g,c=F,n=R;return d(),p(L,null,[e("div",H,[i(a)]),i(n,null,{default:$(()=>[e("main",null,[e("div",S,[e("div",V,[e("p",j,o(t.$t("i do things")),1),e("p",q,o(t.$t("with backpropagation")),1),e("p",I,o(t.$t("that work most of the times")),1)]),e("div",O,[i(c)])])])]),_:1})],64)}}});export{J as default};