bridgemanaccessible.ca/src/routes/ContactController.ts
Alan Bridgeman 4e1a13b537
All checks were successful
Build and deploy Main Bridgeman Accessible website to QA/Stagging (private Kubernetes cluster) / build (push) Successful in 6s
Build and deploy Main Bridgeman Accessible website to QA/Stagging (private Kubernetes cluster) / deploy (push) Has been skipped
Mostly added a contact page instead of direct mail link. But lots of little things mostly around cleanup too.
2025-06-11 14:18:49 -05:00

16 lines
No EOL
577 B
TypeScript

import { Request, Response } from 'express';
import { Controller, GET, Page, BaseController } from '@BridgemanAccessible/ba-web-framework';
/** The ContactController class is responsible for handling the contact page of the site. */
@Controller()
export class ContactController extends BaseController {
/**
* Route for rendering the contact page.
*
* @param req The request object.
* @param res The response object.
*/
@Page('Contact', 'contact.ejs', [], ['contact'])
@GET('/contact')
private contact(req: Request, res: Response) {}
}