add AI page

This commit is contained in:
Raven Scott
2024-10-02 03:32:27 -04:00
parent 775e146a68
commit c602d5b8f8
3 changed files with 633 additions and 0 deletions

10
app.js
View File

@ -175,6 +175,16 @@ app.get('/contact', (req, res) => {
});
});
// Contact Route (Render the contact form)
app.get('/chat', (req, res) => {
res.render('chat', {
title: `Chat ${process.env.OWNER_NAME}`,
msg: undefined,
menuItems // Pass the menu items to the view
});
});
// Blog Post Route
app.get('/blog/:slug', (req, res) => {
const slug = req.params.slug;