Skip to content

Commit

Permalink
Merge pull request #1149 from samarsajad/google
Browse files Browse the repository at this point in the history
added google translate element
  • Loading branch information
sunny0625 authored Jun 22, 2024
2 parents d82e045 + 0785868 commit f2fc4c6
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,22 @@ <h5 class="mb-3">See Also</h5>
<li class="nav-item">
<a class="nav-link" href="/Html-files/cart.html">Cart</a>
</li>
<li class ="nav-item">
<div class="wrapper col-12">
<div id="google_element"></div>
<script src="https://translate.google.com/translate_a/element.js?cb=loadGoogleTranslate"></script>
<script>
function loadGoogleTranslate() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_element');
}
</script>
</div>
</li>
</ul>
</div>

<div class="col-6 col-sm-5 col-md-3 col-xl-3">
<h5 class="mb-3">Exclusive Offers</h5>
<ul class="nav flex-column">
Expand All @@ -665,7 +678,7 @@ <h5 class="mb-3">Exclusive Offers</h5>
</li>
</ul>
</div>

<div class="col-6 col-sm-4 col-md-4 col-xl-3">
<h5 class="mb-3">Payment Products</h5>
<ul class="nav flex-column">
Expand All @@ -689,7 +702,8 @@ <h5 class="mb-3">Payment Products</h5>
</li>
</ul>
</div>



<div class="col-6 col-md-3 col-xl-4">
<form id="contactForm" action="https://formsubmit.co/[email protected]" method="POST">
<h3 class="text-center mb-3">Contact Us!</h3>
Expand All @@ -702,9 +716,13 @@ <h3 class="text-center mb-3">Contact Us!</h3>
</div>
</form>
</div>



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

<div class="foot-panel2">
<div class="media-handles pt-3 pb-2">
<h4>Follow Us</h4>
Expand Down

0 comments on commit f2fc4c6

Please sign in to comment.