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