Skip to content

Commit

Permalink
First commit 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nestordedios committed May 9, 2016
0 parents commit f06e31d
Show file tree
Hide file tree
Showing 41 changed files with 2,966 additions and 0 deletions.
63 changes: 63 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Solid State by HTML5UP

![Preview](screenshots/screenshot7.png)

### Introduction

This is Ion theme designed by TEMPLATED and adapted for Bolt.

### Configuration

There are three different options to set up the view for one record using Ion theme:

- With no sidebar
- With a sidebar on the left
- With a sidebar on the right

To set up one of those options, modify your `config.yml` file by choosing one of the templates for the record_template option:

`record_template: record.twig`
`record_template: record-sidebar-left.twig`
`record_template: record-sidebar-right.twig `

Don't forget to clear yor cache every time you make changes.

Check the screenshots folder to discover more of this theme.
44 changes: 44 additions & 0 deletions _footer.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<footer id="footer">
<div class="container">
<div class="row double">
<div class="6u">
<div class="row collapse-at-2">
<div class="6u">
<h3>Accumsan</h3>
<ul class="alt">
<li><a href="#">Nascetur nunc varius</a></li>
<li><a href="#">Vis faucibus sed tempor</a></li>
<li><a href="#">Massa amet lobortis vel</a></li>
<li><a href="#">Nascetur nunc varius</a></li>
</ul>
</div>
<div class="6u">
<h3>Faucibus</h3>
<ul class="alt">
<li><a href="#">Nascetur nunc varius</a></li>
<li><a href="#">Vis faucibus sed tempor</a></li>
<li><a href="#">Massa amet lobortis vel</a></li>
<li><a href="#">Nascetur nunc varius</a></li>
</ul>
</div>
</div>
</div>
<div class="6u">
<h2>Aliquam Interdum</h2>
<p>Blandit nunc tempor lobortis nunc non. Mi accumsan. Justo aliquet massa adipiscing cubilia eu accumsan id. Arcu accumsan faucibus vis ultricies adipiscing ornare ut. Mi accumsan justo aliquet.</p>
<ul class="icons">
<li><a href="#" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fa-linkedin"><span class="label">LinkedIn</span></a></li>
<li><a href="#" class="icon fa-pinterest"><span class="label">Pinterest</span></a></li>
</ul>
</div>
</div>
<ul class="copyright">
<li>&copy; Untitled. All rights reserved.</li>
<li>Design: <a href="http://templated.co">TEMPLATED</a></li>
<li>Images: <a href="http://unsplash.com">Unsplash</a></li>
</ul>
</div>
</footer>
18 changes: 18 additions & 0 deletions _menu.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{% for item in menu %}

<li {% if item.submenu is defined %}class="has-dropdown"{% endif %}>
<a href="{{ item.link }}">{{ item.label }}</a>

{% if item.submenu is defined %}

<ul class="dropdown">
{% for submenu in item.submenu %}
<li><a href="{{ submenu.link }}">{{ submenu.label }}</a></li>
{% endfor %}
</ul>

{% endif %}

</li>

{% endfor %}
55 changes: 55 additions & 0 deletions _pagination.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% set link = pager.makelink() %}

{% if pager.totalpages > 1 %}
<style>
.pager li{
display: inline;
}
.pagination .buttons {
min-width: initial;
}
.pagination .active .button {
border-color: #82b440;
background-color: #82b440;
color: white;
}
.pagination li a {
margin-bottom: 0.5em;
}
</style>
</br>
<ul class="pagination buttons">
{# 'first' and 'prev' #}
{% if pager.current > 1 and class!="narrow" %}
<li><a class="button" href="{{link}}{{pager.current-1}}">&lsaquo; </a></li>
{% endif %}
{% if pager.current > surr+1 %}
<li><a class="button" href="{{link}}{{1}}">1</a></li>
{% endif %}

{# start with '..' if there are more than surr+1 before currentpage.. #}
{% if pager.current > surr+2 %}
<li class="disabled">...</li>
{% endif %}

{% for i in max(1, pager.current-surr)..min(pager.current+surr, pager.totalpages) %}
<li {% if i==pager.current %}class="current active"{%endif%}><a class="button" href="{{link}}{{i}}">{{i}}</a></li>
{% endfor %}

{# end with '..' if there are more than surr+1 after currentpage.. #}
{% if pager.current < (pager.totalpages - surr - 1) %}
<li class="disabled">...</li>
{% endif %}

{# 'next' and 'last' #}
{% if pager.current < pager.totalpages-surr %}
<li><a class="button" href="{{link}}{{pager.totalpages}}">{{pager.totalpages}}</a></li>
{% endif %}
{% if pager.current < pager.totalpages and class!="narrow" %}
<li><a class="button" href="{{link}}{{pager.current+1}}">&rsaquo;</a></li>
{% endif %}
</ul>

{% endif %}
31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "nestordedios/bolt-theme-ion",
"description": "Ion - A crisp, modern responsive template built with a business-y slant.",
"type": "bolt-theme",
"keywords": ["theme", "ion", "responsive", "awesome", "template", "business", "modern"],
"require": {
"bolt/bolt": ">=2.0.0,<3.0.0"
},
"license": "CCA (Creative Commons Attribution)",
"authors": [
{
"name": "Nestor de Dios Fernandez",
"email": "[email protected]"
},
{
"name": "TEMPLATED",
"homepage": "www.templated.co"
}
],
"extra": {
"bolt-screenshots": [
"screenshots/screenshot1.png",
"screenshots/screenshot2.png",
"screenshots/screenshot3.png",
"screenshots/screenshot4.png",
"screenshots/screenshot5.png",
"screenshots/screenshot6.png",
"screenshots/screenshot7.png"
]
}
}
4 changes: 4 additions & 0 deletions css/font-awesome.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit f06e31d

Please sign in to comment.