Titelbilder und -beschriftungen fertiggestellt; Subseiten erstellt

This commit is contained in:
Sebastian Seedorf
2016-02-17 17:22:25 +01:00
parent 01f4a0cd49
commit 10db4c69bc
12 changed files with 61 additions and 18 deletions

12
main.js
View File

@@ -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!'
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 KiB

5
views/contact.jade Normal file
View File

@@ -0,0 +1,5 @@
doctype html
extends ../node_modules/jade-bootstrap/_bootstrap
block body

View File

@@ -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"
}
}
])

5
views/menu.jade Normal file
View File

@@ -0,0 +1,5 @@
doctype html
extends ../node_modules/jade-bootstrap/_bootstrap
block body