aboutsummaryrefslogtreecommitdiffstats
path: root/routes/character-images.js
blob: dd63c8365dbeeb5169181d092083f62a04c25dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = function(req, res) {
	var data = {};
	
	data.character_images = {
		characters: [
			{
				image: '/images/characters-sample/homer.png',
				name: 'Homer'
			},
			{
				image: '/images/characters-sample/marge.png',
				name: 'Marge'
			},
			{
				image: '/images/characters-sample/lisa.png',
				name: 'Lisa'
			},
			{
				image: '/images/characters-sample/bart.png',
				name: 'Bart'
			},
			{
				image: '/images/characters-sample/maggie.png',
				name: 'Maggie'
			}
		]
	};
	
	res.render('character-images', data);
};