summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-04 22:32:34 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-04 22:32:34 +0800
commit914c855691637764ea58723c9246d5daf5e3e329 (patch)
tree974896821103e5da6b05fe68ae8693ce8bf74ea1 /src/js
parent36e9fbac37f8492783fd88a5afdf698355679d1c (diff)
new image
Diffstat (limited to 'src/js')
-rw-r--r--src/js/getrepo.js6
-rw-r--r--src/js/tilt.conf.js4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/js/getrepo.js b/src/js/getrepo.js
index 4c92b9c3..36c11df6 100644
--- a/src/js/getrepo.js
+++ b/src/js/getrepo.js
@@ -28,10 +28,12 @@ const displayProfile = (profile) => {
const userInfo = document.querySelector('.user-info');
userInfo.innerHTML = `
<figure>
- <img alt="user avatar" src=${profile.avatar_url} />
+ <a href=${profile.html_url}><img alt="user avatar" src=${profile.avatar_url} /></a>
</figure>
<div>
- <h2><a href=${profile.blog}><strong>${profile.name}</strong></a></h2>
+ <!-- <h2><a href=${profile.blog}><strong>${profile.name}</strong></a></h2> -->
+ <h2><a href=/><strong>${profile.name}</strong></a></h2>
+ <!-- <h2><a href=${profile.html_url}><strong>${profile.name}</strong></a></h2> -->
<p>${profile.bio}</p>
<p>
<strong>Mail:</strong> ${profile.email}
diff --git a/src/js/tilt.conf.js b/src/js/tilt.conf.js
index d0ef14ad..e98c8d70 100644
--- a/src/js/tilt.conf.js
+++ b/src/js/tilt.conf.js
@@ -1,5 +1,5 @@
VanillaTilt.init(document.querySelectorAll(".tilt"),{
glare: true,
- reverse: true,
- "max-glare": 0.5,
+ // reverse: true,
+ "max-glare": 0.1,
})