From 7473b63a69b295a13decc92d7deaacec2c56899c Mon Sep 17 00:00:00 2001
From: STICKnoLOGIC <65322242+STICKnoLOGIC@users.noreply.github.com>
Date: Wed, 2 Apr 2025 16:03:31 +0800
Subject: [PATCH 1/3] Make sure that the resources and social will not exceed
to their limit
---
assets/snl-script.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/assets/snl-script.js b/assets/snl-script.js
index 9173dcb..ec4801a 100644
--- a/assets/snl-script.js
+++ b/assets/snl-script.js
@@ -211,7 +211,11 @@ function showDial(data){
userName.innerHTML=data.owner.name;
userSM.innerHTML='';
if('social' in data){
+ let count=0;
for(s in data.social){
+ count++;
+ if (count>5) //utmost 5 social links to display
+ break;
userSM.innerHTML+= ``;
}
}
@@ -222,7 +226,11 @@ function showDial(data){
if ("my_top_resources" in data){
userResourceContainer.classList.remove('hidden');
userResource.innerHTML='';
+ let count=0;
for(res in data.my_top_resources){
+ count++;
+ if(count>3) //utmost 3 resource to display
+ break;
userResource.innerHTML+=`
${sanitize(res)}`;
}
}else{
From 0587cae39daab2914e3b7bde8b173040efbac024 Mon Sep 17 00:00:00 2001
From: STICKnoLOGIC <65322242+STICKnoLOGIC@users.noreply.github.com>
Date: Wed, 2 Apr 2025 16:05:01 +0800
Subject: [PATCH 2/3] Update index.html
---
docs/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/index.html b/docs/index.html
index a0470f4..1377312 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -57,7 +57,7 @@
window.$docsify = {
homepage: 'readme.md',
name: 'Docs - First Accord',
- repo: 'https://github.com/STICKnoLOGIC/First-Accord',
+ repo: 'https://github.com/STICKnoLOGIC/First-Accord-Docs',
loadSidebar:true,
subMaxLevel: 3,
alias: {
From ced1d0d7b9025ddfead9356f796067c5bf065dc1 Mon Sep 17 00:00:00 2001
From: STICKnoLOGIC <65322242+STICKnoLOGIC@users.noreply.github.com>
Date: Wed, 2 Apr 2025 16:06:20 +0800
Subject: [PATCH 3/3] Update sticknologic.json
---
contributors/sticknologic.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/contributors/sticknologic.json b/contributors/sticknologic.json
index 78ddea0..814674d 100644
--- a/contributors/sticknologic.json
+++ b/contributors/sticknologic.json
@@ -17,6 +17,5 @@
},
"description":"A Web/App Developer | Pixel Artist | A simple stick that want to be a champ",
"use_github_avatar":true,
- "custom_avatar_url":"",
"display_float_text":"STICKnoLOGIC"
}