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,6 +30,24 @@ 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("Étudiant"),
|
||||||
|
new Tag("Rempli de malice"),
|
||||||
|
new Tag("anri.exe", mono),
|
||||||
|
];
|
||||||
|
|
||||||
|
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(
|
new Tag(
|
||||||
"Free Palestine",
|
"Free Palestine",
|
||||||
`
|
`
|
||||||
|
@ -47,10 +57,6 @@ window.addEventListener("load", () => {
|
||||||
text-shadow: 0px 0px 20px var(--font-color);
|
text-shadow: 0px 0px 20px var(--font-color);
|
||||||
`
|
`
|
||||||
),
|
),
|
||||||
new Tag("School hater"),
|
|
||||||
new Tag("Étudiant"),
|
|
||||||
new Tag("Rempli de malice"),
|
|
||||||
new Tag(
|
|
||||||
"#NouveauFrontPopulaire ✊",
|
"#NouveauFrontPopulaire ✊",
|
||||||
`
|
`
|
||||||
background: linear-gradient(to bottom, #4fb26b 0%, #4fb26b 36%, \
|
background: linear-gradient(to bottom, #4fb26b 0%, #4fb26b 36%, \
|
||||||
|
@ -63,8 +69,8 @@ window.addEventListener("load", () => {
|
||||||
`
|
`
|
||||||
),
|
),
|
||||||
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