base project

This commit is contained in:
Seth 2025-04-20 23:15:41 -04:00
parent 79f300a918
commit 4fedd38df1
33 changed files with 407 additions and 2514 deletions

BIN
public/font/Black.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
public/font/Bold.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
public/font/Book.woff2 Normal file

Binary file not shown.

Binary file not shown.

BIN
public/font/Medium.woff2 Normal file

Binary file not shown.

Binary file not shown.

17
public/font/rename.ts Normal file
View file

@ -0,0 +1,17 @@
import { Glob } from "bun";
const woff2 = new Glob("./*.woff2");
for await (const file of woff2.scan(".")) {
const font = Bun.file(file);
const name = font.name?.split("-")[1];
await Bun.write(`./${name}`, await font.arrayBuffer());
console.log(`Renamed ${file} to ${name}`);
await font.delete();
console.log(`Deleted original font file: ${file}`);
}
console.log("Done")