forked from seth/ipv4.army
Fix linting
This commit is contained in:
parent
a8d8f7014a
commit
e6b8175662
5 changed files with 24 additions and 19 deletions
|
@ -24,4 +24,4 @@ export default () => {
|
|||
</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
@ -37,13 +37,18 @@ export default () => {
|
|||
container.current.textContent = JSON.stringify(
|
||||
{
|
||||
status: lanyard.discord_status,
|
||||
activities: [... new Set(lanyard.activities.map((act) => {
|
||||
const type = activityTypes[act.type];
|
||||
const parts = [`${type} ${act.name}`];
|
||||
if (act.details && act.details !== act.name) parts.push(act.details);
|
||||
if (act.state && act.state !== act.name) parts.push(act.state);
|
||||
return parts;
|
||||
}))],
|
||||
activities: [
|
||||
...new Set(
|
||||
lanyard.activities.map((act) => {
|
||||
const type = activityTypes[act.type];
|
||||
const parts = [`${type} ${act.name}`];
|
||||
if (act.details && act.details !== act.name)
|
||||
parts.push(act.details);
|
||||
if (act.state && act.state !== act.name) parts.push(act.state);
|
||||
return parts;
|
||||
}),
|
||||
),
|
||||
],
|
||||
},
|
||||
null,
|
||||
2,
|
||||
|
|
|
@ -14,9 +14,11 @@ body {
|
|||
body {
|
||||
color: #dedede;
|
||||
text-shadow: 0 0 5px #c8c8c8;
|
||||
background: radial-gradient(at bottom right,
|
||||
var(--gradient-color, rgba(150, 150, 150, 0.1)) 0%,
|
||||
rgba(0, 0, 0, 1) 100%);
|
||||
background: radial-gradient(
|
||||
at bottom right,
|
||||
var(--gradient-color, rgba(150, 150, 150, 0.1)) 0%,
|
||||
rgba(0, 0, 0, 1) 100%
|
||||
);
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
|
@ -39,4 +41,4 @@ p {
|
|||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
gap: 0.4em;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue