2 lines
1.3 KiB
JavaScript
2 lines
1.3 KiB
JavaScript
import{b as p,i as n,c as l,L as c,t as r,r as u,F as $,a as _}from"./layout-69a2eb57.js";const f=r(`<h3 class="text-center w-fit mx-auto before:content-['↗']">`),g=r('<div><div class="relative p-5">'),k=({children:e,className:t,title:m,to:h,newTab:d=!1})=>(()=>{const s=g(),i=s.firstChild;return p(s,`relative bg-gradient-to-r from-cyan-600 to-cyan-500 h-32 w-72 rounded-2xl ${t}`),n(i,l(c,{className:"text-white",to:h,newTab:d,get children(){const a=f();return n(a,m),a}}),null),n(i,e,null),s})(),v=r("<p>Sjekk ut mine API-er"),x=r("<ul><li>"),y=r("<p>Sjekk ut mine andre prosjekter"),w=r("<p>Implementering av API"),b=r('<div class="flex flex-wrap justify-center mt-10">'),o="https://api.martials.no",j=[{title:"API-er",children:[v(),(()=>{const e=x(),t=e.firstChild;return n(t,l(c,{className:"text-white",to:`${o}/simplify-truths`,children:"Forenkle sannhetsverdier"})),e})()],to:o},{title:"Hjemmeside",children:y(),to:"https://h600878.github.io/"},{title:"Forenkle sannhetsverdier",children:w(),to:"/simplify-truths.html"}],I=()=>l(_,{title:"Velkommen!",get children(){const e=b();return n(e,l($,{each:j,children:t=>l(k,{get title(){return t.title},className:"m-4",get to(){return t.to},get children(){return t.children}})})),e}});u(()=>l(I,{}),document.getElementById("root"));
|