Titelbilder und -beschriftungen fertiggestellt; Subseiten erstellt
12
main.js
@@ -14,9 +14,17 @@ app.get('/', function(req, res) {
|
|||||||
message: 'Hello there!'
|
message: 'Hello there!'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/speisekarte', function(req, res) {
|
app.get('/speisekarte', function(req, res) {
|
||||||
res.render('index', {
|
res.render('menu', {
|
||||||
title: 'Restaurant Reiskorn | Home',
|
title: 'Restaurant Reiskorn | Speisekarte',
|
||||||
|
message: 'Hello there!'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
app.get('/kontakt', function(req, res) {
|
||||||
|
res.render('contact', {
|
||||||
|
title: 'Restaurant Reiskorn | Kontakt',
|
||||||
message: 'Hello there!'
|
message: 'Hello there!'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
BIN
public/image/restaurant-1-chairs.jpg
Normal file
|
After Width: | Height: | Size: 1014 KiB |
BIN
public/image/restaurant-1.jpg
Normal file
|
After Width: | Height: | Size: 456 KiB |
BIN
public/image/restaurant-2-hall.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
public/image/restaurant-2.jpg
Normal file
|
After Width: | Height: | Size: 8.2 MiB |
BIN
public/image/restaurant-3-pillar.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
public/image/restaurant-3.jpg
Normal file
|
After Width: | Height: | Size: 3.6 MiB |
BIN
public/image/restaurant-4-buffet.jpg
Normal file
|
After Width: | Height: | Size: 887 KiB |
BIN
public/image/restaurant-4.jpg
Normal file
|
After Width: | Height: | Size: 744 KiB |
5
views/contact.jade
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
doctype html
|
||||||
|
extends ../node_modules/jade-bootstrap/_bootstrap
|
||||||
|
|
||||||
|
block body
|
||||||
|
|
||||||
@@ -1,17 +1,10 @@
|
|||||||
doctype html
|
doctype html
|
||||||
//
|
|
||||||
html
|
|
||||||
head
|
|
||||||
title!= title
|
|
||||||
block head
|
|
||||||
body
|
|
||||||
block main
|
|
||||||
|
|
||||||
extends ../node_modules/jade-bootstrap/_bootstrap
|
extends ../node_modules/jade-bootstrap/_bootstrap
|
||||||
|
|
||||||
block body
|
block body
|
||||||
+navbar("Restaurant Reiskorn","dropdown_menu","inverse")
|
+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")
|
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#alkohol") Mit Alkohol
|
||||||
+nav_item("/speisekarte#spirituose") Spiritus
|
+nav_item("/speisekarte#spirituose") Spiritus
|
||||||
+nav_item_dropdown("/kontakt")(label="Kontakt")
|
+nav_item_dropdown("/kontakt")(label="Kontakt")
|
||||||
+nav_item("/kontakt#vorspeise") Reservierung
|
+nav_item("/kontakt#reservieren") Reservierung
|
||||||
+nav_item("/kontakt#suppe") Anfahrt
|
+nav_item("/kontakt#anfahrt") Anfahrt
|
||||||
+nav_item("/kontakt#impressum") Impressum
|
+nav_item("/kontakt#impressum") Impressum
|
||||||
+nav_item("/kontakt#impressum") Impressum
|
+nav_item("/kontakt#impressum") Impressum
|
||||||
+carousel("title_carousel",[
|
+carousel("home_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:"/bin/image/restaurant-1-chairs.jpg",
|
||||||
{image:"images/slide1.jpg",h1:"Headline #3",p:"Carousel Caption #3",button:{caption:"Sign up today",url:"#"}},
|
h1:"Romantisches Dinner",
|
||||||
{image:"images/slide1.jpg",h1:"Headline #4",p:"Carousel Caption #4",button:{caption:"Sign up today",url:"#"}}
|
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"
|
||||||
|
}
|
||||||
|
}
|
||||||
])
|
])
|
||||||
5
views/menu.jade
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
doctype html
|
||||||
|
extends ../node_modules/jade-bootstrap/_bootstrap
|
||||||
|
|
||||||
|
block body
|
||||||
|
|
||||||