Skip to content

Commit 10a32d5

Browse files
committed
added routes
1 parent ff7b3b1 commit 10a32d5

File tree

3 files changed

+246
-220
lines changed

3 files changed

+246
-220
lines changed

app/public/stylesheets/hackathon.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
& .card-image>img{
7171
border-radius: 8px 8px 0 0;
7272
width: 100%;
73-
object-fit: contain;
73+
max-height: 170px;
74+
object-fit: cover;
7475
}
7576
}
7677
.card-logo{

app/routes/index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ router.get('/about', function(req, res, next) {
3636
res.render('about');
3737
});
3838

39-
module.exports = router;
39+
router.get('/register', function(req, res, next) {
40+
res.render('register');
41+
});
42+
43+
//file-upload page
44+
router.get('/file-upload', function(req, res, next) {
45+
res.render('file-upload');
46+
});
47+
module.exports = router;

0 commit comments

Comments
 (0)