ft_transcendence/frontend/src/pages/about/about.ts
Maieul BOYER 08c910c193 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
2025-11-11 00:20:26 +01:00

12 lines
237 B
TypeScript

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)