weird temporary fix to badges not shown on mobile (#9)

uwu
This commit is contained in:
coolesding 2023-09-23 17:25:43 +01:00 committed by GitHub
parent 256e6d6309
commit 09443245d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 200 additions and 43 deletions

View file

@ -28,7 +28,7 @@ for (let i = 0; i < avis.length; i++) {
}
await writeFile(
join("../../", "db", "data.json"),
join("../../", "db", "datadesktop.json"),
format(
JSON.stringify({
avatars,
@ -38,4 +38,4 @@ await writeFile(
parser: "json",
}
)
);
);

View file

@ -33,7 +33,7 @@ for (const id of Object.keys(templates)) {
console.log("Generating dist.css...");
const data = JSON.parse(
await readFile(join("../../", "db", "data.json"), "utf8")
await readFile(join("../../", "db", "datadesktop.json"), "utf8")
);
const dist = [];
@ -52,4 +52,4 @@ await writeFile(
uglify ? UglifyCSS.processString(dist.join("\n")) : dist.join("\n\n")
);
console.timeEnd("Done");
console.timeEnd("Done");

View file

@ -7,7 +7,7 @@ on:
paths:
- ".github/workflows/generate-db.yml"
- ".github/scripts/generate/**/*.*"
- "db/data.json"
- "db/datadesktop.json"
- "db/template.css"
pull_request:
branches: