Skip to content

Commit

Permalink
create header and footer file
Browse files Browse the repository at this point in the history
Signed-off-by: Crisciany Souza <[email protected]>
  • Loading branch information
Any97Cris committed May 22, 2024
1 parent 753b0a4 commit 3f8e0c6
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 22 deletions.
125 changes: 125 additions & 0 deletions source/_layouts/footer.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<footer id="footer">
<div class="footer-top">
<div class="container">
<div class="row">

<div>
<a href="https://www.somos.coop.br/" target="_blank">
<img
src="../assets/images/somoscoop-horizontal-light.png"
alt="somos coop logo imagem"
width="220" height="200"
/>
</a>
</div>

<div>
<div class="social-links">
<a href="https://t.me/LibreCodeCoop" class="telegram" target=“_blank”><i class="fa fa-telegram"></i></a>
<a href="https://www.facebook.com/librecodecoop/" class="facebook" target=“_blank”><i class="fa fa-facebook"></i></a>
<a href="https://www.instagram.com/librecodecoop/" class="instagram" target=“_blank”><i class="fa fa-instagram"></i></a>
<a href="https://github.com/librecodecoop" class="github" target=“_blank”><i class="fa fa-github"></i></a>
<a href="https://www.linkedin.com/company/librecode/" class="linkedin" target=“_blank”><i class="fa fa-linkedin"></i></a>
</div>
</div>

</div>
<div class="item">
<div>
<div class="copyright">
&copy; Copyright <strong>LibreCode</strong>. Todos os direitos reservados
</div>
<div class="credits">
<!--
All the links in the footer should remain intact.
You can delete the links only if you purchased the pro version.
Licensing information: https://bootstrapmade.com/license/
Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/buy/?theme=NewBiz
-->
Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
</div>
</div>

</div>
</div>
</div>
</footer>

<!-- <a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a> -->
<!-- Uncomment below i you want to use a preloader -->
<!-- <div id="preloader"></div> -->

<!-- JavaScript Libraries -->
<script src="{{ mix('js/main.js', 'assets/build') }}" type="text/javascript"></script>
<!-- Contact Form JavaScript File -->
<!-- <script src="contactform/contactform.js"></script>-->
<script src="https://unpkg.com/[email protected]/dist/ionicons.js"></script>
@yield('footer_scripts')
@if ($page->production)
<script type="text/javascript">
(function(w, d, s, u) {
w.RocketChat = function(c) { w.RocketChat._.push(c) }; w.RocketChat._ = []; w.RocketChat.url = u;
var h = d.getElementsByTagName(s)[0], j = d.createElement(s);
j.async = true; j.src = 'https://chat.librecode.coop/livechat/rocketchat-livechat.min.js?_=201903270000';
h.parentNode.insertBefore(j, h);
})(window, document, 'script', 'https://chat.librecode.coop/livechat');
</script>
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.librecode.coop/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript>
<img src="https://matomo.librecode.coop/matomo.php?idsite=2&amp;rec=1&amp;action_name={{ $page->getUrl() }}" style="border:0" alt="" />
</noscript>
@endif
<script>
var lightbox = GLightbox();
lightbox.on('open', (target) => {
console.log('lightbox opened');
});
var lightboxDescription = GLightbox({
selector: '.glightbox2'
});
var lightboxVideo = GLightbox({
selector: '.glightbox3'
});
lightboxVideo.on('slide_changed', ({ prev, current }) => {
console.log('Prev slide', prev);
console.log('Current slide', current);
const { slideIndex, slideNode, slideConfig, player } = current;
if (player) {
if (!player.ready) {
// If player is not ready
player.on('ready', (event) => {
// Do something when video is ready
});
}
player.on('play', (event) => {
console.log('Started play');
});
player.on('volumechange', (event) => {
console.log('Volume change');
});
player.on('ended', (event) => {
console.log('Video ended');
});
}
});
var lightboxInlineIframe = GLightbox({
selector: '.glightbox4'
});
</script>
16 changes: 16 additions & 0 deletions source/_layouts/header.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<header id="header" class="fixed-top">
<div class="container">
<div class="logo float-left">
<a href="#intro" class="scrollto"><img src="{{ $page->baseUrl }}assets/images/logo.png" alt="" class="img-fluid"></a>
</div>
<nav class="main-nav float-right d-none d-lg-block">
<ul>
<li><a href="#about">Quem somos</a></li>
<li><a href="#why-us">Soluções</a></li>
<li><a href="#clients">Clientes</a></li>
<li><a href="#apoie">Apoie</a></li>
<li><a href="#contact">Contato</a></li>
</ul>
</nav>
</div>
</header>
22 changes: 0 additions & 22 deletions source/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,6 @@

@section('body')

<!--==========================
Header
============================-->
<header id="header" class="fixed-top">
<div class="container">
<div class="logo float-left">
<a href="#intro" class="scrollto"><img src="{{ $page->baseUrl }}assets/images/logo.png" alt="" class="img-fluid"></a>
</div>
<nav class="main-nav float-right d-none d-lg-block">
<ul>
<li><a href="#about">Quem somos</a></li>
<li><a href="#why-us">Soluções</a></li>
<li><a href="#clients">Clientes</a></li>
<li><a href="#apoie">Apoie</a></li>
<li><a href="#contact">Contato</a></li>
</ul>
</nav><!-- .main-nav -->
</div>
</header><!-- #header -->

<!--==========================
Intro Section
============================-->
Expand Down Expand Up @@ -212,5 +192,3 @@
</section><!-- #intro -->
</main>
@endsection
@section('footer_scripts')
@endsection

0 comments on commit 3f8e0c6

Please sign in to comment.