Skip to content

Commit

Permalink
Added footer view, added gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-reyes committed Jan 24, 2024
1 parent 836d69f commit ff061eb
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
62 changes: 62 additions & 0 deletions theme_academy/views/footer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<template id="custom_footer" inherit_id="website.layout" name="Custom Footer">
<xpath expr="//footer" position="replace">
<footer>
<div class="container py-5 border-top">
<div class="row">
<div class="col-lg-5">
<img class="footer-logo" src="/theme_yourhome/static/src/img/logo.png"/>
<p class="py-3">
Lorem ipsum.</p>

<div class="s_share text-left no_icon_color" data-snippet="s_share" data-name="Social Media">
<h5 class="s_share_title d-none">Follow us</h5>
<a href="/website/social/facebook" class="s_share_facebook" target="_blank">
<i class="fa fa-facebook m-1 rounded-circle border"/>
</a>
<a href="/website/social/twitter" class="s_share_twitter" target="_blank">
<i class="fa fa-twitter m-1 rounded-circle border"/>
</a>
<a href="/website/social/linkedin" class="s_share_linkedin" target="_blank">
<i class="fa fa-linkedin m-1 rounded-circle border"/>
</a>
<a href="/website/social/instagram" class="s_share_instagram" target="_blank">
<i class="fa fa-instagram m-1 rounded-circle border"/>
</a>
</div>
</div>
<div class="col-lg-2">
<h5>Quick Links</h5>
<ul class="list-unstyled">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Legal</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="col-lg-2">
<h5>Top Locations</h5>
<ul class="list-unstyled">
<li><a href="#">Location 1</a></li>
<li><a href="#">Location 2</a></li>
<li><a href="#">Location 3</a></li>
<li><a href="#">Location 4</a></li>
<li><a href="#">Location 5</a></li>
<li><a href="#">Location 6</a></li>
</ul>
</div>
<div class="col-lg-3">
<h5>Newsletter</h5>
<p class="m-0">Contact Us</p>
<div class="h2 m-0"><a href="tel:01234567890">01234567890</a></div>
<p><a href="mailto:[email protected]" class="text-dark">[email protected]</a></p>
</div>
</div>
</div>
</footer>
</xpath>
</template>
</odoo>

0 comments on commit ff061eb

Please sign in to comment.