Skip to content

Commit

Permalink
Index and newsletter section improvment #17
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejzysko committed Dec 5, 2018
1 parent f86d56a commit d7bada5
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 60 deletions.
96 changes: 48 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 37 additions & 11 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,53 @@
<script src="javascripts/main.js"></script>
</head>


<body>
<!-- Create name/logo (left) and menu (right) -->
<nav></nav>
<header>
<div id="brand">
Toucans-9 Company
</div>
<nav>
<ul class="list-unstyled list-inline">
<li class="list-inline-item">
<a href="index.html">HOME</a>
</li>
<li class="list-inline-item">
<a href="about.html">ABOUT</a>
</li>
<li class="list-inline-item">
<a href="services.html">SERVICES</a>
</li>
<li class="list-inline-item">
<a href="contact.html">CONTACT</a>
</li>
</ul>
</nav>
</header>
<main>
<!-- Section: Jumbotron/hero (background image + short description) -->
<section></section>
<section id="description"></section>
<!-- Section: HTML / CSS / JS images + description -->
<section></section>
<section id="services"></section>
<!-- Section: Sign-up newsletter form -->
<section id="newsletter">
<div>
<h1 id="newsletter-header">Subscribe to my newsletter</h1>
<form id="newsletter-inputform">
<input id="newsletter-in-mail" placeholder="Enter e-mail...">
<button id="newsletter-in-button" type="submit">Register</button>
</form>
</div>
<form class="form-inline">
<div class="input-group mb-2 mr-sm-2">
<label for="newsletter-in-mail">Subscribe to my newsletter</label>
</div>
<div class="input-group mb-2 mr-sm-2">
<input type="email" class="form-control" id="newsletter-in-mail" placeholder="Enter email" required>
</div>
<button type="submit" class="btn btn-primary mb-2">Subscribe</button>
</div>
</form>
</section>
</main>
<!-- Footer & copyright -->
<footer></footer>
<footer>
<div>Toucans-9 Company, Copyright © 2018</div>
</footer>

<!-- Bootstrap JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
Expand Down
37 changes: 36 additions & 1 deletion public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,43 @@
body {
/* body {
padding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}
a {
color: #00B7FF;
} */

header {
text-align: center;
padding: 20px;
color: #ffffff;
background-color: #333;
}

footer {
text-align: center;
padding: 20px;
color: #ffffff;
background-color: #5ebd5e;
}

#description {
text-align: center;
padding: 20px;
color: #ffffff;
background-color: aliceblue;
}

#services {
text-align: center;
padding: 20px;
color: #ffffff;
background-color: aliceblue;
}

#newsletter {
text-align: center;
padding: 20px;
color: #ffffff;
background-color: #333;
}

0 comments on commit d7bada5

Please sign in to comment.