Skip to content

Commit

Permalink
Fix alignment on home page, replace README screenshot
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Nunciato <[email protected]>
  • Loading branch information
cnunciato committed Apr 23, 2018
1 parent 3fed27a commit 5b10038
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ For the full experience, check out the [Habitat Demo instructions](https://www.h

Alternatively, you can use the instructions below if you simply want to build and run the app locally.

![habitat-sample-node-app](https://user-images.githubusercontent.com/446285/31078915-96033340-a749-11e7-906c-7861521894fc.png)
![habitat-sample-node-app](https://user-images.githubusercontent.com/274700/39158589-d1170792-4715-11e8-8e2a-1a2696944500.png)


## Instructions
Expand Down Expand Up @@ -46,7 +46,7 @@ pkg_name=sample-node-app
pkg_origin=your_origin
pkg_scaffolding="core/scaffolding-node"
```
First, change the value of `your_origin` to the origin name your created in the previous section.
First, change the value of `your_origin` to the origin name your created in the previous section.

If you're following the [demo instructions](https://www.habitat.sh/demo/), then use the origin name you created in the Builder web app.

Expand Down
10 changes: 3 additions & 7 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,11 @@ footer {
.logos {
margin: 4em auto 0;
width: 340px;
display: flex;
}

.habitat-logo {
float: left;
}

.nodejs-logo {
float: right;
margin-top: 15px;
.logos img {
padding: 0 16px;
}

.habicat-jumping {
Expand Down
7 changes: 2 additions & 5 deletions views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ html
block content

section.logos
.habitat-logo
img(src="images/habitat-logo-by-chef.svg" alt="Habitat logo")

.nodejs-logo
img(src="images/nodejs-logo.svg" alt="NodeJS logo")
img(src="images/habitat-logo-by-chef.svg" alt="Habitat logo")
img(src="images/nodejs-logo.svg" alt="NodeJS logo")

footer
img.habicat-jumping(src="images/image-cat-jumping.svg" alt="Habicat jumping")
Expand Down

0 comments on commit 5b10038

Please sign in to comment.