diff --git a/main.js b/main.js index 96e684e..947b646 100644 --- a/main.js +++ b/main.js @@ -14,9 +14,17 @@ app.get('/', function(req, res) { message: 'Hello there!' }); }); + app.get('/speisekarte', function(req, res) { - res.render('index', { - title: 'Restaurant Reiskorn | Home', + res.render('menu', { + title: 'Restaurant Reiskorn | Speisekarte', + message: 'Hello there!' + }); +}); + +app.get('/kontakt', function(req, res) { + res.render('contact', { + title: 'Restaurant Reiskorn | Kontakt', message: 'Hello there!' }); }); diff --git a/public/image/restaurant-1-chairs.jpg b/public/image/restaurant-1-chairs.jpg new file mode 100644 index 0000000..83efea9 Binary files /dev/null and b/public/image/restaurant-1-chairs.jpg differ diff --git a/public/image/restaurant-1.jpg b/public/image/restaurant-1.jpg new file mode 100644 index 0000000..cf3ea66 Binary files /dev/null and b/public/image/restaurant-1.jpg differ diff --git a/public/image/restaurant-2-hall.jpg b/public/image/restaurant-2-hall.jpg new file mode 100644 index 0000000..8817db6 Binary files /dev/null and b/public/image/restaurant-2-hall.jpg differ diff --git a/public/image/restaurant-2.jpg b/public/image/restaurant-2.jpg new file mode 100644 index 0000000..2a6a196 Binary files /dev/null and b/public/image/restaurant-2.jpg differ diff --git a/public/image/restaurant-3-pillar.jpg b/public/image/restaurant-3-pillar.jpg new file mode 100644 index 0000000..7cf26b6 Binary files /dev/null and b/public/image/restaurant-3-pillar.jpg differ diff --git a/public/image/restaurant-3.jpg b/public/image/restaurant-3.jpg new file mode 100644 index 0000000..82abb98 Binary files /dev/null and b/public/image/restaurant-3.jpg differ diff --git a/public/image/restaurant-4-buffet.jpg b/public/image/restaurant-4-buffet.jpg new file mode 100644 index 0000000..916b253 Binary files /dev/null and b/public/image/restaurant-4-buffet.jpg differ diff --git a/public/image/restaurant-4.jpg b/public/image/restaurant-4.jpg new file mode 100644 index 0000000..7a8be6d Binary files /dev/null and b/public/image/restaurant-4.jpg differ diff --git a/views/contact.jade b/views/contact.jade new file mode 100644 index 0000000..92b1db0 --- /dev/null +++ b/views/contact.jade @@ -0,0 +1,5 @@ +doctype html +extends ../node_modules/jade-bootstrap/_bootstrap + +block body + \ No newline at end of file diff --git a/views/index.jade b/views/index.jade index d19ae24..d89f051 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,17 +1,10 @@ doctype html -// - html - head - title!= title - block head - body - block main - extends ../node_modules/jade-bootstrap/_bootstrap + block body +navbar("Restaurant Reiskorn","dropdown_menu","inverse") - a.navbar-brand(style="padding: 3px;",rel="home",href="#",title="Buy Sell Rent Everyting") + a.navbar-brand(style="padding: 3px;",rel="home",href="#",title="Restaurant Reiskorn") img(style="height: 100%;width: auto;",src="/bin/image/logo.png") @@ -30,13 +23,45 @@ block body +nav_item("/speisekarte#alkohol") Mit Alkohol +nav_item("/speisekarte#spirituose") Spiritus +nav_item_dropdown("/kontakt")(label="Kontakt") - +nav_item("/kontakt#vorspeise") Reservierung - +nav_item("/kontakt#suppe") Anfahrt + +nav_item("/kontakt#reservieren") Reservierung + +nav_item("/kontakt#anfahrt") Anfahrt +nav_item("/kontakt#impressum") Impressum +nav_item("/kontakt#impressum") Impressum - +carousel("title_carousel",[ - {image:"images/slide1.jpg",h1:"Headline #1",p:"Carousel Caption #1",button:{caption:"Sign up today",url:"#"}}, - {image:"images/slide1.jpg",h1:"Headline #2",p:"Carousel Caption #2",button:{caption:"Sign up today",url:"#"}}, - {image:"images/slide1.jpg",h1:"Headline #3",p:"Carousel Caption #3",button:{caption:"Sign up today",url:"#"}}, - {image:"images/slide1.jpg",h1:"Headline #4",p:"Carousel Caption #4",button:{caption:"Sign up today",url:"#"}} + +carousel("home_carousel",[ + { + image:"/bin/image/restaurant-1-chairs.jpg", + h1:"Romantisches Dinner", + p:"Wie wäre es mit einem Kerzenabend zu zweit?", + button:{ + caption:"Reservieren", + url:"/kontakt#reservieren" + } + }, + { + image:"/bin/image/restaurant-2-hall.jpg", + h1:"Konferenzraum", + p:"Viel Platz für über 200 Gäste", + button:{ + caption:"Reservieren", + url:"/kontakt#reservieren" + } + }, + { + image:"/bin/image/restaurant-3-pillar.jpg", + h1:"Gemütliche Räumlichkeiten", + p:"Bei schlechten Wetter verträumt im fernen Osten", + button:{ + caption:"Anfahrt", + url:"/kontakt#anfahrt" + } + }, + { + image:"/bin/image/restaurant-4-buffet.jpg", + h1:"Buffet", + p:"Vielfältige Auswahl an Speisen und Getränken", + button:{ + caption:"Speisekarte", + url:"/speisekarte" + } + } ]) \ No newline at end of file diff --git a/views/menu.jade b/views/menu.jade new file mode 100644 index 0000000..92b1db0 --- /dev/null +++ b/views/menu.jade @@ -0,0 +1,5 @@ +doctype html +extends ../node_modules/jade-bootstrap/_bootstrap + +block body + \ No newline at end of file