_includes/footer.html in jekyll-theme-centos-test-1.0.33 vs _includes/footer.html in jekyll-theme-centos-test-1.1.1
- old
+ new
@@ -1,64 +1,36 @@
-{% include hr.html %}
+<footer class="footer mt-auto mt-5 bg-dark small text-white">
-<footer class="bd-footer py-4 py-md-5 mt-5 bg-light">
- <div class="container">
- <div class="row">
- <section class="sponsor">
- <div class="sponsor__message">
- <h6><i class="fas fa-hand-holding-heart"></i> Sponsors</h6>
- <p>CentOS would not be possible without the support of our sponsors. We would like to thank the following product/service for being a CentOS sponsor. If you value our work, please consider <a href="/sponsors">becoming a sponsor</a>!</p>
- </div>
-
- <div class="sponsor__logo">
- <div class="carousel">
- <div class="card">
- <div class="carousel slide carousel-fade" data-ride="carousel" id="carousel-1">
- <div class="carousel-inner" role="listbox">
- {% for sponsor in site.sponsors %}
- <div class="carousel-item {{ sponsor.status }}"><a href="{{ sponsor.address }}" rel="nofollow"><img class="img-fluid" src="{{ sponsor.logo }}"></a></div>
- {% endfor %}
- </div>
- </div>
- </div>
- </div>
- </div>
- </section>
- </div>
- <div class="row">
-
- {% if site.data.centos.footer.columns %}
- {% for column in site.data.centos.footer.columns %}
- {% assign links = site.data.centos.navbar | where: "name", column %}
- {% for section in links %}
- <section class="links">
- <h6><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
- <ul>
- {% for item in section.menu %}
- <li><a href="{{ item.link }}">{{ item.name }}</a></li>
- {% endfor %}
- </ul>
- </section>
+<div class="container">
+ <div class="row justify-content-between mt-4 pt-4">
+ <div class="col-lg-3 mb-5">
+ <a href="{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.title }}"><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
+ <p class="my-3">{{ site.description }}</p>
+ <ul class="list-unstyled d-flex">
+ {% for item in site.data.centos.footer.social %}
+ <li class="me-4 lead"><a href="{{ item.link }}" role="button" aria-label="{{ item.name }}"><i class="{{ item.icon }}"></i></a></li>
{% endfor %}
- {% endfor %}
- {% endif %}
+ </ul>
+ </div>
- <section class="project">
- <h4>{{ site.title }}</h4>
- <p class="lead">{{ site.description }}</p>
- <div class="lead social">
- {% for item in site.data.centos.footer.social %}
- <a href="{{ item.link }}" class="btn btn-link" role="button" aria-label="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
- {% endfor %}
- </div>
- </section>
-
- </div>
-
- <div class="row">
- <section class="copyright">
- <p>Copyright © {{ site.time | date: "%Y" }} {{ site.data.centos.footer.copyright.author }} {% for item in site.data.centos.footer.copyright.legals %} | <a href="{{ item.link }}">{{ item.text }}</a>{% endfor %}</p>
- </section>
- </div>
+ {% if site.data.centos.footer.columns %}
+ {% for column in site.data.centos.footer.columns %}
+ {% assign links = site.data.centos.navbar | where: "name", column %}
+ {% for section in links %}
+ <div class="col-sm-12 col-lg-3 mb-3">
+ <h6 class="text-uppercase fw-bold">{{ section.name }}</h6>
+ <ul class="nav flex-column">
+ {% for item in section.menu %}
+ <li class="nav-item my-1"><a href="{{ item.link }}" class="nav-link p-0">{{ item.name }}</a></li>
+ {% endfor %}
+ </ul>
</div>
+ {% endfor %}
+ {% endfor %}
+ {% endif %}
+ </div>
+
+ <div class="row">
+ <div class="col">Copyright © {{ site.time | date: "%Y" }} {{ site.data.centos.footer.copyright.author }} {% for item in site.data.centos.footer.copyright.legals %} | <a href="{{ item.link }}" class="text-decoration-none">{{ item.text }}</a>{% endfor %}</p></div>
+ </div>
</footer>