From 350869d6cd4fb8a6dd7162ae2c303a0d2066bab5 Mon Sep 17 00:00:00 2001 From: SimplyVoid Date: Fri, 17 Nov 2023 18:31:12 +0600 Subject: [PATCH] updated etc --- index.html | 2 +- index.js | 12 ++++++------ style.css | 10 ---------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 0254016..64795d9 100644 --- a/index.html +++ b/index.html @@ -61,7 +61,7 @@

Wahid Islam

- + diff --git a/index.js b/index.js index f96a05d..95e3c6f 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ let theme= localStorage.getItem("darkTheme"); const enableDarkMode = () => { document.querySelector("body").classList.remove("light"); document.querySelector("body").classList.add("dark"); - + icon = document.getElementById("btn-icon"); icon.removeAttribute("data-icon"); icon.setAttribute("data-icon","bx:sun"); @@ -45,8 +45,8 @@ const changetheme = () => { //make repos load automatically var projects = document.querySelector('.projects') -const repos = 'https://api.github.com/users/SimplyVoid/repos?sort=updated'; -const api = 'https://api.github.com/users/SimplyVoid'; +const repos = 'https://api.github.com/users/PsyNyde/repos?sort=updated'; +const api = 'https://api.github.com/users/PsyNyde'; fetch(api) .then(res => res.json()) @@ -60,9 +60,9 @@ fetch(repos) i = 0; num = 6; while (i < num) { - + repo=data[i] - + projects.innerHTML += `
@@ -79,7 +79,7 @@ fetch(repos)
`; i++; - + } }) diff --git a/style.css b/style.css index afd84d3..0d3c31b 100644 --- a/style.css +++ b/style.css @@ -24,16 +24,6 @@ body.light .socials,body.light h2,body.light h3,body.light h4 { color: var(--bg-primary); } -* { - cursor: default; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none -} - a { text-decoration: none; color: inherit