Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce header banner and footer width #26

Merged
merged 2 commits into from
Mar 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions themes/thingweb/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<div class="footer-shape">
<div class="container">
<div class="">
<div class="footer-shape">
<img src="/img/others/footer-shape.jpg" class="img-fluid" width="100%"/>
</div>
<footer>
<div class="container sp">
<footer><!-- width="100%" -->
<!--
<div class="foot-social text-center">
<ul class="list-inline">
Expand All @@ -14,7 +15,7 @@
</ul>
</div>
-->
<div class="foot-link text-center">
<div class="foot-link text-center" >
<ul class="list-inline">
<li><a href="/">Home</a></li>
<li>|</li>
Expand All @@ -32,10 +33,11 @@
<div class="copy text-center">
<p>Copyrights &copy; {{ dateFormat "2006" now }} Thingweb. All Rights Reserved. <span>|</span> <a href="http://www.eclipse.org/legal/termsofuse.php">Terms of Use</a> <span>|</span> <a href="http://www.eclipse.org/legal/privacy.php">Privacy Policy</a></p>
</div>
</div>
</footer>

<script type="text/javascript" src="/js/jquery-1.11.3.min.js" language="javascript"></script>
<script type="text/javascript" src="/js/bootstrap.min.js" language="javascript"></script>
<script type="text/javascript" src="/js/custom.js" language="javascript"></script>
<script type="text/javascript" src="/js/owl.carousel.js" ></script>
<script type="text/javascript" src="/js/owl.carousel.js" ></script>
</div>
</div>
96 changes: 51 additions & 45 deletions themes/thingweb/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,49 +56,55 @@
</div>
</div>
</div>
<div class="header-bottom">
<div class="owl-carousel">
<div class="item">
<img src="/img/banner/banner.jpg" width="100%" alt="1">
<div class="container">
<div class="carousel-content-panel hidden-xs text-left" style="z-index: 0">
<h1>Thingweb</h1>
<p>Thingweb is a runtime and tooling for web technology that enables <br/> easy creation of applications for the Internet of Things</p>
<!-- Note: Button hrefs are hided by banner-shape image -->
<!-- -->
<ul class="list-inline" style="z-index: 100;">
<li>
<a href="/hands-on.html" class="btn btn-ban-1">Hands-on</a>
</li>
<li>
<a href="/news.html" class="btn btn-ban-2">News</a>
</li>
</ul>
</div>
</div>
</div>
<!--
<div class="item">
<img src="/img/banner/banner.jpg" width="100%" alt="2">
<div class="container">
<div class="carousel-content-panel hidden-xs text-left">
<h3>Thingweb</h3>
<p>Thingweb is a runtime and tooling for web technology that enables <br/> easy creation of applications for the Internet of Things</p>
<ul class="list-inline">
<li>
<a href="#" class="btn btn-ban-1">Read More</a>
</li>
<li>
<a href="#" class="btn btn-ban-2">VIEW PROJECTS</a>
</li>
</ul>
</div>
</div>
</div>
-->
</div>
</div>
<div class="banner-shape">
<img src="/img/banner/banner-shape.png" class="img-fluid" width="100%"/>
</div>
<div class="header-bottom">
<div class="container">
<div class="row">
<div class="owl-carousel">
<div class="item">
<img src="/img/banner/banner-shape-merged.jpg" width="100%" alt="1">
<div class="container">
<div class="carousel-content-panel hidden-xs text-left" style="z-index: 0">
<h1>Thingweb</h1>
<p>Thingweb is a runtime and tooling for web technology that enables <br/> easy creation of applications for the Internet of Things</p>
<!-- Note: Button hrefs are hided by banner-shape image -->
<!-- -->
<!--<ul class="list-inline" style="z-index: 100;">
<li>
<a href="/hands-on.html" class="btn btn-ban-1">Hands-on</a>
</li>
<li>
<a href="/news.html" class="btn btn-ban-2">News</a>
</li>
</ul>-->
</div>
</div>
</div>
<!--
<div class="item">
<img src="/img/banner/banner.jpg" width="100%" alt="2">
<div class="container">
<div class="carousel-content-panel hidden-xs text-left">
<h3>Thingweb</h3>
<p>Thingweb is a runtime and tooling for web technology that enables <br/> easy creation of applications for the Internet of Things</p>
<ul class="list-inline">
<li>
<a href="#" class="btn btn-ban-1">Read More</a>
</li>
<li>
<a href="#" class="btn btn-ban-2">VIEW PROJECTS</a>
</li>
</ul>
</div>
</div>
</div>
-->
</div>
</div>
<!--<div class="row" style="">
<div class="banner-shape">
<img src="/img/banner/banner-shape.png" class="img-fluid" width="100%"/>
</div>
</div>-->
</div>
</div>
</header>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion themes/thingweb/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "Thingweb"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
homepage = "http://thingweb.io"
tags = []
features = []
min_version = "0.41"
Expand Down