Skip to content
Permalink
Browse files
Merge pull request #25 from 5001CEM-1920SEPJAN/arjun
Added Main.handlebars
  • Loading branch information
lingamr committed Dec 4, 2019
2 parents 0524b82 + 95e7af0 commit 849c5c58d702a12544e208fa1583a878b5182b56
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
@@ -66,6 +66,14 @@ router.get('/', async ctx => {
await ctx.render('error', { message: err.message })
}
})
/**
* The main display page.
*
* @name Forum Page
* @route {GET} /main
*/
router.get('/main', async ctx => await ctx.render('main'))

/**
* The user forum display page.
*
@@ -0,0 +1,20 @@
<!doctype html>

<head>
<meta charset="utf-8">
<link rel="stylesheet" href="forum.css" media="all">
<link href="style.css" type="text/css" rel="stylesheet" />
<title>test</title>
</head>

<body>
<header>
<ul>
<li><a href="/logout">LOG OUT</a></li>
<li><a href="/home"> HOME </a></li>
</ul>
</header>
<h1>FORUM</h1>
</body>

</html>

0 comments on commit 849c5c5

Please sign in to comment.