move sensitive tags to non-working hours
This commit is contained in:
parent
fed97a269b
commit
67cab57425
1 changed files with 32 additions and 26 deletions
|
@ -14,20 +14,12 @@ window.addEventListener("load", () => {
|
||||||
`;
|
`;
|
||||||
const mono = "font-family: monospace";
|
const mono = "font-family: monospace";
|
||||||
|
|
||||||
const tags = [
|
let tags = [
|
||||||
new Tag("Comment fonctionne un PC 😵💫"),
|
new Tag("Comment fonctionne un PC 😵💫"),
|
||||||
new Tag("undefined", mono),
|
new Tag("undefined", mono),
|
||||||
new Tag("/api/v1/love", mono),
|
new Tag("/api/v1/love", mono),
|
||||||
new Tag("/api/v1/websites", mono),
|
new Tag("/api/v1/websites", mono),
|
||||||
new Tag("Peak D2 sur Valo 🤡"),
|
new Tag("Peak D2 sur Valo 🤡"),
|
||||||
new Tag(
|
|
||||||
"0x520",
|
|
||||||
`
|
|
||||||
background: linear-gradient(to bottom right, red 0%, red 50%, black 50%);
|
|
||||||
${clipping_text}
|
|
||||||
text-shadow: 0px 0px 20px light-dark(transparent, var(--font-color));
|
|
||||||
`
|
|
||||||
),
|
|
||||||
new Tag("Nul en CSS", "font-family: 'Comic Sans MS', TSCu_Comic, cursive"),
|
new Tag("Nul en CSS", "font-family: 'Comic Sans MS', TSCu_Comic, cursive"),
|
||||||
new Tag("anri k... caterpillar 🐛☝️"),
|
new Tag("anri k... caterpillar 🐛☝️"),
|
||||||
new Tag(
|
new Tag(
|
||||||
|
@ -38,21 +30,35 @@ window.addEventListener("load", () => {
|
||||||
text-shadow: 0px 0px 20px light-dark(var(--font-color), transparent);
|
text-shadow: 0px 0px 20px light-dark(var(--font-color), transparent);
|
||||||
`
|
`
|
||||||
),
|
),
|
||||||
new Tag(
|
|
||||||
"Free Palestine",
|
|
||||||
`
|
|
||||||
background: conic-gradient(at 30% 60%, transparent 230deg, red 0, red 310deg, transparent 0),
|
|
||||||
linear-gradient(to bottom, black 45%, white 45%, white 67%, DarkGreen 67%);
|
|
||||||
${clipping_text}
|
|
||||||
text-shadow: 0px 0px 20px var(--font-color);
|
|
||||||
`
|
|
||||||
),
|
|
||||||
new Tag("School hater"),
|
|
||||||
new Tag("Étudiant"),
|
new Tag("Étudiant"),
|
||||||
new Tag("Rempli de malice"),
|
new Tag("Rempli de malice"),
|
||||||
new Tag(
|
new Tag("anri.exe", mono),
|
||||||
"#NouveauFrontPopulaire ✊",
|
];
|
||||||
`
|
|
||||||
|
const hour = new Date().getHours();
|
||||||
|
if (hour < 8 || hour > 18) {
|
||||||
|
tags = tags.concat([
|
||||||
|
new Tag(
|
||||||
|
"0x520",
|
||||||
|
`
|
||||||
|
background: linear-gradient(to bottom right, red 0%, red 50%, black 50%);
|
||||||
|
${clipping_text}
|
||||||
|
text-shadow: 0px 0px 20px light-dark(transparent, var(--font-color));
|
||||||
|
`
|
||||||
|
),
|
||||||
|
new Tag("School hater"),
|
||||||
|
new Tag(
|
||||||
|
new Tag(
|
||||||
|
"Free Palestine",
|
||||||
|
`
|
||||||
|
background: conic-gradient(at 30% 60%, transparent 230deg, red 0, red 310deg, transparent 0),
|
||||||
|
linear-gradient(to bottom, black 45%, white 45%, white 67%, DarkGreen 67%);
|
||||||
|
${clipping_text}
|
||||||
|
text-shadow: 0px 0px 20px var(--font-color);
|
||||||
|
`
|
||||||
|
),
|
||||||
|
"#NouveauFrontPopulaire ✊",
|
||||||
|
`
|
||||||
background: linear-gradient(to bottom, #4fb26b 0%, #4fb26b 36%, \
|
background: linear-gradient(to bottom, #4fb26b 0%, #4fb26b 36%, \
|
||||||
#e62e35 36%, #e62e35 50%, \
|
#e62e35 36%, #e62e35 50%, \
|
||||||
#feeb25 50%, #feeb25 62%, \
|
#feeb25 50%, #feeb25 62%, \
|
||||||
|
@ -61,10 +67,10 @@ window.addEventListener("load", () => {
|
||||||
${clipping_text}
|
${clipping_text}
|
||||||
text-shadow: 0px 0px 20px light-dark(var(--font-color), transparent);
|
text-shadow: 0px 0px 20px light-dark(var(--font-color), transparent);
|
||||||
`
|
`
|
||||||
),
|
),
|
||||||
new Tag("s/centre/droite/g", mono),
|
new Tag("s/centre/droite/g", mono),
|
||||||
new Tag("anri.exe", mono),
|
]);
|
||||||
];
|
}
|
||||||
|
|
||||||
const random = Math.round(Math.random() * (tags.length - 1));
|
const random = Math.round(Math.random() * (tags.length - 1));
|
||||||
const element = document.getElementById("subname");
|
const element = document.getElementById("subname");
|
||||||
|
|
Loading…
Reference in a new issue