mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-25 15:56:31 +01:00
59 lines
No EOL
1.2 KiB
JavaScript
59 lines
No EOL
1.2 KiB
JavaScript
const express = require('express')
|
|
const router = express.Router()
|
|
|
|
router.get('/', (_req, res) => {
|
|
res.render('pages/index');
|
|
})
|
|
|
|
router.get('/login', (_req, res) => {
|
|
res.render('pages/login');
|
|
})
|
|
|
|
router.get('/forgot-password', (_req, res) => {
|
|
res.render('pages/forgot-password');
|
|
})
|
|
|
|
router.get('/otp', (_req, res) => {
|
|
res.render('pages/otp');
|
|
})
|
|
|
|
router.get('/product', (_req, res) => {
|
|
res.render('pages/product')
|
|
})
|
|
|
|
router.get(('/successadd'), (_req, res) => {
|
|
res.render('pages/success-add')
|
|
})
|
|
|
|
router.get('/bag', (_req, res) => {
|
|
res.render('pages/bag')
|
|
})
|
|
|
|
router.get('/checkout', (_req, res) => {
|
|
res.render('pages/checkout')
|
|
})
|
|
|
|
router.get('/notifpay', (_req, res) => {
|
|
res.render('pages/notif-pay')
|
|
})
|
|
|
|
router.get('/payment', (_req, res) => {
|
|
res.render('pages/payment')
|
|
})
|
|
|
|
router.get('/register', (_req, res) => {
|
|
res.render('pages/register')
|
|
})
|
|
|
|
router.get('/register-verification-completed', (_req, res) => {
|
|
res.render('pages/register-verification-completed')
|
|
})
|
|
|
|
router.get('/register-verification-sent', (_req, res) => {
|
|
res.render('pages/register-verification-sent')
|
|
})
|
|
router.get('/about-us', (_req, res) => {
|
|
res.render('pages/about-us')
|
|
})
|
|
|
|
module.exports = router; |