generated from Fascinated/nextjs-13-template-with-tailwindcss
change status colors to match discord
All checks were successful
Publish Docker Image / docker (push) Successful in 1m36s
All checks were successful
Publish Docker Image / docker (push) Successful in 1m36s
This commit is contained in:
parent
4e60aea93a
commit
afb1e66271
@ -39,10 +39,10 @@ function LanyardComponent(props: { discord: any }) {
|
||||
const hasLanyard = lanyardData !== undefined;
|
||||
|
||||
const statusColor = {
|
||||
online: "bg-green-400",
|
||||
offline: "bg-slate-400",
|
||||
dnd: "bg-red-500",
|
||||
idle: "bg-orange-400",
|
||||
online: "bg-[#43B581]",
|
||||
offline: "bg-[#747F8D]",
|
||||
dnd: "bg-[#F04747]",
|
||||
idle: "bg-[#FAA61A]",
|
||||
};
|
||||
const currentStatus =
|
||||
lanyardData !== undefined
|
||||
|
Loading…
x
Reference in New Issue
Block a user