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

remove block code footer and contact #192

Merged
merged 2 commits into from
May 22, 2024
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
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>
160 changes: 2 additions & 158 deletions source/_layouts/main.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,164 +27,8 @@
</head>

<body>
@include('_layouts.header')
@yield('body')
<!--==========================
Contact Section
============================-->
<section id="contact">
<div class="container">
<div class="section-header">
<h3>Contato</h3>
</div>
<div class="row wow fadeInUp">
<div class="col-lg-12">
<div class="row">
<div class="col-md-6 info">
<i class="ion-ios-email-outline"></i>
<p>[email protected]</p>
</div>
<div class="col-md-6 info" style="text-align: right;">
<i class="ion-ios-telephone-outline"></i>
<p>+55(21)2042-2073</p>
</div>
</div>
<div class="form">
<iframe id="form-contato" src="https://ls.librecode.coop/?r=survey/index&sid=467949&newtest=Y" style="width: 100%;height:460px;border: 0;overflow:hidden;" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
</section><!-- #contact -->
<!--==========================
Footer
============================-->
<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><!-- #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>
@include('_layouts.footer')
</body>
</html>
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