This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
forked from timloden/calcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
68 lines (53 loc) · 1.52 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package CalCoin
*/
?>
<section class="footer-section">
<div class="row">
<div class="columns">
<footer class="text-center">
<p><img class="footer-logo" src="<?php echo get_stylesheet_directory_uri(); ?>/assets/img/calcoin-full-logo.png"></p>
<p class="footer-links"><a href="/signup">Create Account</a><a href="/login">Login</a></p>
<p class="copyright">© <?php echo date("Y"); ?> DSIA Academy</p>
</footer>
</div>
</div>
</section>
</main>
<?php wp_footer(); ?>
<script src="https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
<script>
//wow.js
new WOW().init();
// smooth scroll
let scroll = new SmoothScroll('a[href*="#"]', {
speed: 1200,
easing: 'easeInOutCubic'
});
// jquery stuff
(function ($) {
$( document ).ready(function() {
$(document).foundation();
var allTabs = $('.what-is-tab');
var allText = $('.what-is-text');
var allImages = $('.what-is-screen');
$('.what-is-tab').click(function() {
$(allTabs).removeClass('is-active');
$(allText).removeClass('is-active');
$(allImages).removeClass('is-active');
$('#' + this.id).addClass('is-active');
$('#' + this.id + '-image').addClass('is-active');
$('#' + this.id + '-text').addClass('is-active');
});
});
})(jQuery);
</script>
</body>
</html>