Mostly added a contact page instead of direct mail link. But lots of little things mostly around cleanup too.
This commit is contained in:
parent
d2db2037f4
commit
4e1a13b537
18 changed files with 905 additions and 859 deletions
16
src/routes/ContactController.ts
Normal file
16
src/routes/ContactController.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue