-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer-kontakt.php
106 lines (81 loc) · 2.71 KB
/
footer-kontakt.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
</section>
<footer>
<!-- sociale medier footer start -->
<div class="container-fluid">
<div class="row SoMe_footer">
<div class="col align-self-center">
<?php if( have_rows('footer_some', 'option') ): ?>
<ul>
<?php while( have_rows('footer_some', 'option') ): the_row();
// vars
$footsomeimage = get_sub_field('footer_some_icon', 'option');
$footsomelink = get_sub_field('footer_some_url', 'option');
?>
<li class="footer_some_icon">
<?php if( $footsomelink ): ?>
<a href="<?php echo $footsomelink; ?>" target="_blank">
<?php endif; ?>
<img src="<?php echo $footsomeimage['url']; ?>" alt="<?php echo $footsomeimage['alt'] ?>" />
<?php if( $footsomelink ): ?>
</a>
<?php endif; ?>
</li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</div>
</div>
</div>
<!-- sociale medier footer slut -->
<!-- kontakt information footer start -->
<div class="container-fluid contact_footer">
<h3><a href="mailto:<?php the_field('footer_mail', 'option'); ?>" class="footer_mail"><?php the_field('footer_mail', 'option'); ?></a></h3>
<h3><a href="tel:<?php the_field('phone_number', 'option'); ?>" class="footer_mail"><?php the_field('phone_number', 'option'); ?></a></h3>
<a target="_blank" href="<?php the_field('google_maps_link', 'option'); ?>" class="footer_address"><?php the_field('footer_address', 'option'); ?></a>
</div>
<!-- kontakt information footer slut -->
<!-- aps start -->
<div class="container-fluid">
<div class="row justify-content-center cvr">
<div class="align-self-center">Change ApS │ CVR: 37197351</div>
</div>
</div>
<!-- aps slut -->
</footer>
<script>
/*$(document).ready(function() {
$('.whitebg .logoimg').attr('src', '<?php echo get_bloginfo('template_directory'); ?>/images/logo.svg');
});*/
var owl = $('.contact_carousel');
owl.owlCarousel({
items: 1,
margin: 100,
padding: 0,
mouseDrag: false,
dots: false,
nav: false,
loop: false,
autoplay: true,
autoplayTimeout: 10000,
navText: ["<img src='<?php echo get_template_directory_uri() ?>/images/arrow_left.svg'>","<img src='<?php echo get_template_directory_uri() ?>/images/arrow_right.svg'>"],
responsive:{
993: {
items: 1,
autoplay: true,
},
769: {
nav: false,
autoplay: true,
},
320: {
autoplay: true,
nav: false,
items: 1,
},
}
})
ScrollReveal().reveal('.SoMe_footer', { distance: '250px', easing: 'ease-in-out', duration: 700 });
ScrollReveal().reveal('.contact_footer', { distance: '250px', easing: 'ease-in-out', duration: 700 });
</script>
</body>
</html>