forked from creations/profilePage
add starts kv and background, fix some css
This commit is contained in:
parent
8b7bedbf0b
commit
83babb8c5c
5 changed files with 137 additions and 31 deletions
|
@ -58,12 +58,15 @@ async function handler(): Promise<Response> {
|
|||
mobile: presence.active_on_discord_mobile,
|
||||
web: presence.active_on_discord_web,
|
||||
},
|
||||
instance,
|
||||
readme,
|
||||
allowSnow: presence.kv.snow === "true",
|
||||
allowRain: presence.kv.rain === "true",
|
||||
colors: colors?.colors ?? {},
|
||||
instance: instance,
|
||||
readme: readme,
|
||||
badgeApi: badgeApi,
|
||||
colors: colors?.colors ?? {},
|
||||
extraOptions: {
|
||||
snow: presence.kv.snow === "true",
|
||||
rain: presence.kv.rain === "true",
|
||||
stars: presence.kv.stars === "true",
|
||||
}
|
||||
};
|
||||
|
||||
return await renderEjsTemplate("index", ejsTemplateData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue