forked from swcool/landing-page-theme
-
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.
Add 'About' section.
- Loading branch information
Showing
8 changed files
with
150 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- About Section --> | ||
<section id="about" class="container content-section text-center"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2"> | ||
<h2>About Landing-Page</h2> | ||
<p>Landing-Page is a free Bootstrap 3 theme created by Start Bootstrap. It can be yours right now, simply download the template on <a href="http://startbootstrap.com/template-overviews/landing-page/">the preview page</a>. The theme is open source, and you can use it for any purpose, personal or commercial.</p> | ||
<p>The Jekyll version is brought to you by <a href="https://github.com/swcool">Shane Weng</a></p> | ||
<p>This theme features stock photos by <a href="http://join.deathtothestockphoto.com//">Death to the Stock Photo</a>.</p> | ||
<p>Landing-Page includes full HTML, CSS, and custom JavaScript files along with LESS files for easy customization.</p> | ||
</div> | ||
</div> | ||
</section> |
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 |
---|---|---|
@@ -1,24 +1,25 @@ | ||
<div class="banner"> | ||
<section id="contact"> | ||
<div class="banner"> | ||
<div class="container"> | ||
|
||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-6"> | ||
<h2>Keep in Touch:</h2> | ||
</div> | ||
<div class="col-lg-6"> | ||
<ul class="list-inline banner-social-buttons"> | ||
{% for social in site.social %} | ||
<li> | ||
<a href="{{ social.url }}" class="btn btn-default btn-lg"><i class="fa fa-{{ social.title }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-lg-6"> | ||
<h2>Connect to Start Bootstrap:</h2> | ||
</div> | ||
<div class="col-lg-6"> | ||
<ul class="list-inline banner-social-buttons"> | ||
{% for social in site.social %} | ||
<li> | ||
<a href="{{ social.url }}" class="btn btn-default btn-lg"><i class="fa fa-{{ social.title }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- /.container --> | ||
|
||
</div> | ||
<!-- /.container --> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
<!-- /.banner --> |
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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<!-- jQuery Version 1.11.0 --> | ||
<script src="js/jquery-1.11.0.js"></script> | ||
|
||
<!-- Plugin JavaScript --> | ||
<script src="{{ "/js/jquery.easing.min.js" | prepend: site.baseurl }}"></script> | ||
|
||
<!-- Bootstrap Core JavaScript --> | ||
<script src="js/bootstrap.min.js"></script> | ||
|
||
<!-- Custom Theme JavaScript --> | ||
<script src="js/landing-page.js"></script> |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,31 @@ | ||
// jQuery for page scrolling feature - requires jQuery Easing plugin | ||
$(function() { | ||
$('a.page-scroll').bind('click', function(event) { | ||
var $anchor = $(this); | ||
$('html, body').stop().animate({ | ||
scrollTop: $($anchor.attr('href')).offset().top | ||
}, 1500, 'easeInOutExpo'); | ||
event.preventDefault(); | ||
}); | ||
}); | ||
|
||
// Highlight the top nav as scrolling occurs | ||
$('body').scrollspy({ | ||
target: '.navbar-fixed-top' | ||
}) | ||
|
||
// Closes the Responsive Menu on Menu Item Click | ||
$('.navbar-collapse ul li a').click(function() { | ||
$('.navbar-toggle:visible').click(); | ||
}); | ||
|
||
$('div.modal').on('show.bs.modal', function() { | ||
var modal = this; | ||
var hash = modal.id; | ||
window.location.hash = hash; | ||
window.onhashchange = function() { | ||
if (!location.hash){ | ||
$(modal).modal('hide'); | ||
} | ||
} | ||
}); |