Remove category selection
This commit is contained in:
@@ -3,61 +3,50 @@ var router = express.Router();
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function (req, res, next) {
|
||||
|
||||
const categorys = ["cpp", "games", "js", "cs"];
|
||||
|
||||
const entry = [
|
||||
{
|
||||
category: categorys[0],
|
||||
img: "/images/projects/Advent_Of_Code_Logo.jpg",
|
||||
title: "Advent of code",
|
||||
des: "My solutions for AOC",
|
||||
link: "https://gitlab.com/homep/advent_of_code"
|
||||
},
|
||||
{
|
||||
category: categorys[1],
|
||||
img: "/images/projects/password_manager.jpeg",
|
||||
title: "Password manager",
|
||||
des: "CLI app",
|
||||
link: "https://gitlab.com/homep/password_manager"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/projects/media_player.jpeg",
|
||||
title: "Media player",
|
||||
des: "WPF",
|
||||
link: "https://gitlab.com/school221/semester_3/uporabniski_vmesniki"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/logo.png",
|
||||
title: "Server",
|
||||
des: "Everything running on my server",
|
||||
link: "https://gitlab.com/homep/server"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/projects/projektna_naloga.jpeg",
|
||||
title: "Highway Tracker",
|
||||
des: "School project",
|
||||
link: "https://gitlab.com/school221/projektna_naloga"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/projects/bitshift.jpeg",
|
||||
title: "BitShifters",
|
||||
des: "unity",
|
||||
link: "https://gitlab.com/school221/semester_4/razvoj_programskih_sistemov/bitshifters"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/projects/tetris.jpeg",
|
||||
title: "Tetris",
|
||||
des: "WPF",
|
||||
link: "https://gitlab.com/school221/semester_4/razvoj_programskih_sistemov/tetrisrps"
|
||||
},
|
||||
{
|
||||
category: categorys[3],
|
||||
img: "/images/projects/games.jpeg",
|
||||
title: "Games",
|
||||
des: "java",
|
||||
@@ -65,7 +54,7 @@ router.get('/', function (req, res, next) {
|
||||
}
|
||||
];
|
||||
|
||||
res.render('main/2_0', { title: 'Nikola Petrov', disableBootStrap: true, categorys, entry });
|
||||
res.render('main/2_0', { title: 'Nikola Petrov', disableBootStrap: true, entry });
|
||||
});
|
||||
|
||||
router.get('/old', function (req, res, next) {
|
||||
|
Reference in New Issue
Block a user