feat(frontend): added frontend
- Router: client side route handling with client side rendering - Toast: rought Toast handling for better UX and messaging - Auth: single point of truth for the Logged in user This commit doesnt not include the openapi generated code
This commit is contained in:
parent
0db41a440d
commit
08c910c193
28 changed files with 1994 additions and 0 deletions
0
frontend/src/pages/about/about.html
Normal file
0
frontend/src/pages/about/about.html
Normal file
12
frontend/src/pages/about/about.ts
Normal file
12
frontend/src/pages/about/about.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { addRoute, setTitle } from "@app/routing";
|
||||
import page from './about.html?raw'
|
||||
|
||||
|
||||
async function route(_url: string, _args: { [k: string]: string }): Promise<string> {
|
||||
setTitle('About us')
|
||||
return page;
|
||||
}
|
||||
|
||||
|
||||
|
||||
addRoute('/', route)
|
||||
Loading…
Add table
Add a link
Reference in a new issue