forked from creations/profilePage
add badges and fix clan tags, and readme issue
This commit is contained in:
parent
7816210a2c
commit
bf66b301ae
9 changed files with 129 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
import { getImageColors } from "@/helpers/colors";
|
||||
import { lanyardConfig } from "@config/environment";
|
||||
import { badgeApi, lanyardConfig } from "@config/environment";
|
||||
import { renderEjsTemplate } from "@helpers/ejs";
|
||||
import { getLanyardData, handleReadMe } from "@helpers/lanyard";
|
||||
|
||||
|
@ -63,6 +63,7 @@ async function handler(): Promise<Response> {
|
|||
allowSnow: presence.kv.snow === "true",
|
||||
allowRain: presence.kv.rain === "true",
|
||||
colors: colors?.colors ?? {},
|
||||
badgeApi: badgeApi,
|
||||
};
|
||||
|
||||
return await renderEjsTemplate("index", ejsTemplateData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue