From fa2f012261de9747064c76e70b582b3adf370bfd Mon Sep 17 00:00:00 2001 From: satr14 <90962949+SX-9@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:59:39 +0700 Subject: [PATCH] dynamic socials --- src/lib/index.ts | 12 +++++++----- src/routes/+page.svelte | 10 ++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/index.ts b/src/lib/index.ts index 64d79fa..5c6e3c0 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -203,9 +203,11 @@ export default { url: "https://hackclub.com/", }, }, - discord: "882595027132493864", - github: "SX-9", - reddit: "Frequent_Outside_741", - steam: "satr14", - blog: "https://blog.satr14.my.id/", + socials: { + dc: "https://discord.com/users/882595027132493864", + gh: "https://github.com/SX-9", + rdt: "https://reddit.com/u/Frequent_Outside_741", + stm: "https://steamcommunity.com/id/satr14", + blog: "https://blog.satr14.my.id/", + }, } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 243c39c..e1b7748 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -36,7 +36,7 @@ }}>
{randomStr(charAmount)}
- {randomStr(Math.round(charAmount-data.name.length/2))}{data.name.toUpperCase()}{randomStr(Math.round(charAmount-data.name.length/2))} + {randomStr(Math.round(charAmount-data.name.length/2))}{data.name.toUpperCase()}{randomStr(Math.round(charAmount-data.name.length/2))} {randomStr(charAmount)}
@@ -66,11 +66,9 @@