const cards = [ { image: "/public/images/vaultwarden.png", name: "Vaultwarden", description: "Unofficial Bitwarden compatible server.", about: "https://github.com/dani-garcia/vaultwarden", url: "https://vault.wah.su", }, { image: "/public/images/nextcloud.png", name: "Nextcloud", description: "productivity suite, offering file sharing and collaboration tools.", about: "https://nextcloud.com/", url: "https://cloud.wah.su", }, { image: "/public/images/immich.png", name: "Immich", description: "platform for managing and browsing your photos.", about: "https://immich.app", url: "https://photos.wah.su", }, { image: "/public/images/zipline.png", name: "Zipline", description: "image uploading with ShareX compatibility.", about: "https://zipline.diced.sh/", url: "https://x.wah.su", }, ]; const services = document.getElementById("services"); window.onload = function () { for (let index = 0; index < cards.length; index++) { const template = `
${cards[index].name}

${cards[index].description}

Read more open
`; const element = document.createElement("div"); element.className = "max-w-[298px] bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700"; element.innerHTML = template; services.appendChild(element); } };