feat: make single html and add schemas for socials

This commit is contained in:
Jet Pham 2026-03-09 17:13:43 -07:00
parent 4c09d416cf
commit a7ecb3a390
No known key found for this signature in database
7 changed files with 190 additions and 23 deletions

View file

@ -1,17 +1,8 @@
import "~/styles/globals.css";
import Jet from "~/assets/Jet.txt?ansi";
import init, { start } from "cgol";
document.getElementById("ansi-art")!.innerHTML = Jet;
import("cgol")
.then(async (cgolModule) => {
if (typeof cgolModule.default === "function") {
await cgolModule.default();
}
if (typeof cgolModule.start === "function") {
cgolModule.start();
}
})
.catch((error: unknown) => {
console.error("Failed to initialize CGOL WebAssembly module:", error);
});
await init();
start();