forked from scotch-io/node-website-course
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be03162
commit 1fe4eb3
Showing
5 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>My Node Site</title> | ||
|
||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/styles.css"> | ||
</head> | ||
<body> | ||
<header> | ||
<nav class="navbar navbar-inverse"> | ||
<a href="/" class="navbar-brand">My Site</a> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/about">About</a></li> | ||
<li><a href="/contact">Contact</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<section class="hero"> | ||
<div class="hero-content"> | ||
<h2>Welcome to the Site!</h2> | ||
<p>The best place to be</p> | ||
|
||
<a href="/" class="btn btn-lg btn-primary">Get Started</a> | ||
<a href="/contact" class="btn btn-lg btn-primary">Contact</a> | ||
</div> | ||
</section> | ||
|
||
<main> | ||
<div class="container"> | ||
<div class="jumbotron text-center"> | ||
Home Page | ||
</div> | ||
</div> | ||
</main> | ||
|
||
<footer> | ||
Awesome Site. Copyright © 2016 | ||
</footer> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
body { | ||
font-size: 16px; | ||
line-height: 1.5; | ||
} | ||
|
||
header .navbar { | ||
border-radius: 0; | ||
margin: 0; | ||
} | ||
|
||
.hero { | ||
background-image: url(../img/planet.jpg); | ||
background-repeat: no-repeat;; | ||
background-size: cover; | ||
background-position: center center; | ||
padding: 50px 0; | ||
min-height: 650px; | ||
position: relative; | ||
} | ||
|
||
.hero-content { | ||
position: absolute; | ||
top: 50%; | ||
text-align: center; | ||
width: 100%; | ||
} | ||
|
||
.hero-content h2 { | ||
color: #FFF; | ||
font-size: 80px; | ||
} | ||
|
||
.hero-content p { | ||
color: #FFF; | ||
font-size: 40px; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.hero-content .btn { | ||
border-radius: 2px; | ||
padding: 20px 30px; | ||
} | ||
|
||
main { | ||
min-height: 500px; | ||
padding: 50px 0; | ||
} | ||
|
||
footer { | ||
padding: 30px 0; | ||
font-size: 14px; | ||
color: #BBB; | ||
background: #222; | ||
text-align: center; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters