Files
notxia.github.io/_nuxt/BZ-HE7Gf.js
2025-11-05 01:41:11 +00:00

2 lines
5.0 KiB
JavaScript

import{i as x,_ as w}from"./kM8XIMWB.js";import{_ as k,c as l,o as d,a as e,d as f,r as v,b as h,e as p,w as S,u as m,v as $,f as D,g as q,h as B,i as C,j as u,k as M,t as g,l as o,F as N}from"./CNJHhhee.js";import{_ as j}from"./WEkPqCw0.js";const E=""+new URL("me.B1cteK45.jpg",import.meta.url).href,I={},T={class:"relative"};function F(_,i){return d(),l("div",T,[...i[0]||(i[0]=[e("div",{class:"flex items-center h-80 w-80"},[e("img",{src:E,alt:"Me with an Eevee hat holding an umbrella",class:"max-h-full max-w-full rounded-md"})],-1)])])}const P=k(I,[["render",F]]),V={class:"h-full w-fit"},z={key:0,class:"flex h-full w-full items-center justify-center"},L={id:"gr_grid_widget_1673812364",class:"h-full"},R=f({__name:"Goodreads",setup(_){const i=v(!0);return h(()=>{var r;document.querySelector("#script-goodreads")&&((r=document.querySelector("#script-goodreads"))==null||r.remove());let a=document.createElement("script");a.src="https://www.goodreads.com/review/grid_widget/158866642?cover_size=medium&hide_link=true&hide_title=true&num_books=20&order=d&shelf=currently-reading&sort=date_updated&widget_id=1673812364",a.id="script-goodreads",a.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(a);let s=new MutationObserver(function(t){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(n=>n.src=n.src.replace("_SX98_","_SY475_")),s.disconnect(),i.value=!1});s.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(a,s)=>(d(),l("div",V,[m(i)?(d(),l("div",z,[...s[0]||(s[0]=[e("span",{class:"animate-ping absolute inline-flex h-5 w-5 rounded-full bg-slate-800 dark:bg-slate-200 opacity-75"},null,-1)])])):p("",!0),S(e("div",L,null,512),[[$,!m(i)]])]))}}),U={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},X={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},Y={class:"text-5xl font-bold mb-5"},A={key:0},G={key:1},O={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},H={class:"mt-5"},K={class:"text-center text-xl"},J={class:"flex justify-center h-48"},ee=f({__name:"about",setup(_){const{t:i,locale:a}=D(),s=v(a.value);return q({title:i("title_about")}),B(()=>{const r=new Date,t=new Date(2001,8,29),n=r.getMonth()-t.getMonth();let c=r.getFullYear()-t.getFullYear();return(n<0||n===0&&r.getDate()<t.getDate())&&c--,c}),h(()=>{x()}),C(a,()=>{s.value=a.value}),(r,t)=>{const n=w,c=P,b=R,y=j;return d(),l(N,null,[u(n),u(y,null,{default:M(()=>[e("main",null,[e("div",U,[e("div",X,[e("h1",Y,g(r.$t("about me")),1),m(s)==="it"?(d(),l("div",A,[...t[0]||(t[0]=[e("p",null,[o(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),o(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),o(" (cognome) o Riccardo. Studio artificial intelligence all'Università di Bologna e al momento i miei interessi sono orientati verso l'ambito NLP. ")],-1),e("p",null,[o(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),o(", giocare a giochi strategici e spendere decisamente troppo tempo sul mio home server. ")],-1),e("p",null," Dovrei probabilmente scrivere qualcos'altro, ma sono terribile a scrivere biografie, quindi tieni una ciambella 🍩. ",-1)])])):p("",!0),m(s)==="en"?(d(),l("div",G,[...t[1]||(t[1]=[e("p",null,[o(" My name is "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),o(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),o(" (surname) or Riccardo. I am an artificial intelligence student at the University of Bologna and currently my interests are focused on natural language processing. ")],-1),e("p",null,[o(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),o(", playing strategic games and spending way too much time on my home server. ")],-1),e("p",null," I should probably write some more about me, but I'm terrible at writing biographies, so here's a donut 🍩. ",-1)])])):p("",!0)]),e("div",O,[u(c)])]),e("div",H,[e("p",K,g(r.$t("reading")),1),e("div",J,[u(b)])])])]),_:1}),t[2]||(t[2]=e("div",{"data-popover":"",id:"popover-name",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 天成 ")],-1)),t[3]||(t[3]=e("div",{"data-popover":"",id:"popover-surname",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 夏 ")],-1))],64)}}});export{ee as default};