Skip to content

Commit

Permalink
updated etc
Browse files Browse the repository at this point in the history
  • Loading branch information
psynyde committed Nov 17, 2023
1 parent c60e5e9 commit 350869d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2>Wahid Islam</h2>
<a href=https://t.me/wahidislam target=_blank>
<span class=iconify data-icon=line-md:telegram></span>
</a>
<a href=https://github.com/SimplyVoid target=_blank>
<a href=https://github.com/PsyNyde target=_blank>
<span class=iconify data-icon=line-md:github-loop></span>
</a>
<a href=https://reddit.com/u/wahidislamlinad target=_blank>
Expand Down
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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())
Expand All @@ -60,9 +60,9 @@ fetch(repos)
i = 0;
num = 6;
while (i < num) {

repo=data[i]

projects.innerHTML += `
<div class=project-holder>
<a href="${repo.html_url}" target=_blank>
Expand All @@ -79,7 +79,7 @@ fetch(repos)
</div>
`;
i++;

}
})

Expand Down
10 changes: 0 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 350869d

Please sign in to comment.