feat: add project and email service
This commit is contained in:
parent
99715f6105
commit
f48390b15e
29 changed files with 2631 additions and 63 deletions
15
src/main.ts
15
src/main.ts
|
|
@ -1,8 +1,17 @@
|
|||
import "~/styles/globals.css";
|
||||
import Jet from "~/assets/Jet.txt?ansi";
|
||||
import init, { start } from "cgol";
|
||||
import { route, initRouter } from "~/router";
|
||||
import { homePage } from "~/pages/home";
|
||||
import { projectsPage } from "~/pages/projects";
|
||||
import { projectPage } from "~/pages/project";
|
||||
import { qaPage } from "~/pages/qa";
|
||||
import { notFoundPage } from "~/pages/not-found";
|
||||
|
||||
document.getElementById("ansi-art")!.innerHTML = Jet;
|
||||
route("/", homePage);
|
||||
route("/projects", projectsPage);
|
||||
route("/projects/:slug", projectPage);
|
||||
route("/qa", qaPage);
|
||||
route("*", notFoundPage);
|
||||
|
||||
try {
|
||||
await init();
|
||||
|
|
@ -10,3 +19,5 @@ try {
|
|||
} catch (e) {
|
||||
console.error("WASM init failed:", e);
|
||||
}
|
||||
|
||||
initRouter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue