Added social page and fixed garden page layout. ALSO added text next to

navbar.
This commit is contained in:
sarah committed 2026-09-04 18:59:16 +02:00
1 parent 2ea195475e
commit b3902d4f69
9 files changed
+317 -159

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
async function StartSocial() {
let CurrentUsername = null;
try {
const Profile = await GetProfile();
if (
Profile.Success &&
Profile.Username !== null
) {
CurrentUsername =
Profile.Username;
}
} catch (Error) {
console.error(
"Couldn't load current profile:",
Error
);
}
await RenderLeaderboard(
CurrentUsername
);
}
document.addEventListener(
"DOMContentLoaded",
StartSocial
);