Skip to content

Commit 2d4f782

Browse files
Create new index with welcome hero section and about
1 parent f91f90c commit 2d4f782

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

src/views/home/_about.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11

22
section.section.dark(scrolltrigger)#about
3+
article: row
4+
column: .text-center
5+
h2 { this section should be revamped for V2 }
36
article: row
47
column.large-6.medium-10.medium-centered: .text-center
58
h2 What the..?

src/views/home/_welcome.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
hero.blue(window-height='force:true,subtract:40' scrolltrigger)
1+
hero.light(window-height='force:true,subtract:40' scrolltrigger)
22
inner: row: column
33
h1.logo {apis.is}
44
.limit.padding.text-center
55
p.large Our purpose is to make data readily available to anyone interested
6-
p Would you like to suggest a new endpoint to be implemented?<br/>Don't hesitate to <a class="light" href="mailto:apis@apis.is">contact us</a>, or contribute to our <a class="light" href="https://github.com/kristjanmik/apis" target="_blank">github repository</a>.
6+
p.text-large Would you like to suggest a new endpoint to be implemented?<br/>Don't hesitate to <a class="blue" href="mailto:apis@apis.is">contact us</a>, or contribute to our <a class="blue" href="https://github.com/kristjanmik/apis" target="_blank">github repository</a>.
77
.arrows
88
icon.icon-down.one
99
icon.icon-down.two

src/views/index.jade

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
extends shared/_layout
2+
3+
block hero
4+
include home/_welcome
5+
6+
block content
7+
8+
include home/_about
9+
include home/_endpoints
10+
11+
block footer
12+
footer: section.dark
13+
row: column.medium-10.large-8.col-centered
14+
box: p.text-large Would you like to suggest a new endpoint to be implemented?<br/>Don't hesitate to <a class="light" href="mailto:apis@apis.is">contact us</a>, or contribute to our <a class="light" href="https://github.com/kristjanmik/apis" target="_blank">github repo</a>.

0 commit comments

Comments
 (0)