Added Content Page link

This commit is contained in:
2024-12-12 16:23:29 -08:00
parent e2f34bd7e6
commit 5aafb1aade

View File

@@ -2,7 +2,10 @@ import express from 'express';
import ExACT_landingPage from './tests/ExACT_landingPage.js';
import ExACT_login from './tests/ExACT_login.js';
//Dashboard
import ExACT_dashboardMyContent from './tests/ExACT_DashboardMyContent.js';
//Pages
import ExACT_contentPage from './tests/ExACT_contentPage.js';
const app = express();
@@ -20,8 +23,12 @@ app.get('/', (req, res) => {
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">Dashboard</h1>
<div style="padding:3px;"><strong><a href='/ExACT_dashboardMyContent' target='_blank'>My Content</a></strong></div>
<br>
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">Pages</h1>
<div style="padding:3px;"><strong><a href='/ExACT_contentPage' target='_blank'>Content Page</a></strong></div>
<br>
</div>
`);
`);
})
//Landing:
@@ -31,6 +38,9 @@ app.get('/ExACT_login', ExACT_login);
//Dashboard
//My Content
app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent);
//Pages
//Content
app.get('/ExACT_contentPage', ExACT_contentPage);
app.listen(8000, () => {
console.log('Server is running on port 8000');