diff --git a/img/dnsmasq-icon.jpeg b/img/dnsmasq-icon.jpeg new file mode 100644 index 0000000..fd115f0 Binary files /dev/null and b/img/dnsmasq-icon.jpeg differ diff --git a/img/portainer-icon.webp b/img/portainer-icon.webp new file mode 100644 index 0000000..5892aaf Binary files /dev/null and b/img/portainer-icon.webp differ diff --git a/index.html b/index.html index 18d8afb..b9f6519 100644 --- a/index.html +++ b/index.html @@ -15,31 +15,12 @@

Dashboard

-

Tola

-
@@ -53,47 +34,9 @@ />
🔍
-

- Net -

-
-
- - telegram-icon - -
-
- - github-icon - -
-
-

- Home -

-
-
- - gitea-icon - -
-
- - jellyfin-icon - -
-
- - immich-icon - -
-
- - gitea-icon - -
-
- +
+ + diff --git a/js/icons.js b/js/icons.js new file mode 100644 index 0000000..6bad247 --- /dev/null +++ b/js/icons.js @@ -0,0 +1,68 @@ +const iconsArea = document.querySelector(".icons"); + +const icons = [ + { + key: 0, + href: "https://web.telegram.org/k/", + img: "img/telegram-icon.jpeg", + alt: "telegram-icon", + text: "Telegram", + }, + { + key: 1, + href: "https://github.com", + img: "img/github-icon.png", + alt: "github-icon", + text: "github.com", + }, + { + key: 0, + href: "https://gitea.home.com:3000", + img: "img/gitea-icon.png", + alt: "gitea-icon", + text: "gitea.home.com", + }, + { + key: 1, + href: "http://jellyfin.home.com:8096", + img: "img/jellyfin.png", + alt: "jellyfin-icon", + text: "jellyfin.home.com", + }, + { + key: 2, + href: "http://immich.home.com:2283", + img: "img/immich-icon.png", + alt: "immich-icon", + text: "immich.home.com", + }, + { + key: 3, + href: "http://navidrome.home.com:4533", + img: "img/navidrome-icon.png", + alt: "navidrome-icon", + text: "navidrome.home.com", + }, + { + key: 4, + href: "https://portainer.home.com:9443", + img: "img/portainer-icon.webp", + alt: "portainer-icon", + text: "portainer.home.com", + }, + { + key: 5, + href: "https://dns.home.com", + img: "img/dnsmasq-icon.jpeg", + alt: "dnsmasq-icon", + text: "dns.home.com", + }, +]; + +icons.map((icon) => { + iconsArea.innerHTML += `
+ + ${icon.alt} + +
`; +}); diff --git a/js/mails.js b/js/mails.js new file mode 100644 index 0000000..214469c --- /dev/null +++ b/js/mails.js @@ -0,0 +1,21 @@ +const mailsArea = document.querySelector("#mails"); + +const mails = [ + { + key: 0, + href: "mailto:tolamironcenko@icloud.com", + text: "tolamironcenko@icloud.com", + }, + { + key: 1, + href: "mailto:tolamironcenko@gmail.com", + text: "tolamironcenko@gmail.com", + }, + { key: 2, href: "tel:+79528926401", text: "+79528926401" }, + { key: 3, href: "tel:+79131019225", text: "+79131019225" }, + { key: 4, href: "tel:+79993228086", text: "+79993228086" }, +]; + +mails.map((mail) => { + mailsArea.innerHTML += `${mail.text}`; +});