2024-07-16 14:18:59 +02:00

33 lines
925 B
JavaScript

var express = require('express');
var router = express.Router();
const userKnowledge = require('./userKnowledge.json');
/* GET home page. */
router.get('/', function (req, res, next) {
const project = userKnowledge.project;
const experience = userKnowledge.experience;
const education = userKnowledge.education;
res.render('main/2_0', { title: 'Nikola Petrov', disableBootStrap: true, project, experience, education });
});
router.get('/old', function (req, res, next) {
res.render('main/1_0', { title: 'Nikola Petrov' });
});
router.get('/mail', function (req, res, next) {
res.redirect('https://privateemail.com/');
});
router.get('/list', function (req, res, next) {
res.render('list', { title: 'List' });
});
router.get('/cash', function (req, res, next) {
res.render('cash', { title: 'Cash' });
});
const userRouter = require('./user');
//router.use('/user', userRouter);
module.exports = router;